WordPress.org

Forums

[resolved] How remove quotation marks around title of category page? (4 posts)

  1. d.ban_2_3
    Member
    Posted 4 years ago #

    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.

  2. d.ban_2_3
    Member
    Posted 4 years ago #

    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()) { ?>
  3. alchymyth
    Forum Moderator
    Posted 4 years ago #

    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

  4. d.ban_2_3
    Member
    Posted 4 years ago #

    thanks again alchymyth.
    worked perfectly. :-)

Topic Closed

This topic has been closed to new replies.

About this Topic