Advanced firewall protection for WordPress! Get BBQ Pro for $15 »

Reversing WordPress Page Navigation Order

This article explains how to reverse the order of WordPress page navigation links. To reverse the default (backward) order of page navigation in WordPress, open the file template-functions-links.php (in WP 2.0) or link-template.php (in WP 2.1/2.2) and scroll down to the last function, posts_nav_link() 1. Next, find the last if statement and switch the order of the following two lines: previous_posts_link($prelabel); [ ignore this line ] next_posts_link($nxtlabel, $max_page); Next, within the first line of the same function (beginning with function posts_nav_link), switch the order of the variables $prelabel=’« Previous Page’ and $nxtlabel=’Next Page »’. Finally, within the loop, make sure […] Read more »

Permalink Enlightenment

I recently enabled the permalinks feature for a fresh WordPress 2.0.2 upgrade. The process required several hours of research and approximately 90 minutes to fully implement. This brief article summarizes the process and applies to at least the following setup: WordPress 2.0.2 Apache Server with mod_rewrite enabled The ability to access/modify your .htaccess file(s) You have decided to use the /%year%/%monthnum%/%day%/%postname%/ permalink format (actually, any format will work; simply swap your preferred format for the one mentioned here) You may also be using any of the plugins listed in the dungeon (actually, most plugins are compatible — only a few […] Read more »

WordPress RDF Source Makeover

Beautiful Source-Code Output, Part 1: Whip your WordPress RDF Code into Submission Update: This article applies specifically to WordPress 2.0.2, but may be generalized to any WP 2.0+ version. I love looking at beautiful source-code output. However WordPress tends to spit code out in random chunks, often leaving spaces, line breaks, and tabs littered throughout the source output. This messes things up. Lists don’t look like lists and logically written code often appears scattered along the page carelessly. Often, this is the result of poorly written PHP, which can be manipulated to write beautifully aligned code that looks as good […] Read more »

WordPress Notes Plus

Welcome to Perishable Press! This article covers many different aspects of WordPress functionality, including customizing quicktags, deleting the cache, numbering comments & posts, changing password text, and displaying archive menus. Note that this article was written for previous versions (i.e., less than 2.0) of WordPress. Discrepancies may exist between the code presented in this post and that of more recent versions of WordPress. Nonetheless, this information is presented for references purposes with the hope that it will prove useful for those working with everyone’s favorite blogging platform, WordPress! Customize WordPress Quicktags The more Quicktag: The <!–more–> Quicktag breaks a post […] Read more »

PHP Notes Plus

Here are some basic PHP expressions and statements for ez reference.. Common Statements: “\n” = new line “\t” = tab “\r” = carriage return “\$” = dollar sign “\”” = double quote Example usage: “\n\t<category>$category->cat_name</category>” echo ‘<!– Category LiveBookmarks Plugin by Monzilla Media ( ) –>’ . “\n”; echo “\n\t<!– Pink Floyd ” . ” Meddle –>\n\n”; echo Multiple Lines of Code echo <<<END … line of code … … line of code … … line of code … END; Example usage (this plugin (404 link removed 2013/10/15) code effectively inserts the given CSS rule into the head region […] Read more »

Latest Tweets New version of BBQ Pro WordPress Firewall now available, now featuring Strict Mode:… #security