Archive for WordPress

How To Remove Author Details from posts In WordPress Blog

To remove author details from a wordpress post, simply remove the following line of code from the page.php file of your active theme (in the Theme Folder)

WordPress Plugins I love

I am going to keep this short, sweet, and to the point! Here is a list of WordPress plugins I love and highly recommend to anyone using the WordPress CMS web platform.  I will add the links eventually, but if you search for these, you can find them fast.

DOWNLOAD THESE FIRST:

1) wp-db-backup
essential for backing up your wordpress databse.  You may not use it right away and it might sit around collecting dust, but you need it!

2) velvet-blues-update-urls
this is EXTREMELY essential if you ever move your wordpress blog to another hosting provider.  Let me put it this way – I have built a ton of WordPress sites – I move them from host to host, and I KNOW how to change the database info.  This plugin makes database URL changes a cinche – it is an absolute lifesaver.

3) Super-Cache:  If you are hosted on GoDaddy – this will become your best friend.  I am not knocking GoDaddy, but almost every WordPress install on GoDaddy runs slowly.  If you do a reverse IP look-up, it could be that they have a TON of sites on one shared server, but that is just my guess 😉

ESSENTIAL TOOLS TO BUILD  ANY WORDPRESS BLOG SITE

1)All-in-one-seo pack
2) Google-sitemap-generator
3) Google-analytics-for-wordpress or wp-google-analytics
4) kb-robotstxt
5) meta-tag-manager (I turn this off and on to check SEO)
6) multi-keyword-statics (I turn this off and on to check SEO)
7) list-category-posts
8) nextgen-gallery
9) simple-image-widget
10) contact-form-7
11) social-bookmarks
12) widget-logic
13) wp-category-show
14) wp-ecommerce
15) wp-ecommerce-feeds (this one you pay for, but it is worth it if you sell anything)
16) wp-postratings
17) wptouch
18) yet-another-related-posts-plugin
19) breadcrumb-navxt – (may or may not be necessary based on your theme)
20) featured-content-gallery
21) google-maps-advanced
22) sub-pages-extended
23) category-text-widget
24)

SECONDARY TOOLS TO BUILD  ANY WORDPRESS BLOG SITE

1) Business Directory
2) Dropdown-menu-widget
3) facebook-like-button
4) flickr-widget
5) promotion-slider
6) quick-adsense
7) max-banner-ads
8) random-image-widget
9) the-events-calendar
10) twitter-tools
11) wpaudio-mp3-player
12) flexi-pages-widget
13) most-commented
14) popularity-contest
15) really-simple-captcha
16) theme-my-login
17) worpress-navigation-list-plugin-navt
18) wordpress-paypal-shopping-cart
19) wordpress-video-plugin
20) wp-pagenavi
21) heatmap
22) kimili-flash-embed
23) regenerate-thumbnails
24) wp-limit-posts-automatically
25) wordpress-countdown-widget
26) image-banner-widget
27)

Exporting and Importing WordPress Databse

Exporting and Importing WordPress

1. Export Local Database

Login to your local phpMyAdmin, select the database from the dropdown. Click on the Export tab:

  • Under the Export field, make sure all tables are selected
  • Under the Structure field, tick “Add DROP TABLE / DROP VIEW”
  • Tick “Save as File”
  • Then click Go and it will prompt you to download a SQL file

export database

2. Find & Replace All Local URLs

