In part one of this two part series on “everything you could possibly want to know about titles and headlines on your blog”, I wrote about how to write effective, attention-getting headlines and titles, and in this part, I’m going to give you more than you might ever want to know about how to maximize titles and headlines in your blog, digging into the code and how titles are used on your blog.
The title of your blog is a title. The title of your post is a title. The section titles in your post content are also titles. Each one plays an important role in helping your readers read your blog article, but they also play an extremely important role in how your page is evaluated and displayed in search engine results.
Titles are used in lists found in lists of related posts, most recent posts, site maps, and many other lists of posts and articles you’ve written on your blog. Titles are used by other bloggers to feature the article on their blogs, whether in a specific article or on a link list. Titles are showcased on search engines, tag services, blog networks and feed services, and social bookmarking services, among other offsite listings.
Titles are used in so many ways, it’s important to look at the different uses for all of these titles and how to make the most of your well written titles on your blog.
Since titles are so import to search engine optimization (SEO), shouldn’t you learn how they are used on your blog?
Types of Titles Found on Blogs
There are basically four core types of titles used on most websites and blogs today:
- Blog Title: This is the name of your blog. It is also known as your blog name or site name, and could be also referred to as your domain name, URL, or address if your blog title and website address is the same. For example, my main site’s name or title is Taking Your Camera on the Road, which we shortened for the domain name to
cameraontheroad.com
. My domain name here is “lorelle.wordpress.com”, but the blog title is “Lorelle on WordPress”. They don’t have to match, but they often do. For our purposes, the blog title will be the “name of the blog”. - Blog Description: The blog description is also known as the tagline, blog subtitle or subheading. Many blogs feature a title name and then a subtitle under the name. Photomatt.net, main site for Matt Mullenweg, chief cook for WordPress, has a tagline of “Unlucky in Cards”. Blogging Pro’s blog description or subtitle is “News, plugins and themes for blogging applications”, giving you more information on what the blog is about. Usually the blog title and blog description often work together to add keywords to help describe your blog’s purpose.
- Post Title: The title of the article or post is known as the post title, blog post title, title or headline. It is the descriptive sentence or phrase that should describe or provide a hint as to the page content.
- Headings: A heading is also known as a subtitle, subheading, or section title. It is a title below the post title that breaks the article into sections.
As a search engine crawls through your blog, it gathers data from the various locations which traditionally store the blog title, blog description, post title, and headings, and matches the keywords within those title locations with the keywords in your content. If they match, the algorithm adds points to your SEO score card.
From the blog title and post title, the search engine collects the information used in the top line of search results. Occasionally, the blog description or tagline title is also collected as the first line of the paragraph of text below the titles. The rest of the search engine result information consists of the first or appropriate section with the searched keywords in the text, which may include headings. Searchers scan their eyes down the list of search results, looking for their keywords or phrases, focusing on the post title, blog title, then the paragraph below, to see if what they are looking for is there. If it is, in a click they are there.
Because each one plays an important role in how search engines gather data from your web pages, and they are critical to helping the reader find and read your blog, let’s look at the structure and coding of these each individually, and then we’ll explore how titles are used throughout a blog, search engine, and other methods.
As usual on this blog, the coding is specific to WordPress, but the principles are the same for all blogs, even if the code language is a little different. The coding is for the full version of WordPress and may involve access and editing of your WordPress Theme template files. Still, whether you are using the full version of WordPress or WordPress.com, it’s important to understand how all these elements work to showcase your titles on your blog.
The Blog Title
The title of your blog is your blog’s “blog name” or “company name”. While it typically is the name of the blog as seen in the header of your blog, the blog title is used in many other ways on your blog:
- The blog title is shown in the title at the top of your web browser’s title bar.
- The blog title is showcased in search engine search results on the top line.
- The blog title is usually part of the title stored by bookmark managers, social bookmarking services, and other link storage methods.
- People who link to your site usually begin their link with your blog title followed by the post or article title.
The blog or website title on a web page is stored in the head section of a web page’s HMTL structure in the title
tag, above the rest of the tags as the first tag in the head
section.
<title>Blog Title</title>
Browsers look for the title
tag and pull that information to use in the title bar of your browser. Search engines also gather the name of your blog from the title
tag, as do feeds and any other automatic programming that processes and gathers information from your site for displaying elsewhere.
WordPress uses a template tag to automatically generate the name of your blog in the title
tag:
<title><?php bloginfo('name'); ?></title>
Blog Titles in Mastheads
The header
section of your web page design is also known as the masthead and usually displays some form of graphic, the blog title, blog description, and often some links to your About and Contact Pages.
In the header section, the blog title is usually set in the h1
HTML heading tag. The blog description or tagline can be found in an h2
HTML heading tag, but is more likely to be in a DIV, a container under the title:
<div id="header"> <h1>Blog Title</h1> <div class="description">Blog Tagline Description</div> </div>
In WordPress, template tags pull the information for this data from the database. The template tags used to create the header section in WordPress typically include a DIV for the header and another for the description:
<div id="header"> <h1><a href="<?php echo get_settings('home'); ?>"> <?php bloginfo('name'); ?></a></h1> <div class="description"><?php bloginfo('description'); ?></div> </div>
In WordPress, the blog name and description is entered via the WordPress Administration Panel > Options > General Options. The blog description are the descriptive words that summarize your entire blog.
There are time when the blog title in the title
tag might be different from the title showcased in the header and displayed as the blog title on the physical page. For example, the title tag may feature “Master Blogger” and the title shown on the web page’s header is “Alison’s Master Blogging Blog”. To confuse things more, the domain name might be “mblogger.com”.
Search engines and other programs which process the title of the blog from the title
tag will collect “Master Blogger”, since that is what the machines see but is invisible to the visitor. A human will use “Alison’s Master Blogging Blog” as the title, because that’s what’s visible in the header of the page.
Should they be the same? That’s up to you. If you want a consistent title associated with your blog’s name, then it’s a good idea to make these be the same.
The keywords found in your blog title and description are critical to search engines and helping your blog get found when people search. According to Pro Blogger’s experiences, title tags can make or break your search engine optimization efforts in search results and influencing searchers to click.
The right keywords help guide the reader to your blog because the title of your blog tells them “this is the place for the information you are seeking”. Choose your blog’s name wisely.
Your Headlines: Post Titles
The title of the post or article you are writing is called the “post title” on blogs. It is also known as a “headline” or article title. It is the keywords or phrase that encourage a reader to read what follows. It can be enticing, teasing, or informational. As you read in “Writing Effective, Attention-Getting Headlines and Titles on Your Blog”, post titles can make or break the success of your post and blog.
Your post title is more than just a namesake for your post content. It is a mini-representative of your post content that goes out to announce your post to the world. As a representative, it should speak well of the content it represents. So let’s look at how a post title is used on the web.
- The post title is often shown with the blog title in the title at the top of your web browser’s title bar.
- The post title is shown with the blog title in search engine and tag search results on the top line.
- The post title is the title stored by bookmark managers, social bookmarking services, and other link storage and share methods, which may also include the blog title.
- Trackbacks from your blog to another blog you link to and vise versa include the blog title and post title in the trackback link.
- Links and recommendations to your article or post typically feature just the post title or a combination of your blog name and post title.
- Feeds feature post titles, post titles plus excerpts, or post titles plus full articles. Feed readers often feature feeds by post title in a separate list as well as an additional view of the overall feed.
Recent Posts, Related Posts, Most Popular Posts, and similar lists of posts on your blog typically feature just the post title.
- Feed aggregator services and blogging networks which pull feed excerpts from their featured blogs highlight the post title and blog name prominently, occasionally with a post excerpt.
I’m sure there are a few ways a post title is used that I missed, but this gives you an idea of the importance your post title is to getting noticed and found on the web.
The post title is typically featured in an secondary HTML tag heading such as:
<h2>Post Title</h2>
Using a WordPress template tag, the code which requests the post title information from the WordPress database looks like this:
<h2><?php the_title(); ?></h2>
To Link or Unlink Your Post Title
There are two ways of displaying a post title on a WordPress blog. One method showcases the title as text only, no link, as shown above. The other method turns the post title into a link, which will take you to the article when clicked.
A linked title is typically used on multi-post views of your blog, pages which showcase more than one post such as the front page, search, archives, and category pages. To turn the title into a clickable link, the core HTML would look like this:
<h2><a href="example.com/post-title/" title="Post Title">Post Title</a></h2>
WordPress uses template tags to generate the post title link automatically:
<h2> <a href="<?php the_permalink() ?>" title="<?php the_title(); ?>" rel="bookmark"><?php the_title(); ?> </a></h2>
Many WordPress Themes feature a clickable link on the multi-post page views, but on the single post view, the post title isn’t clickable. It’s just text. Why should the title of the post be a link when you are reading the post? You might think this useless, since clicking would only reload the page, but there are some very good reasons why the single post view title should be inside of a link. I, for one, am a huge fan of making all post titles links.
There are many new power-user techniques to help bloggers copy links for pasting in their blogs. One such example is the Firefox Extension called CoLT – Copy Link Firefox Extension which gives power users the ability to create a custom layout of exactly how you want to copy an entire link. I want to copy the link location (URL) plus the title of the link in the link’s HTML anchor tag, as well as the title of the link.
For example, instead of copying the link and then typing out the whole HTML link anchor tag in my article, and pasting in the link URL, I can just right click the link and select “Copy Link and Text” from the right click menu, and then paste the entire link into my blog’s editing panel. Fast and easy I have a full link that requires no additional typing.
For a post title and long link like “A Technorati Tag Bookmarklet for WordPress and WordPress.com Users”, that’s a lot of keystrokes. And a few words that are easily misspelled. On a single post with a clickable post title link, with the CoLT Copy Link Firefox Extension, it’s a three click job, and the spelling and post title is exactly as the original author wanted it to be. The easier you make it for others to link to your posts, the more links you may get.
Adding Your Blog Title and Dates to Your Post Titles
Whether or not you include your post title in a link on every page view of your blog is up to you. Though some web designers and bloggers like to add a few other accessories to their post titles.
Many bloggers believe the date of their blog post to be important information for readers, especially if they are blogging on current events or date-oriented content like news or gossip. The title with the date might look like this, which also includes the formating styles for the h2
heading’s design:
Tuesday, September 21, 2005: Post Title Here |
To include the date in the post title of a WordPress blog, you would use the following code:
<h2 id="post-<?php the_ID(); ?>" class="posttitle"> <?php the_time('l, F jS, Y') ?>: <a href="<?php the_permalink() ?>" title="<?php the_title(); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
Some may expand the post title link to include the blog title in with the post title in the “title” attribute of the anchor link’s tag, improving the link’s accessibility standards. Another method showing you the various ways you can use WordPress template tags to enhance all the different “titles” on your titles:
<h2><a href="<?php the_permalink() ?>" title="<?php the_title(); ?> from <?php bloginfo('name'); ?>" rel="bookmark"><?php the_title(); ?> </a></h2>
Which would produce the following, with the blog title embedded inside of the link’s title attribute but not visible with the post title:
<h2><a href="example.com/post-title/" title="Post Title from Blog Title"> Post Title</a></h2>
I was asked recently to create a post title design layout to include the name of the blog in the post title. The test design featured the title of the blog over the name of the post. Since the blog author’s name was the blog title, this emphasized the author’s name with the article.
The entire title is a clickable link. There were a lot of ways we could have done this, but this is the way the code for the blog title and post title combination ended up:
<h2><a href="<?php echo get_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>"> <span class="blogname"><?php bloginfo('name'); ?>'s</span> <br /> <span class="posttitle"><?php the_title(); ?></span></a></h2>
And the rest of the design is just frosting.
Putting the Post Title in the Title Tag
WordPress, and other dynamic web hosting programs, can include code within the title
tag in the head section of a web page which generates both the blog title and the post title, so it appears in the browser title bar, bookmarks, and other locations. In it’s simple generated form, it would look like this:
<title>Blog Title - Post Title</title>
In WordPress, WordPress template tags are used to replace the physical titles with information pulled from the database:
<title><?php bloginfo('name'); ?> <?php wp_title('-'); ?></title>
Notice that in the post title, the the_title()
template tag is used. This tag only works when it is inside the WordPress Loop, PHP code which gathers information from your database about your posts and then “loops” through it again to create more than one post if the users is viewing a page with more than one post. In the title
HTML tag in the head
section of the web page’s code, the wp_title()
WordPress template tag is used as it works outside of the WordPress Loop. Both template tags request the post title from the database, they are just used in different places.
With the use of Conditional Tags, WordPress can detect if the page the reader is viewing is the front page, category, author, or single post page. Since a multi-post view page doesn’t have a specific post title associated with it, but numerous titles, a conditional tag statement can be used in the title
HTML tag to only display the post title when the page viewed is a single post page:
<title><?php bloginfo('name'); ?> <?php if ( is_single() ) { ?> <?php wp_title('-'); ?> <?php }; ?></title>
When used this way, the blog title and post title appear in the browser’s title bar for single posts and search engines use this information as the “title” in their search results.
Even without the conditional tag to determine if the page view is the single post view, the job of the wp_title()
template tag is to generate the “title” of the page being viewed. If the post is a single post, then automatically the title of the post will be viewed. If the page view is for posts written within a specific month, then the title of the page would be “January 2006”.
For example, if you are viewing a category page for the “Blogging Tips” category, the title in the header of the page would be “Blogging Tips”, the name of the category.
This creates a highly flexible titling feature which titles the page names without much effort from you. Combined with the various Conditional Tags available, you can further customize the titles of your pages depending upon the content or type of page viewed. I’ll go into this a little more in a moment.
Which Comes First? Blog Title or Post Title?
Some people like the post title before the blog name, another way of increasing keyword effectiveness, though not always the best method for other uses of titles as the title becomes:
Post Title – Blog Title |
This confuses some people who then think that the title of your blog is really the post title, since it is out of the typical order. There are some who think that you may get better results if the keywords of your post title comes first and the name of your blog comes last.
If you would like to switch places with your titles, here is how is handled in WordPress, with a conditional statement:
<title><?php wp_title(' '); ?> <?php if(wp_title(' ', false)) { echo '-'; } ?> <?php bloginfo('name'); ?></title>
I’ve also seen people add text to clarify the blog title from the post title:
<title><?php wp_title(' '); ?> <?php if(wp_title(' ', false)) { echo ' from the '; } ?> <?php bloginfo('name'); ?></title>
Which results in:
Post Title from the Blog Title |
The Optimal Title WordPress Plugin automatically switches the blog name and title to “post title – blog name” and gives you the ability to add text in your titles, without changing your WordPress Theme template files.
We’ll explore more about various ways to work with these title template tags and post titles in WordPress later. Let’s look at the last category of titles featured on most blogs and websites: headings.
Headings
Head, Header, Headline, and Heading
In web page design, there can be a lot of confusion between all the “heads” found in a web page. Let’s define these: HEAD: The head is an HTML tag found in the HEADLINE: A headline is another name for the article or post title. The name comes from the days of newspapers. HEADER: A header is another HTML tag section that holds the design elements for the blog title. It may feature graphics or special design features so people know this is the top part of your blog’s layout. Is is also known as the masthead. The header is usually an HTML DIV tag identified with an ID of “header” such as MASTHEAD: The masthead is the section that holds the name of a newspaper or magazine. This term is occasionally used in web design as a synonym for the header. HEADING: The headings in an article are also known as subtitles, titles for various sections in an article used to break up a large article into smaller, related chunks of information. In HTML, headings are designed with |
Headings are section titles underneath the main title which breaks up content within the article or post. Headings are “mini-titles” or section titles.
Headings group related content together and makes it easy for the reader to scan a page and focus on the information most important to answer their question.
Good headings serve three purposes:
- To break content into readable sections.
- To support the content and purpose of the article in outline form.
- To provide more keyword fuel to search engines to help searchers find your article.
Search engines look in heading tags for keywords, giving you extra points if the keywords found in headings matches keywords found in other title locations as well as the content itself.
I think of headings as bullet points in an outline. For example, in this article, the points I’ve made so far have been grouped with the following headings, much like an outline:
- The Blog Title
- Blog Titles in Mastheads
- Your Headlines: Post Titles
- To Link or Unlink Your Post Titles
- Adding Your Blog Title and Dates to Your Post Titles
- Putting the Post Title in the Blog Title
- Which comes first? The Blog Title or Post Title?
- Headings…
In HTML, headings are displayed using the <hX>
HTML tag, with “X” representing a number. Typically, the largest heading size is h1, and the smallest is h5 or h6, though few use the smallest heading tags.
Relatively speaking, they might look like this:
Example of h1 Heading
Example of h2 Heading
Example of h3 Heading
Example of h4 Heading
Example of h5 Heading
Example of h6 Heading
On most blogs, including WordPress, the h1 heading is reserved exclusively for the blog title. The h2 is reserved for the post title. This leaves h3 and h4 available for use within a post’s content.
According to web accessibility standards guidelines, headings should follow a consecutive order, starting with h1 and going down through the post with h2, h3, and so on. Physically, they should also get smaller as the number gets bigger.
For most web designs, the h3 tag is used for important section titles and the h4 is used for less important section titles, as it is typically smaller in size. For example, the title of a section and the subsection is coded:
<h3>Most Important Heading Section Title</h3> <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Suspendisse suscipit eleifend magna. Phasellus mattis tempor lectus. Donec malesuada...</p> <h4>Less Important Heading</h4> <p>Duis at nisi et augue scelerisque accumsan. Aliquam porttitor risus sit amet diam...
To use these within the WordPress post content areas, simply type them in when you need them, with the opening and closing tags. If you are using WordPress’s Rich Text Editor, you may have to switch to HTML mode to add the tags.
Showcasing Titles on Your Blog – How Many Ways Can You Say Title?
It’s now time for us to explore a variety of ways you can make your titles work for you on your blog. Your blogging software may not feature the variety of title techniques available in WordPress Theme designs and WordPress Plugins, but it might. By exploring the various ways WordPress can use titles in your blog’s layout and design, you may learn how to maximize titles in your own blogging tool.
The goal here is to examine all the ways titles work on a blog and how to increase your various titles’ exposure by controlling where titles are found, what titles are found, and how titles help increase navigation and “stickiness” so visitors will stick around on your blog a little longer.
In WordPress, there are three basic “title” template tags.
There are many ways to use these title template tags within your WordPress Theme template files and design, and many WordPress Plugins you can use to put titles everywhere on your blog. To use these, edit the template file where you would like to add or make a change in the title element. Remember, some of these template tags work only within the WordPress Loop and others will work anywhere in your template files.
Let’s take a quick trip through some of the various title features you can use to help make your blog titles work overtime on your blog.
Putting The Blog Title Everywhere
The third type of title is bloginfo()
, a template tag that generates a variety of information about your blog that can be used anywhere in a WordPress Theme template. One of it’s parameters allows it to display the blog title: <?php bloginfo('name'); ?>
. It can work anywhere within your WordPress Theme, and there might be a few places you would like to have your blog title appear beyond just the title
or header
sections of your blog.
If you would like to see the name of your blog in your post meta data section, you can easily add it with the bloginfo()
template tag:
...you are reading a post on the <?php bloginfo('name'); ?> blog...
You can also use it in the sidebar as a title for your post title list such as related posts:
<h5>Related Posts on <?php bloginfo('name'); ?></h5>
You can go even further and put your blog title in a link in the footer, or anywhere, on your blog, using the same template tag with another parameter for printing the address of your blog:
<a href="<?php bloginfo('url'); ?>" title="<?php bloginfo('name'); ?>"> <?php bloginfo('name'); ?></a>
There are a lot of ways of incorporating your blog’s title and name into your WordPress Theme and design. It’s up to you to say how much is too much.
Titles in the Post Meta Data Section
As you’ve seen, the_title()
template tag is designed to work inside of the WordPress Loop and the wp_title()
works outside of the WordPress Loop. Both pull the title of the post from the database when the page is generated.
Let’s say you want the Post Meta Data Section to also include the title of the post along with other information about the post. The post meta data section is within the WordPress Loop, so you would use the_title()
template tag:
..."<?php the_title(); ?>" was posted on <?php the_time('l, F jS, Y') ?> and is filed under <?php the_category(' and ') ?>...
Which would create the sentence:
…”The Title of the Post” was posted on January 2, 2005 and is filed under Blogging Tips and WordPress Tips… |
However, if you would like to include the title of the post in the sidebar, or an area outside of the WordPress Loop, you could use the wp_title()
template tag.
Related Posts: You are currently reading “The Post Title”. I’d like to recommend the following related posts:
|
Using the Related Posts WordPress Plugin by Alexander Malov and Mike Lu, the code to generate this sidebar information might look like this in your sidebar template file:
<strong>Related Posts:</strong> You are currently reading "<?php wp_title(); ?>". I'd like to recommend the following related posts: <ul><?php related_posts(); ?> </ul>
Offering a list of titles of related content helps visitors find more information and help, and increases the time they spend on your blog.
Post Title Navigation Links
Have you forgotten your basic blog navigation links like next and previous posts? This is another way of getting more views of your post titles. For many WordPress Themes, these next and previous post links simply say Next and Previous, not a strong incentive to find out what posts are indeed next and previous from the one the visitor is on, is it? So let’s add some post titles to those navigational links to encourage their clickability.
In WordPress, to turn those Next and Previous post links into the post titles, here are two examples. In the first, the Next and Previous titles are used to highlight which post is which:
<div class="navigation"> <?php previous_post('%', 'Previous:', 'yes'); ?> | <?php next_post('%', 'Next:', 'yes'); ?></p> </div> <!-- end navigation -->
This looks like:
Previous: Previous Post Title | Next: Next Post Title |
To use the same basic link structure, but take away the next and previous titles and replace them with arrows, you could use this code in your WordPress Theme template file on the single post:
<div class="navigation"> <p><?php previous_post('« « %', '', 'yes'); ?> | <?php next_post('% » » ', '', 'yes'); ?></p> </div> <!-- end navigation -->
Which would look like:
« « Previous Post Title | Next Post Title »» |
A “next” or “previous” doesn’t inspire clicking confidence, but a suggestive post title increases the changes someone will click it.
Different Text in the Title on the Front Page of Your Blog
Some people understand the importance of the title
tag in increasing their search engine optimization and keyword impact and want to add more or different text in the title tag of their blog’s header. If you would like the additional text to show on every page, such as:
Blog Title – Blogging Tips and Tricks – Post Title |
You can simply add the text to the title
tag:
<title><?php bloginfo('name'); ?> - Blogging Tips and Tricks <?php wp_title('-'); ?></title>
Some bloggers and web designers want different text to be seen on the front page of their blog in the blog’s title, but not on the other page views of their blog. Since the front page typically would only feature the blog title and not the post title, this allows the designer to add a little more keyword punch to only that page.
Using the is_home
conditional tag, you can build a PHP statement that asks “if this is the home page (front) of the blog, then show this information, and if not, just show the title.” In the following code example, replace “with more blogging tips than sense” with whatever text you would like to showcase in the title tag of your blog on the front page.
<title><?php bloginfo('name'); ?> <?php if (is_home()) { print "with more blogging tips than sense"; }</title>
To incorporate this with the post title for single post page views, you could have “with more blogging tips than sense” appear on the front page, but “blogging tips” appear with the post title on single post views:
<title><?php bloginfo('name'); ?> <?php if (is_home()) { print "with more blogging tips than sense"; } elseif ( is_single() ) { wp_title(' blogging tips - '); } ?> </title>
You can have a lot of fun with this feature by adding extra text to other titles within your blog.
Incorporating the title of your blog and post in multiple areas within your blog’s structure may seem redundant. It depends upon your overall design, but giving your blog title and post title an extra hit within a web page may help your SEO and add just a bit more information to help searchers looking for your titles in search engine results.
What is a Permalink Link? Another Hidden Title!
A permalink is the “permanent link” to a blog post. In other words, it’s the link you click to get to the post, and you also use to create a link to a blog post. But why do people insist on displaying a link called “permalink” on their posts or in their post meta data section when they could be using the title to represent the same link?
A permalink link was used in the early days of generated posts. People would look for a link to the post from a multi-post page view and not find it, so they’d link to the whole page and not the specific post. The permalink link was created as a breadcrumb to identify the link to the actual post. Today’s blogs feature the title of the post as a link, so the secondary permalink link is redundant, though it is still occasionally used in the post meta data section.
While few WordPress Themes continue to use this archaic method of identifying the link to the article, if your WordPress Theme features a permalink link, here is how to change it to feature the post title, giving the link a lot more value and information.
In general, the HTML structure for the permalink is:
<a href="example.com/post-title-here" title="Permalink to article">Permalink</a>
Using WordPress template tags, it would look like this:
<a href="<?php the_permalink() ?>" title="Permalink to article" rel="bookmark">Permalink</a>
To change this to showcase the actual title of the article, such as Permalink: Writing Effective, Attention-Getting Headlines and Titles on Your Blog, you could use:
Permalink: <a href="<?php the_permalink() ?>" title="Permalink to <?php the_title(); ?>" rel="bookmark"><?php the_title(); ?></a>
Now you have another spot to showcase the specific title of the post, and for those using quick link copying techniques, they can quickly capture the link and link text and paste the post title in their blogs to recommend the article.
Related Posts, Most Recent Posts, Most Popular Posts, and Other Post Title Showcases
There are many ways to showcase your blog’s post titles throughout your blog. By increasing the “title” coverage on your blog, you increase your blog’s “stickiness” or “stickability”, the ability it has to encourage folks to stick around and spend more time reading what you have to offer on your blog. Your post titles can entice visitors to see what else you have on your site by using lists of post titles in various ways such as Related Posts, Most Recent Posts, Most Popular Posts, and other post title showcase lists.
Most Recent Posts Titles
A very popular method is the Most Recent Posts list found in many blog sidebars. This list shows off the last 5, 10, or more posts you’ve written.
There are WordPress Plugins to highlight recent posts available, but WordPress makes it easy with a built-in WordPress template tag. To showcase the last 10 posts by title, you would use:
<ul><?php wp_get_archives('type=postbypost&limit=10'); ?></ul>
Related Posts Titles
To feature posts related to the current article, you could use the popular Related Posts WordPress Plugin by Alexander Malov and Mike Lu.
In this example, I’ve wrapped the Plugin inside of a conditional tag that asks if the WordPress Plugin is activated. If it is, it works fine. If it isn’t, the lack of activation won’t cause errors in your blog’s layout and structure:
<?php if (function_exists('related_posts')) { echo ('<h5">Related Articles</h5><ul>'); related_posts(); echo ('</ul></li>'); } ?>
Most Popular Posts List
There are also different WordPress Plugins which showcase your most popular posts based upon the amount of traffic the post gets. Alex King’s Popularity Contest WordPress Plugin features the most popular posts based upon page views and feedback from comments and trackbacks to determine how popular each of your posts are compared to each other and generates a list.
The Plugin will automatically include a list of the most popular posts without you touching your WordPress Theme template files, or you can add the code in your sidebar template file, or elsewhere, such as follows, again wrapped in a conditional statement for your blog’s protection and highlighting the most popular posts within a specific category:
<?php if (function_exists('akpc_most_popular_in_cat')) { echo ('<h2>Most Popular in '); single_cat_title(''); echo ('</h2><ul>'); akpc_most_popular_in_cat(); echo ('</ul>'); } ?>
You can also highlight the post titles which were most recently commented on, which can show discussion activity on specific post titles. Coffee2code’s Customizable Post Listings offers a variety of ways creating a customizable list of posts in your sidebar, including those with comment activity. For a list of the 10 post titles which have been commented on:
<?php if (function_exists('rc2c_get_recently_commented')) { echo ('<h5>Recently Commented Posts</h5>'); c2c_get_recently_commented(10); echo ('</ul>'); } ?>
Random Posts and Post Highlights
There are a variety of ways to generate random posts and post highlights lists in WordPress. To generate a list of random articles from your blog, showcasing the variety of writing topics, you can use Coffee2code’s Customizable Post Listings random posts feature. This generates five random post titles in a list:
<?php if (function_exists('c2c_get_random_posts')) { echo ('<h5 id="highlights">Article Highlights<h5><ul>'); c2c_get_random_posts(5); echo ('</ul>'); } ?>
You can use Coffee2Code’s Customizable Posts WordPress Plugin in combination with the archives template tag and create a a list of the most recent posts including one highlighted “featured post” at the top of the list in your sidebar.
<h5 id="highlights">Recent Posts</h5> <ul> <?php if (function_exists('c2c_get_random_posts')) { c2c_get_random_posts(1, '<li>Featured Post: %post_URL%</li>'); } ?> <?php wp_get_archives('type=postbypost&limit=10'); ?> </ul>
This is just the tip of the featured post list iceberg! Have you found other inventive ways to feature old posts in lists?
Showcase Future Post Titles
On your WordPress Administration Panel Dashboard, you will see in the sidebar a listing of the upcoming posts about to be released on your blog called Future Posts. I wanted a similar feature on my Family History Blog to give visitors a reason to return with something to anticipate. I wanted to show off what’s next on my blog.
Using the same technique from the WordPress Dashboard, with a few tweaks, I created a list of the next five posts awaiting release on my blog and put the list in the sidebar. There are a variety of ways to style this list, but I kept it simple:
Looking Ahead Here’s a peak at what’s coming next on our Family History Blog.
|
Future post previews are not for every blog. It works well for news and magazine style sites that want to tease the visitor into returning for more. However, if your blog is about cutting edge technology and you want to be the first out with the news, or you don’t work with future posts at all (then the list would be blank), then this won’t work for you.
The code to create this future post preview or teaser for full version WordPress blogs follows:
<?php
$today = current_time('mysql', 1);
if ( $scheduled = $wpdb->get_results("SELECT ID, post_title, post_date_gmt FROM $wpdb->posts WHERE post_status = 'publish' AND post_date_gmt > '$today' ORDER BY post_date ASC LIMIT 5") ) :
?>
<div class="comingsoon">
<h3><?php _e('Looking Ahead') ?></h3>
<p><?php _e("Here's a peak at what's coming next on our Family History Blog.") ?></p>
<ul>
<?php foreach ($scheduled as $post) {
if ($post->post_title == '')
$post->post_title = sprintf(__('Post #%s'), $post->ID);
echo "<li>" . sprintf(__('In %2$s: %1$s'), "$post->post_title", human_time_diff( current_time('timestamp', 1), strtotime($post->post_date_gmt. ' GMT') )) . "</li>";
}
?>
</ul>
</div>
<?php endif; ?>
Put this in a section of your sidebar or elsewhere outside of the WordPress Loop.
Feature Post Titles from Feeds
Feeds are another method of showcasing post titles, but not necessarily titles from posts you wrote on this blog. They come from other blogs.
On this blog, I have several feeds which showcase post titles from two of my other blogs. I also have a listing of the most recent articles titles from Planet WordPress, the official aggregator used on the WordPress Administration Dashboard page for full version WordPress blogs. Supposedly, this is a collection of blogs which offer extensive WordPress information and news.
To highlight the post titles from Taking Your Camera on the Road, I have the straight list of most recently published titles from the full site, and a secondary list of articles titles from only the Web Design Articles Category. Both involve using the new WordPress Widgets.
In the WordPress Widget option under Presentation in the WordPress Administration Panels, I added the feed widgets with the following links.
- Lorelle’s Family History Blog: http://www.cameraontheroad.com/family/feed/
- Taking Your Camera on the Road: http://www.cameraontheroad.com/?feed=rss2
- Taking Your Camera on the Road – Web Design Articles Category: http://www.cameraontheroad.com/wp-rss2.php?s=web+page+design
- Planet WordPress: http://planet.wordpress.org/feed/
Thus, I’ve increased the post title coverage for my other blogs and blogs of interest to my readers.
Setting an Example: How Do You Link to Blogs and Posts
Since you are putting a lot of energy into taking full advantage of how titles are showcased on your blog, shouldn’t you also set an example for others on how to showcase their blog titles and post titles on your own blog? After all, part of what bloggers do the most is write and link to other blogs. So how do you do it?
There are three main ways people link to other blogs from their own.
- Blogroll links.
Link lists.
- Links from within articles.
Blogroll link lists rarely highlight post titles and specific articles. They usually feature the blog title or name. For the most part, you would think that would be easy, but I’ve found it’s not.
As discussed, a blog can have several names. There is the domain name found within the blog’s URL address. It may be the same or different from the name on the blog found in the header or masthead. And it may be the same or different from the title of the blog found in the
title
tag. What do you do if all three are different?
In general, when linking to a blog, use the name they use in their header
section, the most visible “title” on their blog. Or, if you know their name, you can use both such as “Taking Your Camera on the Road” by Lorelle, which covers all your bases.
Link lists come in two fashions. One is just a list of links featuring only post titles or blog titles with post titles. The other is a list that includes the blog title, post title, and a brief description or recommendation.
I personally prefer the latter unless the post title link is in a huge list of resources, typically more than 20 links. If the link list is less than 20, I want to know why you are recommending this link. So write about why your readers should click and leave your site.
In general, link lists should consist of one or two links per item on the list. If the link includes just one link, the information in the single link should look something like this:
Lorelle on WordPress – Writing Effective, Attention-Getting Headlines and Titles on Your Blog |
The link’s text includes the blog’s title as well as the title of the post, giving your readers two important pieces of information: who wrote this and what is it about.
If the link list includes two links per item, it usually features a link to the blog in general, and then a link to the specific post:
Lorelle on WordPress — Writing Effective, Attention-Getting Headlines and Titles on Your Blog |
I’ve seen many bloggers discuss a specific article or topic found on a blog, but they only give a link to the front page of the blog instead of the specific post highlighted. This causes a great deal of confusion for readers who follow the link. They are stuck searching for the information on this new blog, often ending in frustration as they don’t have enough of the keywords to find the right article in their search.
You can use one or two links as part of your reference or recommendation when including a link in an article on your blog. You can use one link to the specific article, or two links to encompass the blog itself as well as the recommended article. Quite often, these title links are followed by an excerpt from the specific article, called a blockquote, such as this example:
According to Lorelle on WordPress in her article called “Writing Effective, Attention-Getting Headlines and Titles on Your Blog”, the title of your blog and posts play an important role in helping people find your blog in search engines:
|
Not all outgoing reference links need to showcase the title of the post or blog. Many incorporate links into the text without referencing the title or subject matter except in the words they use inside of the link text. Therefore, it is critical that the link text provide a hint to what the linked content contains.
In the example I just used, the linked article has nothing to do with the text inside of the link anchor. The article is called “Hook, Line and Sinker: Luring Blog Traffic to Stay” and a more appropriate keyword phrase used in place of the title might be seen in this sentence:
It’s important to consider what efforts you need to make in order to keep your readers reading your blog instead of just looking and leaving.
In general, while there are no strict rules for how to link to articles within your blog’s content, I tend to follow the following guidelines:
- Majority Rules: If the majority of your post content references the linked post and blog, then highlight the blog and the blog title prominently and obviously.
- Quote Rules: If you blockquote and quote from the blog post, then showcase the blog name, post title, and possibly the post author within your quoted reference.
- Minor Usage Rules: If you are making a minor reference and want to provide a link to more helpful information, on or off your blog, then incorporate the link into the text of the article without using the blog name or post title, unless necessary to make your point.
- Link List Rules: If the link is in a list, feature the blog title and post title in the link, together or separately.
Make the link to the article you are recommending obvious and clear so your readers get the information they want and need, and set a good example for others.
Effective Writing and Use of Titles and Headlines
We’ve explored a wide range of how to write, create, and spread the wealth of your well-written titles and headlines throughout your blog and the web. Remember, the key to getting people to read your blog is giving them some bait to lure them in with your titles, as discussed in “Writing Effective, Attention-Getting Headlines and Titles on Your Blog”. The key to getting people to stick around is making sure there is plenty to eat when they arrive.
You can have the best titles on the web, but without good content, you got nothing.
How have you used your titles to get good results from search engines and increased your blog’s stickability and traffic? Have you used these methods? Or other ones? How do you make your blog and post titles work for you? Let us know how you get attention with your titles.
More Information and Resources on Customizing Titles on Your Blog
- Playing with WordPress.com New Sidebar Widgets
- Customizing RSS Feed Links for WordPress.com and WordPress Sidebar Widgets
- Weblog Tools Collection – Top 10 Posts and Views WordPress Plugin on your Blog
- CoLT – Copy Link Firefox Extension
- Optimal Title WordPress Plugin
wp_title()
WordPress Template Tagthe_title()
WordPress Template Tagbloginfo()
WordPress Template Tag- Related Posts WordPress Plugin by Alexander Malov and Mike Lu
- Customizing the Post Meta Data Section in WordPress
- WordPress Codex – Conditional Tags
- WordPress Template Tags: Next and Previous post links
- WordPress Codex – Good Navigation Links
- Coffee2code’s Customizable Post Listings
- Alex King’s Popularity Contest WordPress Plugin
- WordPress Plugins List for Post Archives
Related Articles
- Writing Effective, Attention-Getting Headlines and Titles on Your Blog
- How People Search the Web and How They Can Find Your Blog
- Playing with WordPress.com New Sidebar Widgets
- Don’t You Know What a Feed Is Yet? Get To Know Your Feeds!
- Customizing RSS Feed Links for WordPress.com and WordPress Sidebar Widgets
- Navigating Your WordPress Site
- Hook, Line and Sinker: Luring Blog Traffic to Stay
- What Can The Blogger Do to Make Me a Regular Reader?
- One Year Anniversary Review: Searching and Search Engines
- One Year Anniversary Review: Keywords
- One Year Anniversary Review: The Power of the Link
- Blog Challenge: Testing Your Blog Clicking Experience
- Writing With Post Excerpts and Feed Excerpts in Mind
- Display Post Excerpts Only in WordPress
- Creating Attention Getting Linkable Content
- Dissecting the WordPress Post Title Link
- Change the Post Title – Also Change the Post Slug
- Proofreading Your Content and Code
- You Got To Earn Your Reputation
- Technical Tips for Publishing a Series of Articles on Your Blog
- Linkers Losing Out With Link Lackluster
- When is the Best Time and Day to Post on Your Blog?
- Do-It-Yourself Search Engine Optimization Guide
Site Search Tags: title, headlines, titles, writing titles, wordpress titles, headings, html, css, php, creating effective titles, writing effective titles, title code, title tag, attention, successful titles, blog titles, post titles, writing post titles, article titles, article headlines, template tags, wordpress themes, wordpress template tags, code, coding, title date, post date, post title and blog title, blog name, recent posts, random posts, feature posts, post highlights, article highlights, archives, random, posts, articles, lists, post lists, power headlines, template files, wordpress template files, web design, webdev, keywords, search engines, seo
Copyright Lorelle VanFossen, member of the 9Rules Network
7 Comments
I cannot for the life of me get your post preview teaser script to work. Could you possibly upload it as a plaintext download so that I can make sure I’m getting it as it should be pasted into my template.
Thanks
db
You mean the future post preview script? Sorry about that. It should work fine now as WordPress.com’s core programming changed the apostrophes into character code. I fixed that. It’s a common problem with publishing such code in WordPress and other blogging programs.
Be aware for all code you find on blogs that apostrophes and quote marks are often “prettied” and turned into graphic characters. They HAVE to be text in order to work as programming code. See Writing Code in Your Posts for more information on this.
Working like a treat now! Much appreciated.
http://www.sciencebase.com/tomorrows-headlines.html
db
Your link brought me to a page not found and I went to the blog and didn’t see the future post previews, but I’m thrilled that you got it working.
Also, a little tip. You might not want to set your header link to your feed. Provide an obvious feed link instead. By tradition and default, people assume your header link is to the front page of your blog, not a feed. I was totally thrown by that as I am sure many others are. And since it is the first “link” found by search engines, it isn’t helpful to them either. You want them to find the front page so they can then crawl through all of your pages from there.
Glad to help!
Hi, I was wondering if there was a way to make a post title link to another website?
Thanks.
@Shawn:
No. And it is bad manners to force it to do so. Post titles are created automatically within WordPress. You never want them to do more than be your post title.
Put the link in your post content, where is it supposed to be.
this is very helpful information. please send me updates.
thank you
aida
33 Trackbacks/Pingbacks
[…] Headline Information Overload Everything you have ever wanted to know about headlines and titles, Lorelle has mentioned in her recent post entitled “Creating Effective, Attention-Getting Headlines and Titles“. […]
[…] Lorelle has started a series on writing good headlines and titles on your blog (part 2 here) […]
[…] Everything you have ever wanted to know about headlines and titles, Lorelle has mentioned in her recent post entitled “Creating Effective, Attention-Getting Headlines and Titles“. […]
[…] Creating Effective, Attention-Getting Headlines and Titles […]
[…] Creating Effective, Attention-Getting Headlines and Titles WordPress下網頁Title優化的實施 相關文章: WordPress Plugin華山文化園區趴趴造 Part IWordPress MU 1.0版釋出囉!Wordpress 圖片隨機更換Wordpress 2.0 啟用 […]
[…] Also refer to abundant information on Lorelle’s blog on how to write effective titles for your blogs. […]
[…] Die fett markierten Ausdrücke sind nach eigenen Wünschen anzupassen. Der erste Ausdruck dient als Überschrift für die Anzeige. Via Lorelle. […]
[…] Creating Effective, Attention-Getting Headlines and Titles […]
[…] The point here, though, is how important titles are to the success of your blog and blog posts. Blog post titles are found everywhere, in feeds, emails, most recent posts, most popular posts, search engines, directories, all over the web. They are the first impression most people get of your blog. For more help, tips, and information on writing and using blog post titles on your WordPress blog, see Writing Effective, Attention-Getting Headlines and Titles on Your Blog and Creating Effective, Attention-Getting Headlines and Titles. […]
[…] Creating Effective, Attention-Getting Headlines and Titles […]
[…] know “everyone” does it, but isn’t it frustrating to see a great post title which inspires you to click through from your feeds and start reading only to find out that it is a great rambling-on post that takes […]
[…] has an in depth post on creating headlines and titles. It may be a little too in depth at the moment, but I would add it as one day you will look at it […]
[…] Creating Effective, Attention-Getting Headlines and Titles […]
[…] Creating Effective, Attention-Getting Headlines and Titles […]
[…] If the image is the same size or larger than the header art, 1000 x 288 pixels for the Twenty-Eleven WordPress Theme, it displays the image the width of the slider area making it a background image with the post title over it. No post text is displayed, only the post title, so make it a good one. […]
[…] If the image is the same size or larger than the header art, 1000 x 288 pixels for the Twenty-Eleven WordPress Theme, it displays the image the width of the slider area making it a background image with the post title over it. No post text is displayed, only the post title, so make it a good one. […]
[…] If the image is the same size or larger than the header art, 1000 x 288 pixels for the Twenty-Eleven WordPress Theme, it displays the image the width of the slider area making it a background image with the post title over it. No post text is displayed, only the post title, so make it a good one. […]
[…] Creating Effective, Attention-Getting Headlines and Titles […]
[…] Creating Effective, Attention-Getting Headlines and Titles […]
[…] If the image is the same size or larger than the header art, 1000 x 288 pixels for the Twenty-Eleven WordPress Theme, it displays the image the width of the slider area making it a background image with the post title over it. No post text is displayed, only the post title, so make it a good one. […]
[…] Writing Effective, Attention-Getting Headlines and Titles on Your Blog: Another article that took a long time to write was the two part series on writing effective blog titles and the technical side of making those post titles work for you in WordPress. […]
[…] Creating Effective, Attention-Getting Headlines and Titles […]
[…] Creating Effective, Attention-Getting Headlines and Titles […]
[…] Creating Effective, Attention-Getting Headlines and Titles […]
[…] Creating Effective, Attention-Getting Headlines and Titles […]
[…] Creating Effective, Attention-Getting Headlines and Titles […]
[…] Creating Effective, Attention-Getting Headlines and Titles […]
[…] Creating Effective, Attention-Getting Headlines and Titles […]
[…] Creating Effective, Attention-Getting Headlines and Titles […]
[…] For tips on writing post titles, see Writing Effective, Attention-Getting Headlines and Titles on Your Blog and Creating Effective, Attention-Getting Headlines and Titles. […]
[…] ignore the post slug. Write well-formed post titles that explain the purpose of the article and create an urge to click and your post slug will reflect […]
[…] Creating Effective, Attention-Getting Headlines and Titles – Lorelle on WordPress […]
[…] Creating Effective, Attention-Getting Headlines and Titles – Lorelle on WordPress […]