Posts Tagged ‘wordpress help’

Display More Than 15 Posts with WordPress Recent Posts Widget

Monday, December 13th, 2010

The recent posts widget that comes default with every installation of WordPress allows you to display the hyper-linked titles of the most recent posts from a widget. Although (in widget configuration), you can set any number of posts to display, only a maximum of 15 posts can be displayed.

This can be a real pain for WordPress users who want to use the recent posts widget to display links to all of their posts in a widgetized area.

To eliminate the cap on posts to display, you’ll need to remove two lines of code in default-widgets.php, contained in the wp-includes folder.

At lines 542 and 543, simply remove:


else >if ( $number > 15 )
$number = 15;

If you don’t have code editing software that displays line numbers, simply search for ’15′ in default-widgets.php to find the above lines of code.

Once that’s done, you’ll be able to set the recent posts widget to display any number of posts.

Moving WordPress to a New Server

Friday, November 26th, 2010

Moving your WordPress installation to another server is just as easy as installing it the first time. There are at least three ways you can do it:

  1. Install a new version of WordPress (a fresh install) along with your custom themes and plugins on the new server.  Then import the old database from an XML file using the internal build-in import / export tool.
  2. Download your old WordPress directory (which includes core files, themes, plugins, etc) and then upload it to your new directory via FTP. Then, on your old server, make a backup of your MySQL database with phpMyAdmin. On your new server, import the MySQL database with phpMyAdmin. You will need to edit your config.php file (in the root) to reflect any changes in database name and login info.
  3. Any combination of the previous two methods.

(more…)

WordPress Custom Post Taxonomies

Thursday, June 24th, 2010

Custom post taxonomies in WordPress are little different from post tags and categories. To borrow the words found in a reply to an inquiry email I sent to WordPress lead developer Mark Jaquith, “taxonomies are used to tie groups of posts (or any content type) together, and come with a URL structure to access them.”

(more…)

Installing Custom Taxonomies in WordPress Themes

Saturday, June 19th, 2010

This guide is meant for individuals who want to learn what custom taxonomies are in WordPress, how to install them and how to display them in WordPress themes. You do not need to be familiar with the WordPress core coding or know the nitty-gritties of PHP programming to understand this guide.
(more…)

Writing Image Paths in WordPress Themes the Right Way

Thursday, June 17th, 2010

wordpress Writing Image Paths in WordPress Themes the Right WayWordPress themes with hard-coded image paths are nightmares in the making. If the location of the theme files are moved or if any of the folder names are changed, the theme will no longer work. That is why the WordPress development team took the time to create a very useful function that finds the location of theme files.

(more…)

WordPress Threaded Comments – How to Install Them on Your Theme [A Guide for Dummies]

Wednesday, June 9th, 2010

So you’ve got an archaic WordPress theme and you would like to install threaded comments on it?

You’ve come to the right place.

Here’s what you will need to complete this guide:

  • Absolutely no knowledge of HTML/CSS or PHP
  • An IQ over 55 (borderline retarded)
  • A computer and an old WordPress theme that needs comments threaded

Let’s get started.
(more…)

Submitting a Theme to the WordPress Free Theme Directory [Tips and How-to]

Friday, June 4th, 2010

wordpress text logo Submitting a Theme to the WordPress Free Theme Directory [Tips and How to]The advantages of having one of your themes featured in the WordPress free theme directory are endless. Not only do you get valuable backlinks from WordPress.org, but you also receive:

  • Backlinks from an enormous amount of domains that use your theme. Be sure to include a link to your website in the footer that says something like “Theme by sitename.com” and most sites will not remove it. The links on the theme are all sitewide and, although they pass off very little PR value (they are at the bottom of every page), they significantly increase the domain diversity factor of total backlinks to your site.
  • Exposure to people that use your theme. People who use your theme will sometimes frequent the theme homepage and end up checking out the rest of your site as well. These people have the potential to become subscribers.
  • Exposure to people that click the link in the footer of sites that your theme is installed on. The links not only provide valuable PR juice (for better SERP) but they also supply a steady flow of traffic from curious visitors.

(more…)

WordPress Gravatars: What They Are and How to Install Them

Wednesday, May 5th, 2010

gravatar WordPress Gravatars: What They Are and How to Install ThemGravatar avatars are small images that represent an email address. Their purpose is to allow for global recognition of commenters and persons on the Internet. Rather than having a different avatar for different sites, people can register an avatar at Gravatar.com and associate it with their own unique email address.

Blog posts in WordPress that have commenting enabled typically require an email address to submit a comment. Once a comment has been submitted with the email field filled in, WordPress sends the email address as a data string to Gravatar.com; if Gravatar.com has an avatar for that email address, the avatar will be used. Often times Gravatar.com does not have an avatar associated with an email address, in which case a default avatar is used.

(more…)

WordPress 2.8 visual editor buttons not displaying

Friday, February 12th, 2010

Sometimes the WordPress 2.8 upgrade does not successfully over-write the latest version of the tinyMCE javascript file located at wp-includes/js/tinymce. Because of this, your visual editor buttons may not appear or may not be working when you go to edit a blog post.

The first thing you want to try is resetting your browser, and logging back in to WordPress.

If that does not work, simply find the ‘tinymce’ file located at wp-includes/js/tinymce in the unzipped folder of your WordPress 2.8 download, and replace it with the file in your blog’s online file directory (wp-includes/jc/tinymce).

When you are finished, your button display on the page that you use to edit a blog post or create a new one should look like this:

wordpress visual editor buttons1 WordPress 2.8 visual editor buttons not displaying