Viewing 1 replies (of 1 total)
  • Plugin Author htmlBurger

    (@htmlburger)

    Hi @knath632,

    This functionality is not related with Carbon Fields. You’ll have to build your own custom logic to handle this.

    We can recommend that make your choose sidebar field accessible from all of your theme (store it as a theme option, or have another way of easy fetching it without hardcoding a post ID). Then, render that sidebar using dynamic_sidebar() in a sidebar file, and call get_sidebar() in all templates where you want it. For example, if you name your sidebar file sidebar-custom.php, you can call with the following code in your archive, category and single page templates in your theme:

    get_sidebar( 'custom' );

    Please, let us know if you have further questions.

Viewing 1 replies (of 1 total)

The topic ‘Keep same dynamic sidebar setting as blog’ is closed to new replies.