• Resolved Ingrid Moyle

    (@heartharmony)


    Great plugin! Thank you.

    I have a site with 2 different blog pages – one displays posts by members and the other by committees. Posts appear on the relevant page depending on the relevant category they are assigned.

    Is there any way to only display the author bio box on posts with certain categories and not on the other categories?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author faycalboutam

    (@faycalboutam)

    Hey : )

    Without overriding the plugin core files, you can do that with CSS only… ex:

    .single article.category-art .expand_divi_author_box {
        display: none;
    }

    This will hide the author box on the posts with the “Art” category. If you want to add another category, you do something like this:

    .single article.category-art .expand_divi_author_box,
    .single article.category-sport .expand_divi_author_box {
        display: none;
    }

    And so on…

    Thread Starter Ingrid Moyle

    (@heartharmony)

    Thank you – perfect!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Display Author Box Only On Certain Categories’ is closed to new replies.