WordPress: Get page

There are a few WordPress functions to get specific page. By page id get_page() – Personally this is not my preference as you need to keep track of pages with its …

WordPress: Get attachments

As of WordPress V3.3 there’s still no direct WordPress function to retrieve attachments of a given page or post. There are functions to retrieve attachment related info such as URL and …

Symfony: Page Navigation Links

Pagination helper in the code snippets section of Symfony’s website. The code is modified to include <ul> and <li> tags and to correctly parse uri when passed as routing rule: