• Hi there,

    sorry if there is allready a topic somewhere here about this, but im tired of searching ^^

    I realy like the plugin! But now i have the folowing issue:
    I want the index to show the 8 latest products. I found out i can make this happen by using the shortcodes, but if i use them in my textedditor in the index.php file of my wp theme, it doenst work..

    Can you please help me
    Thanks

Viewing 6 replies - 1 through 6 (of 6 total)
  • To use shortcodes in template files, you need to use something like:

    <?php echo do_shortcode('[eshop_list_subpages panels=yes]');?>

    Thread Starter Frederikvdb

    (@frederikvdb)

    It looks like i’m doing something wrong..

    <div id=”content”>

    <?php if(have_posts()) : ?><?php while(have_posts()) : the_post(); ?>

    <?php echo do_shortcode(‘[eshop_list_subpages panels=yes]’);?>

    <?php endwhile; ?>

    <?php else : ?>

    <div class=”post”>
    <h2><?php _e(‘Not Found’); ?></h2>
    </div>

    <?php endif; ?>

    </div><!– end content –>

    Anonymous User

    (@anonymized-3085)

    should be:
    do_shortcode('[eshop_list_subpages panels="yes"]');

    Thread Starter Frederikvdb

    (@frederikvdb)

    Thanks for reply, but still doenst work.. But lets go a level higher.

    I have a seks webshop, and i want the folowing:
    Homepage : slider with 8 most populair sold items
    Homepage : 8 more populair sold items or just last new items..

    Then i want to create categories: Lingerie, Shoes, Accesories, Toys, …

    Is this all able with eShop? Beleve me i searched alot but didnt find anything yet.. Ill keep searching while waiting for answer 😉

    EDIT : I know i can use shortcodes for the populair items, but i dont know how i can devide products into categories, en then just display them on the correct page..

    Thanks!

    http://codex.wordpress.org/Category_Templates

    This has nothing directly to do with eShop. It’s about learning how to use WordPress effectively.

    Anonymous User

    (@anonymized-3085)

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘[Plugin : eShop]’ is closed to new replies.