WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. TheSilverForge
    Member
    Posted 6 months 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

    http://wordpress.org/plugins/wordpress-ecommerce/

  2. WPMU DEV
    Member
    Posted 6 months ago #

    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
    Member
    Posted 6 months ago #

    Hi,

    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.

    Cheers,

    Ruthie

  4. TheSilverForge
    Member
    Posted 6 months ago #

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

  5. David
    WPMU DEV Support Staff
    Posted 6 months 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?

    Thanks,
    David

  6. TheSilverForge
    Member
    Posted 6 months 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. WPMU DEV
    Member
    Posted 6 months ago #

    Hi Ruthie,

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

    Cheers,

  8. WPMU DEV
    Member
    Posted 6 months ago #

    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"]

    Cheers,

  9. TheSilverForge
    Member
    Posted 6 months ago #

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

  10. WPMU DEV
    Member
    Posted 6 months ago #

    Hi Ruthie,

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

    Cheers,

Reply

You must log in to post.

About this Plugin

About this Topic