SDAC Blog

Check out our blog for WordPress updates, WordPress plugin reviews, and general web development hints.

hr
hr

I have been working with a client recently that was using the My Page Order plugin for the WordPress CMS I set up. They had several "draft" pages they used for templates and did not want them to show up in the My Page Order Admin interface. After looking at the SQL code, I added in a piece that would only show published (live) pages.
To make the same change in your code, open up the plugin file (mypageorder.php), go to line 47 and change the following line:

PHP:
$results=$wpdb->get_results("SELECT * FROM $wpdb->posts WHERE post_parent = $parentID and post_type = 'page' ORDER BY menu_order ASC");

to:

PHP:
$results=$wpdb->get_results("SELECT * FROM $wpdb->posts WHERE post_parent = $parentID and post_type = 'page' and post_status='publish' ORDER BY menu_order ASC");

Now, only the pages you really want to order will appear in the menu.

separate
hr
hr

url: http://valjonesmd.com

Val Jones MD

SDAC Inc provided:

  • XHTML/CSS programming
  • CMS (WordPress) configuration
  • Customization of existing WordPress theme
  • WordPress Widgets
  • Third Party Plugin integration
  • Custom PHP programming

technologies used:

XHTML, CSS, WordPress, PHP

user interface:

This web site was based on an existing WordPress theme. I made changes according to my client as well as created a CMS infrastructure using WordPress.

lessons learned:

I learned that it is sometimes easier to write a theme from scratch than to work behind someone else, but I had never used so many columns in a theme and it was neat to use WordPress widgets for all the sidebars.

random thoughts:

Using WordPress widgets is another great way to empower users. By simply dragging and dropping content in the Sidebar Widget admin interface, users can arrange, add, and remove content to their sidebars with ease.

separate
hr
hr

If you ever want to change your permalink structure in WordPress, but still want to have all your old URLs to work, download Permalink Redirect Plugin. This plugin will make sure that all your posts will get redirected to the new permalink structure you moved to without any hassle whatsoever. Not only will your readers be thankful, your SEO rank will not suffer with any URL reorganization.

separate
hr
hr

WordPress 2.0.10 and 2.1.3 have officially been released. The new versions of WordPress has several security fixes for publicly known issues. Please update your WordPress installations immediately.
Download the latest versions of WordPress: WordPress 2.0.10 and WordPress 2.1.3

separate