Support for Envato Buyers Forums OldCar Category Page Title

Viewing 2 reply threads
  • Author
    Posts
    • #6517
      rsharpe75
      Member

      Hi,

      How can I add the title and description on category pages and on tag pages when using grid view?

      Regards

    • #6589
      rsharpe75
      Member

      Hi,

      I managed to get this fixed. Please mark as resolved.

      Regards

    • #6595

      Great!

    • #6528

      Just tell you some wordpress functions, you can put them to the right place in the archive.php and tag.php

      Show the category name

      <?php echo single_cat_title( '', false);?>

      Show the category description

      <?php echo category_description();?>

      Show the tag name

      <?php echo __('Tag: ','OldCar'). single_tag_title('', false);?>
      

      Thanks

    • #6586
      rsharpe75
      Member

      Hi,

      I managed to get this to work on the archive.php page and it was quite easy. I’m not sure how to do it on the tag.php page since it doesn’t seem to render html but wants to use php instead.

      This is what I am trying to add:

      <pre class=”brush: html; gutter: true; first-line: 1; highlight: []; html-script: false”>
      <div class="blog-article-header media">
      <div class="bd">
      <h1 class="blog-article-title">" rel="bookmark"><?php echo __('Tag: ','OldCar'). single_tag_title('', false);?></h1>
      </div>
      </div>

Viewing 2 reply threads
  • You must be logged in to reply to this topic.