Skip to main content

101 Techniques for a Powerful CMS using WordPress | Noupe

Popularity Report

Total Popularity Score: 0

Loading...
Loading...
Loading...
Loading...
Loading...
Loading...

Rank

Bookmark History

Saved by 61 people (-1 private), first by anonymouse user on 2009-05-06


Public Sticky notes

This is the first article in the four-part series, “The Comprehensive Guide for a Powerful CMS using WordPress“. Throughout this article, we’ll be focus on many WordPress Theme hacks, ideas, tips and useful tutorials you need to have ready in hand when developing WordPress websites.

Highlighted by techmovingstones

Creating Two-Tiered Conditional Navigation in Wordpress »

A common navigational scheme, parent pages on top and child pages (if they exist) on bottom:

How To »

Darren Hoyt goes through a nice solution to help us: 1) query the page, 2) determine if there are child pages, and 3) properly highlight both the .current_page_parent and .current_page_item links.

  1. <ul id="nav">  
  2. <?php wp_list_pages('title_li=&depth=1'); ?>  
  3. </ul>  
  4.   
  5. <?php if($post->post_parent)  
  6. $children = wp_list_pages("title_li=&child_of=".$post->post_parent."&echo=0"); else  
  7. $children = wp_list_pages("title_li=&child_of=".$post->ID."&echo=0");  
  8. if ($children) { ?>  
  9. <ul id="subnav">  
  10. <?php echo $children; ?>  
  11. </ul>  
  12. <?php } else { ?>  
  13. <?php } ?>  

And then he show us how to use CSS to make sure the :active and :hover states display correctly whether or not subpages exist — if they do, the primary nav uses current_page_parent, if they don’t, it resorts to simply current_page_item.

Highlighted by sabjee

7. Create a sitemap for the whole website

Google XML Sitemaps- This plugin will create a Google sitemaps compliant XML-Sitemap of your WordPress blog. It supports all of the WordPress generated pages as well as custom ones. Everytime you edit or create a post, your sitemap is updated and all major search engines that support the sitemap protocol, like ASK.com, Google, MSN Search and YAHOO, are notified about the update.

Highlighted by sabjee

10. Creating Custom Content Type with Flutter

Flutter is made precisely for CMS-making, allows you to create custom Write Panel (Posts, Pages, and Theme Options). This, basically, is a custom content type in which you can add your own fields. So, if a WordPress installation gives you two different content types (Post and Page), Flutter enables you to add more Write Panels to your likings. You can create any type of field (File Uploads, Audio, Video, Checkboxes, Dropdowns) to make as simple as possible for your client or yourself to enter content.

Highlighted by sabjee