Can I have a sidebar on portfolio pages?
  • jnfrandjnfrand
    June 2012
    I have been through the videos and I think the answer is no. But, you would know best. I would love to have the ability to put some ads on my portfolio page, my portfolio pages are product reviews so...it would make sense monitarily. Any suggestions? Is there a way that I have missed?
    Thanks,
    Jennifer
  • Yes you can... just change the template that it uses to one with a sidebar... under page attributes...
  • jnfrandjnfrand
    June 2012
    Are you sure? The way it is set up is if I make a portfolio page there is no option for a sidebar. There is no page attributes or template...?
  • jnfrandjnfrand
    June 2012
    To clarify...I am talking about the portfolio items that are listed below, where videos and pics go: recommended, recent and popular...
  • Ay... you can put this into the template you are using:


    <div class="sidebar sidebar-<?php echo of_get_option('sidebar', 'right'); ?>">
    <?php
    if (!function_exists('dynamic_sidebar') || !dynamic_sidebar('Portfolio Sidebar')):
    endif;
    ?>
    </div>
    <!-- close .sidebar -->
    <div class="clearfix"></div>