WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce - excelling eCommerce
[resolved] limit category archive text (3 posts)

  1. detoner
    Member
    Posted 1 year ago #

    Does anybody know how to limit the archive text (description) that appears on the category landing pages - so we can ensure we only get 2 lines of text (product description) and not 3 else the category products do not line up
    Thanks in advance

    http://wordpress.org/extend/plugins/woocommerce/

  2. detoner
    Member
    Posted 1 year ago #

    for anybody else looking for this you need to edit the template file in my case this was the code with the ,90 dictates how many chars show up

    <?php echo shortcontent('[', ']', '', get_post_field('post_content', $post->ID ) ,90);?>

  3. detoner
    Member
    Posted 1 year ago #

    for anybody else looking for this you need to edit the template file in my case this was the code with the ,90 dictates how many chars show up

    <?php echo shortcontent('[', ']', '', get_post_field('post_content', $post->ID ) ,90);?>

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.