Open the database SQL file with a text editor. Find and replace all local URLs with your domain URL (eg. replace all “http://localhost:8888/mysite” with “http://www.yourdomain.com“).

export database

3. Import The Database

Login to your server cPanel, go to MySQL Databases, create a new database and assign a user. Now go to phpMyAdmin, select the database (the one that was just created) from the dropdown, click on the Import tab, browse the SQL file and click Go.

export database

4. Upload WordPress

Upload the entire WordPress folder to your server.

5. Change The wp-config.php Setting

On your server, open the wp-config.php file. Change the database details to reflect your server settings.

export database

6. Done

Go to your website and everything should work perfect.

WordPress 3.0.1 Image Upload Error


If you have just upgraded to WordPress 3.0, and you are having problems uploading images to your server through the dashborad tool, follow the steps below.

1. Use Filezilla or your FTP client to get the root site structure
2. Open the wp-content folder
3. Find or Create a new directory and name it “uploads” (without the parens) and then change the folder permission (chmod) to be 777 instead of 775
4. Inside the “uploads” directory find or create a new directory and name it “2010″ ( no parens). Chmod this to 777 instead of 775
5. Inside the “2010” directoy, find or create a new directory and name it “08″ (without the parens) and chmod it to 777 instead of 775
6. Now log into your wordpress dashboard
7. Use your media manager to upload images.

Multiple WordPress installations on a single database

This article will show you how to install multiple wordpress instances using a single database. It is always recommended to set up separate databases for each wordpress install you do, but it is possible to run multiple blogs successfully using only one database.

When you install a wordpress blog for the first time, you need to enter your database information in the wp-config.php file. When installing multiple wordpress instances across multiple databases, the information you type into the wp-config.php file will vary for each installation. When using only a single database to handle multiple wordpress installations, you will need to keep the information in the wp-config file exactly the same and change only one line of code in the config file. This line of code will be the database table prefix identifier.

By default, WordPress assigns the table prefix wp_ to its MySQL database tables. This can be found in the wp-config.php file, and it is probably something you have never change before. If you normally set up separate databases for each of your separate WordPress blogs, you have never had to change this. However now that you are going to be using a single database to handle multiple installs, you are going to want to change this prefix data to keep the database organized based on the WordPress instance install. By using more than one prefix, you create unique identifiers for each blog in your database. For example, let’s say you have three blogs to set up on one database. You want to name the blogs MainSite, Store and Photos. You want to substitute the prefix wp_ for each blog’s wp-config.php when doing the install. So the wp-config files would like this:

MainSite blog: $table_prefix = ‘mainsite_’;
Store blog: $table_prefix = ‘store_’;
Photos blog: $table_prefix = ‘photos_’;

As noted, you may use a prefix of your own making. Those provided here are for example purposes only.

Upload each wp-config.php file to its specific root/installation directory on your site, and run the installation. For example:

www.domainname.com/mainsite
www.domainname.com/store
www.domainname.com/photos

You will get the same install process you are used to, and all of these will store their data in one database.

DONE!

How to Change Absolute Links

If you have a need to change your absolute links in your WordPress Blog or site then keep reading! There are many reasons that you may need to change your absolute links – for example:

1) You do not have access to your database
2) You have access to your database, but you are not familiar with using phpMyAdmin to make changes
3) You installed your WordPress blog on a server with another website and you want to migrate your WordPress blog as the main site instance
4) You moved to a new hosting provider or changed your site URL
5) Your site is just messed up now due to plugins

So how does this work? Well in my case, I had a client that had a site without database access. We were able to set it up and install WordPress, but there were no tools available for the customer to access the database. WordPress stores the site URL information in the database as opposed to the config file, so we were stuck with a site that we could not log into, and which also re-directed to an error 404.

So we had to figure out another way to change the URL string, get access and get this site back up and running without using the databse – here is how you do it:

1. FTP into your site server so that you can see all of the files (I am assuming that you can still FTP in and can see all of your site files)

2. Open the wp-config.php file in your WordPress directory into your favorite editor – like Dreamweaver, etc.

3. Scroll down under the database information you entered – and find the string of information that starts with “Defne”. The code starts at about line 45 in an editor.

4. Line 45 in your editor while in the wp-config.php file should say something like this:
define(‘AUTH_KEY’, ‘put your unique phrase here’);

Above that line you are going to add two more lines of code that are also define statements. This is what I want you to write:

define(‘WP_HOME’, ‘http://www.domain.com/pathtowordpress’);
define(‘WP_SITEURL’, ‘http://www.domain.com/pathtowordpress’);

(OF COURSE – SUBSTITUTE “www.domain.com/pathtowordpress” with your actual domain and folder that has WordPress.

5. Now save this as the new wp-config.php file and upload it to your server via FTP. Refresh everything.

6. Type in the URL of your site you just saved – you should be able to see the site, and you should also be able to log into the admin tools now.

7. In the dashboard, open the Settings panel and change the “Blog address” to match the new “WordPress address”.

DONE!

How to decode encrypted WordPress footers

Have you fond a WordPress theme you like for public use that has an encrypted footer or other encrypted code?

Personally, I don’t have a problem with giving people credit for use of their themes. But when people encrypt code in the file, it is annoying, and I also do not know what type of malicious activity that code is doing on my server.  If you have come across these encrypted footers and you want to break the codes on them,  check out the following two links to hlep get you on your way:

FIRST LINK I RECOMMEND:
Tool that works
Here is the main thread for this link:WordPress Forum:

SECOND LINK I RECOMMEND:
How to decode ugly eval base64 files

WordPress 1and1 Server 500 Internal Server Errors and NexGen Gallery

If you host a WordPress Blog on 1and1 servers and you try to install the NexGen Gallery Plugin, you may encounter an Internal 500 Server Error.  To fix this, the best and easiest solution I have come across has been to change the information in the .htaccess file.  If you do not have one, they are easy to make using a simple text editor.  We are going to replace the old code in the .htaccess file with the code I have provided below. 

Do the following to fix the problem. 

1) Open a basic text editor program on your computer

2) FTP into your web server account and open your .htaccess file on your local computer.  When you open your original .htaccess file, it should resemble the code that I have included below under  the heading OLD .HTACCESS FILE CODE.

3) Copy the code that I have below under the heading NEW .HTACCESS FILE CODE.

