Fresh News - Blog Design, Wordpress, Blogger, and Web Development

Magznetwork Fresh News aggregate our favorite blogs to watch our favorite topics about blog design, wordpress themes, and blogger templates.

Effective Maintenance Pages: Examples and Best Practices

Advertisements Every website has to perform maintenance at some point or another.

WordPress page template to redirect to first child page

To achieve this recipe, you have to create a page template. Create a new file and paste the following code in it: Save the file under the name redirect.php and upload it to the wp-content/themes/your-theme directory of your WordPress install.

How to: Get parent page/post title

To achieve this recipe, simply edit your page.php file and paste the following code where you’d like your parent page title to be displayed: That’s all. Also, this code should be some inspiration for creating breadcrumbs

How to: Include external pages in WordPress navigation

The solution to this problem is fairly simple. As the wp_list_pages() function returns only … elements, we just have to add static links to our external pages, just as shown below: Forum Shop That’s all.

How to use a custom blurb when listing pages

The first thing to do is to paste the following code where you want your pages to be listed. It can be your sidebar, or a page template, for exemple. Once you saved your file, write some pages and add the custom_blurb custom field.