• Resolved antonioonwp

    (@antonioonwp)


    I have this shortcode which is working fine besides the content class is not coming through.

    [display-posts post_type=”case” category=”small businesses” wrapper=”div” wrapper_class=”case-slider” content_class=”case-block” image_size=”medium” include_excerpt=”true” excerpt_length=”30″ include_excerpt_dash=”false” excerpt_more=”Read more” excerpt_more_link=”true” include_link=”true”]

    it outputs the following:
    <div class=”listing-item slick-slide slick-current slick-active” data-slick-index=”0″ aria-hidden=”false” style=”width: 390px;” tabindex=”0″>

    I have tried to change the content_class to various classnames with dash, underscore, or without.
    No errors shown in Console.

    I’m on the latest update.

Viewing 1 replies (of 1 total)
  • Thread Starter antonioonwp

    (@antonioonwp)

    Looking through the code I now see that this class option is for when you want to show the content.
    It’s not to add a class to the each “case” which is what I understood at first.

Viewing 1 replies (of 1 total)
  • The topic ‘content_class not working’ is closed to new replies.