WordPress.org

Support

Support » Themes and Templates » Separate sidebar.php for mobile?

Separate sidebar.php for mobile?

  • I’m creating a responsive website theme and I want to use <?php get_sidebar(); ?> in 2 areas. 1 that is activated if the browser is viewed within a certain width and the other will disappear if viewed within a certain with. Only one is being displayed though, so how do I create another sidebar with the same menu?

  • The topic ‘Separate sidebar.php for mobile?’ is closed to new replies.