MarketPress - WordPress eCommerce
[resolved] Image on page listed above shortcode, appearing below (10 posts)

  1. TheSilverForge
    Posted 2 years ago #

    I have a media image inserted at the top of each page, and the shortcode for a product category list inserted below the image. Since the recent upgrade to MarketPress Lite, the image now appears at the bottom of the webpage instead of the top. Please help!!! http://www.thesilverforge.com


  2. Hi @TheSilverForge,

    Thank you for your question and sorry to hear of the problems you are having.

    I checked your site http://www.thesilverforge.com/ but didn't find any issue there.

    Could you please share me the page link where you are facing the issue?

    Kind Regards,

  3. TheSilverForge
    Posted 2 years ago #


    Thanks for your reply. If you check any of the pages in my shop menu, ie: http://thesilverforge.com/shop/shop-for-rings/, you'll see that the products are listed and then the photo (which I had at the top of the page) now appears at the bottom of the page under the products.



  4. TheSilverForge
    Posted 2 years ago #

    FYI, I have tried making the photo the featured image, but the problem didn't change.

  5. David
    WPMU DEV Support Staff
    Posted 2 years ago #

    Hi @TheSilverForge,

    Hope you're well today! :)

    Looking at the page, I don't see how the product list could display before the other content unless you've got it specified that way in the visual editor.

    In your visual editor, if you go to Text mode, does the shortcode show below the image/link?


  6. TheSilverForge
    Posted 2 years ago #

    Hi David,

    I know, it is very strange.. the shortcode is definitely below the image/link - this is how it appears in the text mode visual editor:

    <img class="aligncenter size-full wp-image-6690" alt="Shop for Rings" src="http://thesilverforge.com/wp-content/uploads/2013/03/Shop-for-Rings-1.jpg" width="1024" height="768" />

    [mp_list_products category="shop-for-rings"]

  7. Hi Ruthie,

    I could reproduce the same issue on my test site so i have notified the plugin developer to fix it.


  8. Hi Ruthie,

    I got reply from plugin developer that in the current plugin version the shortcode is echo-ing by default so it will always show above all other content.

    It will fixed up in next release, but as a quick fix you can just change [mp_list_products category="shop-for-rings"] to [mp_list_products category="shop-for-rings" echo="0"]


  9. TheSilverForge
    Posted 2 years ago #

    That works beautifully, thank you so much... your help is much appreciated! :)

  10. Hi Ruthie,

    You are most welcome, if I can be of any further assistance please don't hesitate to ask :)


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • MarketPress - WordPress eCommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic