开发者

How can i manimulate the pages added in admin side of wordpress?

开发者 https://www.devze.com 2023-01-07 12:10 出处:网络
I have added two pagesthrough admin side(About us, privacy policy) How can i show the \'About us\' link in header section and \'privacy policy\' link i the footer开发者_运维知识库 section of client s

I have added two pages through admin side(About us, privacy policy)

How can i show the 'About us' link in header section and 'privacy policy' link i the footer开发者_运维知识库 section of client side, dynamically


That really depends on the theme you are using. For example, themes can use wp_list_pages or (in WP3.0) wp_nav_menu to automatically list all or some pages on your site, the latter having a page on the admin side of things where you can choose which pages you want in each menu defined in the theme.

0

精彩评论

暂无评论...
验证码 换一张
取 消