Wordpress - How To Exclude Some Pages - list_pages

If you want to exclude some pages from displaying, use the function 'wp_list_pages". The PHP files to call this function can vary depending on your template, but usually they are invoked either in 'header.php' or 'sidebar.php' ('rsidebar.php or 'lsidebar.php'). Just specify what pages to include or exclude as in the following examples: wp_list_pages('title_li=Pages&include=2,4,6,8' ); or wp_list_pages('title_li=Pages&exclude=2,4,6,8' ); How to find the page ID Log in to your WordPress admin interface and go to Manage -> Pages. Click on the page that you want to include or exclude. In the URL bar of the browser, the last part is the page ID. http://www.mysite.com/wp-admin/page.php?action=edit&post=111

Add ‘Digg’ Button to Your WordPress Blog

Digg.com is a popular social news / bookmarking websites where people discover and share new content on the Internet. Users submit news, blog postings, web pages, images, and videos to share with others. Adding the Digg button will increase the opportunities to be "dugg", which will help bringing more traffic to your blog. There are some decent WordPress plug-ins to add the "Digg it" button to your blog posts and pages. Some of them come with detailed installation instructions as well. I installed one of the most popular ones, ...

WordPress Spam - Plugins to Fight Comment Spams

Soon after I launched this blog, I started to receive heavy amount of spam comments, mostly from some Russian sites. It's not only that I can't read their comments in Russian, but some of their comments are extremely long. I think this overloads the database even though its impact may be minor. Luckily, there are many plug-ins to fight spams for your WordPress blogs. Here are a couple of popular and effective solutions. 1. Akismet is a great anti-spam plug-in that comes installed by default. You just need to turn it on by clicking 'Activate'.* With Akismet, you can set comment blacklist.** ...

How to Move WordPress

Moving WordPress is fairly easy, but it needs careful attention. The key point of WordPress directory change is to modify URL settings through the admin page and/or to change DB user information through "wp-config.php". In most cases, re-installation is not necessary. Moving WordPress Case by Case 1. Move WordPress to a new directory within the same website. 2. Move WordPress to an existing directory (including the root directory) within the same website. 3. Move WordPress to a new server with the same domain and the same directory. 4. Move WordPress to a new server with a different domain or a different directory. 5. Use ...

WordPress Image Upload Error

It seems many WordPress users run into an image upload error with the media uploader. The error message are "An error occurred in the upload. Please try again later" or "HTTP error". It seems that this error occurs because of permission settings in ".htaccess" file of the top WP directory. There are some plug-ins available for this problem, but if you feel comfortable with editing .htaccess file, please go ahead and add these lines: <IfModule mod_security.c> <Files upload.php> SecFilterEngine Off SecFilterScanPOST Off </Files> </IfModule> Editing .htaccess file should be pretty simple when you have an access to FTP.