Tagged: , ,

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #606024

    I’d like to remove the social links on the bottom of the page from blog posts in a particular category. I don’t know much at all about PHP yet, but I’ve read about wp conditionals and I think the code will look something like this:

    <?php
    if (in_category(X)) {
    <div class="av-share-box” style="display:none;”>;
    }
    ?>

    Two questions, really.
    1. Is this right? Or close at all?
    2. Where would I paste the code once it’s correct? This, I believe, is the theme-specific portion of the solution.

    Any direction here is greatly appreciated!

    #606027

    Hi lbccomm!

    Can you please post the link to your post in that specific category?

    Regards,
    Yigit

    #606034

    Thanks for the quick response. Here you go!

    #606039

    Hi!

    Please add following code to Quick CSS in Enfold theme options under General Styling tab

    .category-here-for-you .av-share-box {
        display: none !important;
    }

    Regards,
    Yigit

    #606041

    That worked brilliantly! Thanks for great customer service!

    #606050

    Hey!

    You are welcome!
    For your information, you can take a look at Enfold documentation here – http://kriesi.at/documentation/enfold/
    And if there are features that you wish Enfold had, you can request them and vote the requested ones here – https://kriesi.at/support/enfold-feature-requests/
    For any other questions or issues, feel free to post them here on the forum and we will gladly try to help you :)

    Best regards,
    Yigit

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Remove social links from posts in certain category’ is closed to new replies.