Changing length of short description on products page (2 posts)

  1. pratham2003
    Posted 5 years ago #


    I need to change the length short description of every product that appears on the http://wordpresstest.x10.mx/wordpress/?page_id=24

    Right now its based on number of words i suppose... I want to change it to display first two sentences... If any one can just point out in which file / function this is related to it would be a great help. I can do the rest.

  2. elfin

    Plugin Author

    Posted 5 years ago #

    it'll be in the eshop-shortcodes.php, look for
    $echo .= apply_filters('the_excerpt', get_the_excerpt());
    within the function eshop_listpages.

    I'll look at adding something to make this easier to adapt in future releases.

    Looks like you are amending the Twenty ten theme, it would be better to create a child theme to avoid changes being over written next time you upgrade WordPress.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic