101 Techniques for a Powerful CMS using WordPress | Noupe
Popularity Report
![]() |
|||
![]() |
|||
![]() |
|||
![]() |
|||
![]() |
|||
![]() |
URL Tag Cloud
Bookmark History
Saved by 61 people (-1 private), first by anonymouse user on 2009-05-06
Public Sticky notes
Highlighted by tylerwall
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.
- <ul id="nav">
- <?php wp_list_pages('title_li=&depth=1'); ?>
- </ul>
- <?php if($post->post_parent)
- $children = wp_list_pages("title_li=&child_of=".$post->post_parent."&echo=0"); else
- $children = wp_list_pages("title_li=&child_of=".$post->ID."&echo=0");
- if ($children) { ?>
- <ul id="subnav">
- <?php echo $children; ?>
- </ul>
- <?php } else { ?>
- <?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




Public Comment