I have had a problem with a personal WordPress blog I installed a long time ago but never got the chance to look into until recently which is the fact that the logon part of the site was not auto logging me on. Not only was the blog not auto logging me on but it was not remembering my password though it would remember my username. This blog has been around since before WordPress 2.5 and I have upgraded from time to time. I remember the issue started somewhere around the time that I upgraded from WordPress 2.5 to WordPress 2.6 so that is where I started the troubleshooting process and sure enough I was able to find the answer pretty easily. I had been in a rush when upgrading the site and once I had time to go back and read the documentation I found some configuration file options located in wp-config.php that had been added with WordPress 2.6. There were 3 security key configuration options added in WordPress 2.6 and fourth security key added in WordPress 2.7.
Recently I was setting up a WordPress blog and needed to use the default pages widget to list a certain set amount of pages. On this blog I used the NextGEN Gallery for dozens of different galleries. The issue was that I wanted to only list a couple of pages using the default Pages widget and when using NGG I would have dozens if not hundreds of pages that I would need to exclude with the default Pages widget. So what I needed to do was include a couple of page ID’s instead of excluding hundreds of page ID’s.
The problem above can be accomplished by making one minor adjustment to one WordPress file. We will need to modify the wp_pages_widget PHP function to include the pages specified in the admin versus excluding them.
File to Modify: <wp-root-directory>/wp-includes/widgets.php
When integrating Highslide with your WordPress blog there are numerous additions that need to be made outside of actually installing the plugin. First you need to make sure that you have the highslide.css file located in the /wp-content/plugins/highslide/ directory. After that you need to make sure that you add the code listed below to the footer.php file of your blogs theme.
- 'hs' is undefined
After WordPress 2.5 uploading files to posts has become much easier. When first looking into this I was confused though because I every time I would upload a file it would not automatically link to the file. I was assuming the file did not upload properly and that was the reason there was no file to link to. I was mistaken though and really uploading a file is exactly like uploading an image but you have to select where the file links to. Follow the simple directions below to upload files to a WordPress post on your WP blog. The directions below are based on WordPress 2.7+ however they are very similar to WordPress 2.5/2.6.
- Open WordPress Admin: Obviously the first thing you need to do is login to the WP administration area of your blog which is typically found at your URL followed by /wp-admin.
I use the JPF Login/Out plugin to display text at the top of a WordPress site and after upgrading to WordPress 2.7 the logout link stopped working. After reading in the WordPress Codex it appears that the wp_logout_url was added to provide a nonce-protected URL that can be used during logout.
In the jpf_loginout.php file on line 17 change the below:
- $link = $before . '<a href="' . get_settings('siteurl') . '/wp-login.php?action=logout">' . $log_yes . '</a>' . $after;