Pages

Search This Blog

Remove or Customize Default Text and Title Attributes


While I’ve already touched on the customization of a few text elements of the default WordPress theme, there are other little text snippets that can be edited, removed, or appended to. An obvious example is the “Powered by WordPress” section in the footer. Your website’s footer seems simple, but it is potentially a significant part of your site’s look, feel, and overall image.
There are also title attributes that are embedded in anchor tags throughout the site. Here is one example, found in the index.php file:
  1. <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>  
The code above is the section that will display the title of each post listed on your home page. The title attribute in the anchor tag has the super-obvious text of “Permanent link to …” and then the PHP function that spits out the title. You can modify this and other default text that appears throughout your WP theme.

No comments:

Post a Comment

Related Posts Plugin for Blogger...
 

Blog Archive