Ready to get started?Download WordPress


[resolved] Posttabs use with eshop? (7 posts)

  1. camboki
    Posted 3 years ago #

    Has anyone used posttabs with eshop? I'm having trouble with it on pages that contain the eshop shortcodes (i.e. eshop_show_product)...but the posttabs plugin works great on the product page itself.

    What happens is it shows the all the tab contents (not in tabs, obviously) and then at the end it says
    jQuery(document).ready(function() { if(postTabs_getCookie(‘postTabs_272′)) postTabs_show(postTabs_getCookie(‘postTabs_272′),272); });

    Anyone that can point me in the right direction? It would be much appreciated.

  2. elfin
    Posted 3 years ago #

    well I've not come across posttabs before, it possibly baulking at the way I generate the lists.

    does that plugin use shortcodes, or another method to grab the tabs? it may be possible to disable it for all the listing pages.

  3. camboki
    Posted 3 years ago #

    it uses shortcodes
    how do i disable it on the listing pages?
    thx for the quick response!

    or...if you know of another tabbing plugin that does work...I'm not necessarily glued to postTabs. thx

  4. elfin
    Posted 3 years ago #

    you'd need to use remove_shortcode within eShop's shortcodes - located in eshop-shortcodes.php

  5. camboki
    Posted 3 years ago #

    looking at eshop-shortcodes.php now and i can't find any remove_shortcode? I actually looked for it in all the eshop files and didn't find it anywhere.

    aah haa...you mean the wordpress function remove_shortcode()!!!

    but, i'm still confused. use remove_shortcode to remove the postTabs shortcode that is not being interpreted correctly by eshop? if that is what you mean, then i'm not sure it will accomplish what i'm trying to do.

    let me try to clarify:
    i want to use the postTabs on the product page...and the postTabs shortcode is working perfectly on the product page...the only problem is that on the eshop list page the postTabs shortcode is causing a problem.

    and the problem is that the tabs and associated text are not organized into tabs but print out in one long stream. usually, when a shortcode doesn't get interpreted the shortcode itself prints i.e. "[tab:tabtitle]". this is not happening. it seems that the text is printing but all the postTabs formatting is stripped out.

  6. camboki
    Posted 3 years ago #

    I switched from using pages to posts for my products. Now I use the shortcode [eshop_list_cat_tags] to list the products and it only shows the excerpt so the postTabs are not a problem in the list. go to the product post itself and the tabbed info works perfectly. So this particular problem is solved.

    it would be great if we had a shortcode called [eshop_list_skip]. it would serve to wrap any portion of the description we don't want to show on the list shortcode's output (but do show on the product page itself). this would allow much more flexibility when using pages as products.

    yesterday was my 1st day using eshop. thx for your quick response. i'm still very confused about lots of eshop things...is the forum here the best place to look for clarification? I'm using the help section but it isn't very verbose so...

  7. elfin
    Posted 3 years ago #

    there are a few videos about, which need updating admittedly.

    and yes either here or on the forum over at quirm.net.

Topic Closed

This topic has been closed to new replies.

About this Topic