Forums

[Plugin : eShop] (7 posts)

  1. Frederikvdb
    Member
    Posted 1 year ago #

    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

  2. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    To use shortcodes in template files, you need to use something like:

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

  3. Frederikvdb
    Member
    Posted 1 year ago #

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

  4. elfin
    Moderator
    Posted 1 year ago #

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

  5. Frederikvdb
    Member
    Posted 1 year ago #

    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!

  6. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    http://codex.wordpress.org/Category_Templates

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

  7. elfin
    Moderator
    Posted 1 year ago #

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags