You are currently browsing the WordPress category

Replace [...] with a Post Link

Posted on December 2, 2011 at 4:48 pm in
more...

Excerpts (teasers) can be shown on WordPress through two methods: Using <?php the_content();?> in your theme template file(s) and then inserting the <!– more–> into your post at your desired cut-off point. Using <?php the_excerpt();?&gt; in your theme template file(s) and allowing WordPress to generate a teaser from the first 55 words of the post’s…

Witty2: A Simple Random Quotes Plugin

Posted on October 25, 2011 at 2:07 pm in
quotes

Years ago, I used a plugin called Witty to display random quotes on one of my blogs. But it was a little crude and required an ability to: Edit theme template files Upload a text file containing your quotes via FTP So, the other day, I decided to update it.

Remove Image Title Attribute

Posted on October 18, 2011 at 4:55 pm in
scissors

When you insert an image within WordPress, the core media.php script will add a title attribute to your image markup. In many cases, that’s one unwanted attribute. Many visually-impaired screen reader users run their software in non-verbose mode — which ignores all title attributes. This is precisely because most web pages are overloaded with useless…

Changing Backgrounds with body class()

Posted on October 11, 2011 at 4:56 pm in
crayons

The body_class() WordPress function attaches a list of classes to the <body> element according to what type of page is being displayed. These classes can be used — in conjunction with your theme’s stylesheet — to display different backgrounds on different pages. Let’s assume your header.php template file contains: <body <?php body_class(); ?>> And your…

Headers Already Sent

Posted on October 7, 2011 at 9:50 am in
message

The most common reasons for seeing this error message in your WordPress site are spaces, new lines, or invisible characters before an opening <?php tag or after a closing ?> tag in one of the site’s scripts. But, in order to fix the problem, you have to know which file is causing the problem.

WordPress Support Services

Top