Ask your WordPress questions! Pay money and get answers fast! (more info)

Question for Gabriel Reguly WordPress

  • SOLVED

Hi Gabriel,

This is the agreed question in order to have the finalised code.

Kind regards

Joss Frimond

Answers (3)

2012-12-30

Gabriel Reguly answers:

Hi Joss,

Thanks for this, please vote for me.

For all other experts, I have helped Joss here: [[LINK href="http://www.wpquestions.com/question/showChronoLoggedIn/id/7635"]]http://www.wpquestions.com/question/showChronoLoggedIn/id/7635[[/LINK]] and he requested a bit more of help, so this question was to pay for it.

The new code is for having a navigation sidebar just as the ones at the home page.


<?php
/*
Template Name: Left & Right Sidebars
*/
?>
<?php get_header(); ?>
</div>
<!-- header-area -->
</div>
<!-- end rays -->
</div>
<!-- end header-holder -->
</div>
<!-- end header -->
<?php truethemes_before_main_hook();// action hook, see truethemes_framework/global/hooks.php ?>

<div id="main">
<?php get_template_part('theme-template-part-tools','childtheme'); ?>
<div class="main-holder">
<div id="sub_nav" style="padding-bottom: 0">
<?php wp_nav_menu(array('theme_location' => 'Primary Navigation' , 'depth' => 0 , 'container' =>false , 'walker' => new sub_nav_walker() )); ?>
<div style="padding: 25px 25px 0 0">
<?php generated_dynamic_sidebar('left'); ?>
</div>
</div>
<div id="content" class="content_sidebar content_right_sidebar">
<?php if(have_posts()) : while(have_posts()) : the_post(); the_content(); truethemes_link_pages(); endwhile; endif; ?>
</div>
<!-- end content -->
<div id="sidebar">
<?php generated_dynamic_sidebar('right'); ?>
</div>
<!-- end sidebar -->
</div>
<!-- end main-holder -->
</div>
<!-- main-area -->
<?php get_footer(); ?>


Regards,
Gabriel


Joss Frimond comments:

I'm glad you got it ok Gabriel. How do I get the code?

2012-12-28

Arnav Joy answers:

what is that?

2012-12-29

Ellah Alzona answers:

What is it?