Read our latest blog posts, learn something new, find answers, and stay up to date.

My Page Order WordPress Plugin Modifcation

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:

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


$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.

SDAC Recommends: WP Plugin: Permalink Redirect Plugin

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.

WordPress Update: 2.0.10 and 2.1.3

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

SDAC Recommends: WordPress Plugin: My Page Order

If you need to display pages dynamically within WordPress, and want to order them (and their sub pages), check out the My Page Order WordPress plugin. This plugins allows the WordPress administrator to manage the page order from within the WordPress admin area without hard coding anything in your template.

bbPress and WordPress Integration

Here is a quick guide if you are looking to integrate WordPress and bbPress so that your WordPress users can log into bbPress and your bbPress users can log into WordPress.

  1. Download/install/configure WordPress. You will need to upload the WordPress files to your web site directory and create a WordPress database. The installation process for WordPress is painless.
  2. Download/install/configure bbPress. For the easiest and painless experience, upload the bbPress files into the same directory your WordPress files are in (most likely your web root folder).
  3. Do not create a bbPress database, rather define use your WordPress database settings in the bbPress config.php file. At the bottom of the config.php file for bbPress there are preferences that you will need to set so that bbPress knows to share cookies and authentication. This is documented in the config.php file so just follow directions.

That is it. Once you have both bbPress and WordPress set up and configured, your users can then enjoy having accounts to log into both systems using the same user name and password.

SDAC Recommends: WordPress Plugin: WordPress Reports

After you put all your time and effort into creating your WordPress blog or WordPress web site, it is important to keep an eye on where your visitors are entering and exiting your site, what they are viewing (and not viewing), where they are being referred from, and how many people are reading your RSS feeds. Fortunately – if you sign up for the free Google Analytics and/or Feedburner services, you can easily view your site’s statistics using the WordPress Reports within your WordPress Admin. Definitely check this plugin out if you are at all serious about increasing your web site traffic.

Terms of Use Javascript

Need: A script that a client could easily call within a URL to force the users to agree to their terms of use before downloading a file.

Solution:Either put the following code in the header, or in a .js file to include:

function terms(){
	question = confirm("Terms of Use text here")
 if (question !="0"){

Then, call this code in your HTML code by using:

<a href="" />Download Link</a>