• The given code left sidebar product list

    ?php
    /*
    Template Name: products-page
    */
    ?>
    <?php get_header(); ?>
    <div id=”wrapper”>
    <div width=”1024″ height=”200″>
    <img src=”<?php the_field(‘product_header_image’); ?>” />
    </div>
    <div id=”sectionproducts”>
    <div id=”leftmenu”>
    <ul id=”menu”>
    <li id=”producthead”>Products
    <?php the_field(‘products_list’); ?>

    </div>
    <div style=”clear:both”></div>
    <!–start of section3 & section4 tag–>
    </div>
    </div>
    <?php get_footer(); ?>

  • The topic ‘how to add custom left sidebar template in each pages’ is closed to new replies.