Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1011581
    bperry420
    Participant

    I have 2 different category pages that I am using as custom links in my navbar. One is called Insights and one is called Case Examples.

    My site URLs:
    http://quantumstrat.com/category/case-examples/
    http://quantumstrat.com/category/insights/

    I need to add a paragraph to the top of the Case Examples category page, but I don’t want it to display on the other category pages.

    How do I achieve this?

    WordPress 4.5.2 running X – Child Theme theme.
    X Version: 4.4.2
    Cornerstone installed Version 1.2.4

    #1011920
    Friech
    Moderator

    Hi There,

    Thanks for writing in! Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:

    – Link to your site
    – WordPress Admin username / password
    – FTP credentials

    Don’t forget to select Set as private reply. This ensures your information is only visible to our staff.

    Cheers!

    #1011975
    bperry420
    Participant
    This reply has been marked as private.
    #1012358
    Friech
    Moderator

    Hi There,

    Add this on your child theme’s function.php file.

    function custom_landmark() { 
     if(is_category( '28' )): ?>
        <div class="custom-landmark">
          <div class="x-container max width">
            <p>SOME TEXT CONTENT HERE</p>
          </div>
        </div>
      <?php endif; 
    }
    add_action('x_after_view_renew__landmark-header','custom_landmark', 30);

    Replace the string SOME TEXT CONTENT HERE with your actual paragraph text.

    Hope it helps, Cheers!

    #1013276
    bperry420
    Participant

    Thank you! You guys are the best! This is why I only build websites in Themeco X Theme.

    #1013297
    Prasant Rai
    Moderator

    On behalf of my colleagues and our team, you are most welcome! Have a wonder day!

  • <script> jQuery(function($){ $("#no-reply-1011581 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>