[Support request] Adding text at the bottom of categories

Home Forums Support [Support request] Adding text at the bottom of categories

Home Forums Support Adding text at the bottom of categories

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #618367
    Maria

    I would like to add text at the bottom of woo commerce categories below the products (for example on this page), different text for different categories. Is that possible? Or is there a plugin or code?

    GP Premium 1.6.2
    #618494
    David
    Staff
    Customer Support

    Hi Maria,

    you could use GP Hooks and add a Conditional Tag like so:

    <?php if ( is_product_category( 'category_slug' ) ) : ?>
        <div class="grid-container">
        This Content will ONLY show on the categories that match the category_slug
        </div>
    <?php endif; ?>

    You would need to write one for each of the categories. If you are willing to wait a week or so then GP 1.7 (currently in Beta) will allow you to do this without writing code 🙂

    https://generatepress.com/gp-premium-1-7/

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.