Show the password on post excerpts

Justin Tadlock has written a nice tutorial on how to show a password form field instead of the default text “There is no excerpt because this is a protected…

Remove spaces when echoing the_title

Ever wanted to print or echo the WordPress title attribute without spaces?

Add a shortcode

Add a shortcode

This is a simple one. /** * Your Blog title * */ function my_blog_title() { $blogname = get_bloginfo('name'); return '<span class="blog-title">' . $blogname . '</span>'; } add_shortcode('blog-title', 'my_blog_title'); Just add this to your functions.php file…

How to: Open external links in a new window

How to: Open external links in a new window

Over the weekend, I attended WordCamp Denver, and I was asked by John Hawkins how to force links to open in a new tab with out editing the source code. So, today lets learn…

Fixing plugins not compatible with hybrid 0.4.2

Fixing plugins not compatible with hybrid 0.4.2

Hey everyone, as you may have noticed I have a running on the site. While everything almost everything moved over smoothly, there was an issue with how my parent theme striped text in…

Add the twittar plugin for WordPress w/ comment threading

Add the twittar plugin for WordPress w/ comment threading

I talked about the Twittar plugin in a previous post. But learned that the read me text file was only useful for installing the necessary php code into WordPress themes that don’t have comment…

Styling your ordered & unordered list items into 2 columns

Styling your ordered & unordered list items into 2 columns

In a previous post I showed you how to create a custom widget, then I showed you how to create a widget for your monthly archives, and limit the month’s that show. I am…

Jon Asked: How to add thumbnails above post on the THiCK theme

Jon Asked: How to add thumbnails above post on the THiCK theme

I was asked by a reader: I’m using the THiCK theme for my new design blog. I noticed you were able to add thumbnail images above your blog posts on the home page. What would…

How to: Add any authors gravatar to their post

How to: Add any authors gravatar to their post

This is an easy one, just add one line to your single.php file where you would like the Gravatar to show up. <?php echo get_avatar( get_the_author_id(), $size = '96', $default = '<path_to_url>' );…

How to: Show what a user is searching for in the title

How to: Show what a user is searching for in the title

Want to show what any user was searching for? It is simple, just add this line where your title would be. <h1>Browsing search results for <strong>"<?php the_search_query() ?>"</strong>.</h1> The important line is…

Build a classic MyBlogLog widget

Build a classic MyBlogLog widget

In this post I will show you how I created my custom widget showcasing mybloglog readers. In your function.php file add this simple line of code: <?php // MyBlogLog function MyBlogLogWidget() { ?> <script type="text/javascript" src="http://pub.mybloglog.com/comm2.php?mblID=ReplaceWithYourID&amp;c_width=220&amp;c_sn_opt=n&amp;c_rows=6&amp;c_img_size=h&amp;c_heading_text=&amp;c_color_heading_bg=e0e0d4&amp;c_color_heading=E8A02C&amp;c_color_link_bg=e0e0d4&amp;c_color_link=d54e21&amp;c&amp;c_color_bottom_bg=e0e0d4"></script> <?php } //register the sidebar 'the…

Limit the characters that display on the_title

Limit the characters that display on the_title

Ever wanted to display the title of a post somewhere but limit the amount of characters that are shown? For instance, this post has a very long title, and if I were to use…

Display custom url if comment authors url is blank

Display custom url if comment authors url is blank

Here is a nifty trick for your comments.php template. If someone comes to your site and leaves a comment but doesn’t leave a url back to there site, the default link that is shown…

Disable caching of your site or post

Disable caching of your site or post

I talked about Disabling search engine on search pages in a previous post using the meta tag. Today lets go over the web bots Cached copy of your site. If you are working on…