Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1245775
    Jan Hoogland
    Participant

    Hi,

    How do I remove the link-tags from the php-shortcode which dipslay’s the category beneath the portfolio-items? Can U tell me in which file do I have to look?

    Thanks!

    #1245854
    Thai
    Moderator

    Hi There,

    Please provide us with your website URL so we can take a closer look.

    Thanks.

    #1245956
    Jan Hoogland
    Participant

    Hello,

    The website is running on localhost, unfortunually I can’t send a url. But from my experiance I know there must be a code somewhere which displays the category like ‘get_the_category’. And probably there are tags around it which link to the Archive page. I will provide a screenshot of my website.

    Thanks!

    #1245958
    Jan Hoogland
    Participant
    This reply has been marked as private.
    #1246013
    Rupok
    Member

    Hi there,

    Thanks for the screenshot. Let’s try turning off the “Post Meta” from Customize > Portfoliohttp://prntscr.com/d3tztm

    Cheers!

    #1246624
    Jan Hoogland
    Participant

    Hi!

    That’s not exactly what I want. I want that the categories are visible (when I turn off the “Post Meta” there arn’t visible at all), but not as a link, only as text. I know that is possible, but I don’t know in which file I have to make the changes 🙂

    Thanks!

    #1246666
    Christopher
    Moderator

    Hi there,

    Yes, that’s right. If you disable ‘Post meta’ there will be no categories. Please enable this option.

    To disable categories link, please add following code in Customize -> Custom -> Global JavaScript :

    jQuery(".p-meta span:nth-child(3) a").removeAttr("href");

    Hope it helps.

    #1246699
    Jan Hoogland
    Participant

    Amazing support! Thanks!

    #1246703
    Paul R
    Moderator

    You’re welcome! 🙂

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