H2 for posts tags

This is a PRIVATE forum for verified users only, to view all replies/answers, you must be logged in!

Status: not resolved
  • This topic has 3 replies, 2 voices, and was last updated 9 h, 23 m by  Jacob.
Viewing 3 reply threads
  • Author
    Posts
    • #17566

      marcorroma
      Member

      Hello,
      Is it possible, using the functions.php file in the child theme, to add a code to the beginning and end of a post’s tags?
      Want to use H2 for post tags.

      I tried to edit the template-tags file, both child and not, but I can’t change anything …. Very strange.
      Thanks

    • #17603

      Jacob
      Staff

      Hey there, You must be logged in to view this reply!

      Login | Register | Forgot Password?

    • #17616

      marcorroma
      Member

      I modified line 540 but nothing happens.
      This is my line 540:

      echo '<span class="tags-links meta-info">' . ( $tag_title ? wp_sprintf('<strong>%s</strong> ', $tag_title ) : '<h2>' ) . $tags_list . '</span></h2>'; // WPCS: XSS OK

    • #17634

      Jacob
      Staff

      Hey there, You must be logged in to view this reply!

      Login | Register | Forgot Password?

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

This is a PRIVATE forum for verified users only, to view all replies/answers, you must be logged in!

© Copyright 2019 by wpthms.com. All Rights Reserved.