Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #299108

    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

    #299260

    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

    #299324

    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.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘To customize my page, without creating a template, with a widget’ is closed to new replies.