To customize my ‘videos’ page, without creating a template, I edit page.php.
Instead of: get_sidebar (); i write: if (is_page (‘videos’)) {get_sidebar (‘videos’); } Else {get_sidebar (); }
ID of my page is: videos
The name of the new widget area is: videos
when i put a widget in widget area, it’s not working ;-(
please, can you help me
best regards
Hey michel6769!
You can use the themes own custom sidebar functionality to create your own separate videos sidebar or use this plugin to select widgets to be displayed on only certain pages http://wordpress.org/plugins/display-widgets.
Your code won’t work however as its not valid code without a support sidebar php file.
Cheers!
Devin
Hey Devin,
In fact with Enfold it’s very easy to do that with custom sidebar functionality.
no plugin, no programmation!!! ;-)
Thank you very much.
Best regards.