• Can someone point me in the right direction for creating a generic template that will be used for my store. My theme is Graphene and I am using the shopplugin for my store.

    I dont want my store page to look like a blog/post layout. I would like to try and avoid the loop and just use something generic to fall into a generic div.

    I hope i explained this well.
    Thanks,
    Brian

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter JProductions

    (@jproductions)

    From what I was able to accomplish so far I can make everything show up EXCEPT the content. I can get the title the sidebar and whatever else I have on the page, but the actual content will not show up.

    I tried using this code to make it show up:
    <?php the_content(); ?>

    And that is not working. Is that the wrong code? If so can you tell me what the proper code is?

    Thanks.

    Does your new template include the Loop?

    Thread Starter JProductions

    (@jproductions)

    No I did not include the look, I dont see why I would need to if the only thing that would ever be processed on this page is the store Catalog.

    Well…
    I did “kinf of” include the loop the only function I left out was the first <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
    function, but it still processed the title, date, addthis social networking box.

    But… I did come to a work around by just including this:
    <?php shopp(‘catalog’,’catalog-products’); ?>
    Where this:
    <?php the_content(); ?>
    is supposed to go.

    That fixed my issue, but I am having a problem with my sidebar displaying within the <div id=”content-main” class=”clearfix”> when it is supposed to be displaying just outside that <div> ironically I dont even have that <div id=”content-main” class=”clearfix”> in my php file.

    If you would like to view what I have don’t so far, which isn’t much, and you can see the issues I am talking about you can check it out here:
    http://motodude.com/wp/shop/
    (there is only one product uploaded and the image doesn’t display(http error)
    Thanks!

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

The topic ‘creating a generic page’ is closed to new replies.