WordPress.org

Ready to get started?Download WordPress

Forums

All in One SEO Pack
[resolved] Using "text-transform" to make titles of all posts UPPERCASE (4 posts)

  1. Floyd3
    Member
    Posted 2 years ago #

    Is there a way to do this?

    I tried adding it to the All in One SEO page like this:

    Post Title Format:<div style="text-transform: uppercase;>"%post_title%</div>

    But it didn't work.

    http://wordpress.org/extend/plugins/all-in-one-seo-pack/

  2. Floyd3
    Member
    Posted 2 years ago #

    Does anyone know if this is possible? I suppose it may be more of a WordPress question rather than All in One SEO question.

  3. Floyd3
    Member
    Posted 2 years ago #

    Am I close with the text-transform thing? I google'd the question and searched the forums but couldn't find it.

  4. Floyd3
    Member
    Posted 2 years ago #

    Figured it out if anyone reading this eventually might be trying to do this. Add this code to your header.php file to make the title all UPPERCASE:

    <?php
    function captitle($title) {
         $title = strtoupper($title);
         return $title;
    }
    add_filter('wp_title', 'captitle');
    ?>

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic