Support » Plugin: Multiple Sidebars » call a specific sidebar on custom post type

  • Resolved Cdrice

    (@cdrice)



    Hello,

    Could you please give me a little hand on how always display the same sidebar on single.php ?
    I have a theme that’s using this plugin, so the coding is a little different i think, but the solution may be the same
    How can i know the slug/id of a sidebar i’ve created, to always show the same sidebar on a custom post type i’ve created ?
    I’d like my archive and single always show a sidebar i named “homepage”

    Here is the code i have in my single.php :
    <?php generated_dynamic_sidebar(); ?>

    Thx for the help !

    https://wordpress.org/plugins/multiple-sidebars/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘call a specific sidebar on custom post type’ is closed to new replies.