Wordpress Page Template - multiple sidebars

/ Published in: PHP
Save to your folder(s)

Change to line in page template file to call a different sidebar.

Copy this code and paste it in your HTML
  1. <?php get_sidebar(); ?>
  2. changes to
  3. <?php include ('sidebar-name.php'); ?>

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.