This neat little WordPress code tutorial will show you how to easily create a WordPress Login Form Shortcode using the wp_login_form() function that can then be placed inside any post or page of your WordPress blog. You will be required to edit a file during this tutorial we recommend that you use a good quality text editor like PSPad or similar when editing any PHP files.
How To Display WordPress Post Date As Time Ago Posted “X” Days Ago
This WordPress Tutorial will teach you how how to display the WordPress post date as Time Ago eg, “posted 6 Days ago” in place of the more traditional WordPress post date format of 1st May 2012 for example. You will be required to edit some of your WordPress themes template files to achieve this change on an existing theme. As always we also recommend that you use a code focused text editor when editing any template files.
WordPress Load jQuery From Google Libraries CDN With Local jQuery Fallback
An easy way to trim some size off of your WordPress page loading times is to serve jQuery in your theme from the Google Libraries CDN rather than have your theme load WordPress’s internal version of jQuery which is located on your local server. I have personally used this technique a lot lately when developing WordPress themes to improve a website loading times, also by serving jQuery from Googles CDN you can easily update to the latest version of jQuery by simply changing the version number in a wordpress function.
[Read more…]
Add Numbered WordPress Page Navigation To WordPress Without Using Plugins
Numbered page navigation is not a feature that comes as standard with WordPress which instead uses its standard blog page navigation style of ← Older posts | Newer posts → in certain themes. If your current WordPress theme does not support numbered page navigation (Lots of them now do) one solution that has been around for a while to easily achieve this function is to install a plugin like WP-Pagenavi.
[Read more…]
Change WordPress Login Logo Without Plugins
Change WordPress login logo without plugins in this simple tutorial. There are several reasons why you would want to change the default WordPress login logo of your WordPress site, maybe your building a site for a client, you want members registering for your site to see a custom logo or you simply want to add some personal eye candy when logging into your site.
[Read more…]
Add .first & .last CSS Class Automatically To WordPress Widgets
Previously we showed you how to Add .first & .last CSS class to WordPress Navigation Menus to help with styling attributes when designing a WordPress theme. Today I though it would be beneficial to follow up that tutorial with one that shows you how to automatically add .first & .last CSS class’s to all WordPress widgets displayed anywhere on your site by adding a simple filter to the wordpress
Display Single WordPress Post Category Even If Its A Sub Category
This tutorial will teach you how to display a single WordPress post category in your theme even if the article has been posted in a sub category. I created this technique for use in several WordPress themes I have developed where I only wanted to display the actual category that the article was posted in even when posted to sub categories. It’s a nice technique for themes with limited space or users that don’t want to display all categories that a post has been placed in.
Step 1: Creating A Retrieve Actual Category Function
Firstly you will want to open your current themes functions.php file then copy the code block below and paste it into your functions.php file at the bottom, close and save your functions.php file.
[Read more…]
WP Visual Pagination Page Navigation WordPress Plugin
WP Visual Pagination is a new WordPress plugin that has just been released on the official WordPress plugin directory which allows you to easily style your WordPress sites page navigation links. This may be a solution for WordPress users who do not want to touch any code Add Numbered WordPress Page Navigation To WordPress Without Using Plugins to style their own page navigation links
[Read more…]
Remove WordPress Category Menu Title Attribute On Browser Hover
This tutorial will show you how to easily remove the WordPress category title attribute from your WordPress post categories menu, this is the little pop-up text you see when hovering over a category link in your browser. This is a feature I always find myself using over and over again so wrote it into a neat WordPress function to share with you all.
[Read more…]
WPWebHost WordPress Hosting June 2012 Special Offers & Discount Coupon Codes
WPWebHost is one of the most popular WordPress Hosting companies who offer a range of hosting plans for any budget including Shared WordPress Hosting, VPS WordPress Hosting and Dedicated Server WordPress Hosting. During June 2012 WPWebHost have some fantastic discounts available on their Shared WordPress Hosting Plans along and VPS Hosting Plans. You can see a detailed overview of the available discounts below and grab the valid June 2012 discount coupon codes.
[Read more…]