• Hey guys,

    I want to have a sidebar on my website that appears when someone goes to the ‘services’ page (I want it to list the different services on offer – which will be items on the sidebar menu).

    I’m having real trouble finding a plugin that will allow me to add a sidebar easily… I’ve tried Woo Sidebars and ‘Customized sidebars’ and neither showed up on the site.

    Any help would be very much appreciated – thanks in advance ??

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • the theme already has a ‘Left Sidebar’ page template;

    assuming the ‘services’ page is a static page, you could use that to create a similar ‘Right Sidebar’ page template;
    save it for example, in a child theme, as /page-templates/right-sidebar.php:

    <?php
    /**
     *  Template name: Right Sidebar
     *
     *  The template for displaying Custom Page Template: Left Sidebar.
     *
     *  @package WordPress
     *  @subpackage illdy
     */
    ?>
    <?php get_header(); ?>
    <div class="container">
    	<div class="row">
    		<div class="col-sm-8">
    			<section id="blog">
    				<?php
    				if ( have_posts() ) :
    					while ( have_posts() ) :
    						the_post();
    						get_template_part( 'template-parts/content', 'page' );
    					endwhile;
    				endif;
    				?>
    			</section><!--/#blog-->
    		</div><!--/.col-sm-7-->
    		<?php get_sidebar(); ?>
    	</div><!--/.row-->
    </div><!--/.container-->
    <?php get_footer(); ?>
    

    The theme has dedicated Page sidebar which displays at the right side of the page but if you want to display it at the left side of the page then you can do so by editing page as shown in these screenshots https://imgur.com/a/imdy5

    Thread Starter kath_eck

    (@kath_eck)

    Thank you for your help ??

    You are most welcome here ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Sidebar’ is closed to new replies.