admin管理员组

文章数量:1317572

I want to display custom field's content in the sidebar on specific pages in WordPress so can anyone have an idea about it then please share it with me.

Thanks In Advance...

I want to display custom field's content in the sidebar on specific pages in WordPress so can anyone have an idea about it then please share it with me.

Thanks In Advance...

Share Improve this question edited Nov 2, 2020 at 13:01 Deep Shah asked Nov 2, 2020 at 6:48 Deep ShahDeep Shah 1156 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 2

First you have to register the sidebar if you haven`t done yet with register_sidebar( $args );, then display it in the page: dynamic_sidebar( $sidebar ); see documentation at: https://codex.wordpress/Sidebars

本文标签: how to display sidebar on pages in wordpress