4) Select all of the code in your original .htaccess file and replace all of it with the new code.

5) Resave this new file as .htaccess on your local computer and then FTP it back into yoru WordPress blog root directory.  If you did not have one there to begin with – then place this one in there.

6) Now go to the plugin and activate the NexGen gallery.   It will work now.

OLD .HTACCESS FILE CODE – from a typical install

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress

NEW .HTACESS FILE CODE:

<files .htaccess>
order allow,deny
deny from all
</files>

ServerSignature Off

<files wp-config.php>
order allow,deny
deny from all
</files>

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress

Options All -Indexes
AddType x-mapp-php5 .php
AddHandler x-mapp-php5 .php

Graph Paper Press WordPress Themes

Change Role Names or Add new Roles in WordPress

The Capability Manager plugin provides a simple way to manage role capabilities. Using it, you will be able to change the capabilities of any role, add new roles, copy existing roles into new ones, and add new capabilities to existing roles. You can also delegate capabilities management to other users. In this case, some restrictions apply to this users, as them can only set/unset the capabilities they have. With the Backup/Restore tool, you can save your Roles and Capabilities before making changes and revert them if something goes wrong. You’ll find it on the Tools menu.

  • Capability manager has been tested to support only one role per user.
  • Only users with ‘manage_capabilities’ can manage them. This capability is created at install time and assigned only to administrators.
  • Administrator role cannot be deleted.
  • Non-administrators can only manage roles or users with same or lower capabilities.

http://wordpress.org/extend/plugins/capsman/installation/

Graph Paper Press WordPress Themes

Offering More Subscription Options

 

Sometimes giving someone more choices can make one’s life a little more difficult since, by nature, people can become overwhelmed with too many options. However, one area where you want to offer more choices is with how people can receive the content from your blog.

The most common option available to bloggers is the main RSS feed. It allows someone to subscribe to all of the blog’s content via an RSS reader. Great option, but sometimes people don’t want to subscribe to all the blog’s content and would only like to get updates when a specific section is updated.

Using WordPress, it’s simple to give readers an option of subscribing only to a specific category, or even a specific tag by appending the URL with a feed indicator. The indicator will depend on whether you have set up permalinks or not. If you’ve set up permalinks, then all someone needs to add is add /feed/ to the end of the category or tag URL to get its feed. If you haven’t set up permalinks, then someone needs to add &feed=rss2 to the category or tag URL. See the following examples:

Permalinks: http://www.yourblog.com/tag/sky/feed/
Default: http://www.yourblog.com/?cat=2&feed=rss2

In fact, just about anything on WordPress can be turned into a feed by appending the feed indicator to the URL. If you were to append it to your search results, you’d get the search results feed. If you were to add it to an entry’s permalink, you’d get the comments feed for that specific entry. 

Which brings me to the subscription option for comments. Again, WordPress allows for a couple feed options: all comments or specific entry comments. For those who leave comments regularly on your blog, subscribing to all comments might be the wisest option; that way they don’t have a ton of comment feeds cluttering up their readers. However, for the occasional comment or for someone who just wants to follow the heated debate, subscribing to the individual threat is better.

Finally, there is one subscription option that many bloggers don’t think about it and its email. Yes, folks, email is still alive and kicking and some readers prefer receiving their blog updates via email. This is especially true if the reader already has an overcrowded feed reader because you definitely don’t want your blog to be lost in the noise. So, in addition to feed subscription options, give your readers the option of receiving once daily or weekly blog updates via email.

Rather than cluttering up your blog with a bunch of feed buttons everywhere, take a moment to create a subscription page. On this page, explain that your readers can subscribe to the specific areas of your blog and provide instructions for doing so. In some instances (assuming you don’t have many categories/tags), you can provide a list of the individual links. Also, mention there is a newsletter option and make sure the subscription box is provided. For comments, you can install a plugin called subscribe to comments which will allow readers to receive an email each time a reply to a blog entry is made. Explain this on the subscription page as well.

Now that you have the subscription page set up, make sure to update your feed buttons and links to mention that there are more subscription options than just the main feed for those who’d like to take advantage.