February 8th, 2010
Default Wordpress allows you to display recent posts and recent comments through a widget. However, as I develop my own theme, I want to be able to customize as much as possible without using a widget in my sidebar at all.
The problem is, displaying recent posts and recent comments is not as simple as just using a Wordpress template tag found in Wordpress Codex. Instead, you will need to get creative and create a bit of custom code to grab the data from the database.
There are definitely some common code snippets used for Wordpress but I found the ability to control and display recent posts and recent comments to be what I need most.
Displaying Most Recent Posts
There are several ways to display the most recent posts from just using the wp_get_archives tag to query_posts tag which involves... Continue Reading...
Tags: common code, recent comments, recent posts, Wordpress
Filed under Wordpress | No Comments »
February 8th, 2010
It is always nice to add custom features to enhance the user experience. One of these enhancements is to add the an author’s bio information to an article he or she has written. This is particularly useful because when reading a good article the user may be inclined to learn more about the author.
A quick snippet of the author’s information can help users relate to the author as well as help the author promote himself or herself.
Using the_author_meta tag to grab information
In Wordpress, each registered user can fill out information about themselves in their profile. This is found in the Dashboard under Users -> Your Profile. Some of the meta information fields that are available by default are the following:
Username
First name
Last name
Nickname
Email
Website
AIM
Yahoo... Continue Reading...
Tags: adding author bio to posts, Wordpress
Filed under Wordpress | No Comments »
February 8th, 2010
The sidebar for Wordpress is typically where the archive, categories and other items are listed on your front page. However, as your categories and numbers of posts in the archive grow, so does the list; resulting in a really long sidebar. Having a long sidebar can take up precious onscreen real estate. It can also be a distraction to the user.
Tabbed Menu as the Solution
In looking how to save some onscreen real estate as well as providing a more slick interface for users to navigate for content on the site, designers can choose to create a tabbed menu.
In searching the internet, there were many solutions. There are actually a couple of specific plugins for Wordpress. Although, it is easier to use a plugin, the widget based style is less customizable for my liking.
I found several... Continue Reading...
Tags: sidebar tabs, tabbed menu, Wordpress
Filed under Wordpress | No Comments »
February 8th, 2010
If your running Wordpress, you’ll know that if you want to log into the admin dashboard, you have to type in the URL for the login page. This can be inconvenient if you set up a social website where you want users to be able to login.
Sure, a link to the login page can be done, but that requires one extra click and loading of the page.
WPDesigner has a great snippet of code to add to your theme so users can login from the front page.
The Code
You can download the code from WPDesigner. But here is a quick preview of the code:
<li>
<?php global $user_ID, $user_identity, $user_level ?>
<?php if ( $user_ID ) : ?>
<h2>Control panel</h2>
<ul>
<li>Identified as <strong><?php echo $user_identity ?></strong>.
<ul>
<li><a... Continue Reading...
Tags: login form, Wordpress
Filed under Wordpress | No Comments »
February 4th, 2010
Wordpress is a popular blog. I did not know how much I would fall in love with developing on this platform.
For my installation, I have it hosted on Bluehost. Since I installed it in 2007, I was not aware of its capabilities at the time. I had it in directories nested two levels deep and also had it pointing to a different subdomain, http://blog.designrjc.com. This is not ideal for SEO and it kept organization chaotic.
I had previously moved a Wordpress installation to a different location on the server so I have had experience, but that one was a bit more straight forward.
There are several methods to move or migrate your Wordpress to different locations on your server but I believe this to be the easiest implementation.
Backup your Wordpress installation by downloading the entire... Continue Reading...
Tags: changing url, migration, moving directory, Wordpress
Filed under Wordpress | No Comments »
Older Posts »