WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] How remove quotation marks around title of category page?

[Resolved] How remove quotation marks around title of category page?

  • Please can someone tell me how to remove the quotation marks that surround ‘blog’ and ‘dude for thought’ on here
    and here.
    Site Username: test
    Site Password: test1

    Many thanks,
    Dan.

Viewing 3 replies - 1 through 3 (of 3 total)
  • anyone? here is the code I have a feeling I have to edit from the archive.php

    <div class="art-PostContent">
    
    <?php $post = $posts[0]; // Hack. Set $post so that the_date() works. ?>
    <?php /* If this is a category archive */ if (is_category()) { ?>
    <h2 class="pagetitle"><?php printf(__('‘%s&#8217', 'kubrick'), single_cat_title('', false)); ?></h2>
    <?php /* If this is a tag archive */ } elseif( is_tag() ) { ?>
    <h2 class="pagetitle"><?php printf(__('Posts Tagged ‘%s’', 'kubrick'), single_tag_title('', false) ); ?></h2>
    <?php /* If this is a daily archive */ } elseif (is_day()) { ?>
    Michael
    Forum Moderator

    @alchymyth

    you are right; this is it ‘%s&#8217

    try and change from:
    <?php printf(__('‘%s&#8217', 'kubrick'), single_cat_title('', false
    to:
    <?php printf(__('%s', 'kubrick'), single_cat_title('', false

    thanks again alchymyth.
    worked perfectly. 🙂

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] How remove quotation marks around title of category page?’ is closed to new replies.