WordPress.org

Support

Support » Plugins and Hacks » [Resolved] getting rid of widgets on single event page – 'page' template not working

[Resolved] getting rid of widgets on single event page – 'page' template not working

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Marcus
    Participant

    @netweblogic

    if the page option doesn’t work then chances are you need to modify your theme by copying the page.php file in yoru theme and renaming it single-event.php

    to get rid of search,see Events > Settings > Pages > Event List.. > Show events search?

    zakiazakiazakia
    Member

    @zakiazakiazakia

    Hi Marcus

    Thanks for getting back so quickly, it’s much appreciated. Should I have both page.php and single-event.php in the same theme folder then? I did this and got an internal server error. I’ve deleted single-event.php and restored it back to normal.

    What else can I do to get rid of the widget (if I’ve done the above correctly)?

    Thanks!
    Zakia

    agelonwl
    Member

    @angelonwl

    yes, you should have both page.php and single-event.php in your theme folder; wherein single-event.php is a duplicated copy of your page.php

    e.g. http://wordpress.org/support/topic/events-manager-eventslocation-pages-cant-get-sidebar?replies=21

    Plugin Author Marcus
    Participant

    @netweblogic

    you may need to make more changes i.e. to class names in your html, depends on your theme, but first step would be to remove the get_sidebar() function in these files.

    If your pages don’t have a sidebar though, then copying the above file and renaming should produce the same layout as a normal page, i.e. no sidebar

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] getting rid of widgets on single event page – 'page' template not working’ is closed to new replies.