Forums

creating a generic page (5 posts)

  1. JProductions
    Member
    Posted 1 year ago #

    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

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

  3. JProductions
    Member
    Posted 1 year ago #

    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.

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

    Does your new template include the Loop?

  5. JProductions
    Member
    Posted 1 year ago #

    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!

Topic Closed

This topic has been closed to new replies.

About this Topic