Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor ModDish

    (@moddish)

    you could add a attribute to the shortcode named limit

    ex : limit=”3″ then if limit exists add the LIMIT 3 to the sql call.

    Thread Starter alexislp

    (@alexislp)

    Thanks.

    So i’m adding it to the shortcode:
    <?php echo do_shortcode(‘[product des=”no” limit=”3″]’); ?>

    But where is the sql call? which page?
    Thank you very much for your help.

    Plugin Contributor ModDish

    (@moddish)

    you need to code that into the plugins php file…its not a built in feature.

    Thread Starter alexislp

    (@alexislp)

    Ok can you give me the exact code that I need to insert?
    Because it’s getting complicated for me.
    Thank you!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Number of products to display’ is closed to new replies.