- This topic has 1 reply, 2 voices, and was last updated 6 years, 9 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- The topic ‘Trusted Pro Theme Page templates’ is closed to new replies.
Home › Forums › Trusted Pro › Trusted Pro Theme Page templates
Can I create new pages templates where I can add different widget areas on specific page.
For example, could I have a contact pages template where i could add a sidebar that only shows on that page?
I recommend the Widget Options plugin.
Install that plugin and then add a widget to the ‘Page Sidebar’ and control which pages it appears on with the extra settings that the plugin adds to the widget.
For example, make a note of the page ID of your contact page and add is_single( '27' )
(change ’27’ for your actual page ID) in the ‘Logic’ tab of the Widget Options settings.
The conditional tag is_single( '27' )
will only show the widget on the page with the ID of 27.
See the image below where I have marked the location of the ‘Logic’ tab with the green arrows.