WordPress.org

Ready to get started?Download WordPress

Forums

Events Manager
[resolved] getting rid of widgets on single event page - 'page' template not working (5 posts)

  1. zakiazakiazakia
    Member
    Posted 1 year ago #

    Hi

    I was wondering if someone could tell me how to get rid of the widget from my theme that appears on the single event page - http://www.citizensuk.org/events/london-citizens-2-day-introduction-to-community-organising-training-course-2/.

    The 'page' setting within the Events Manager settings does not seem to be working.

    I'd also like to get rid of the search on the page if possible.

    Thanks
    Zakia

    http://wordpress.org/extend/plugins/events-manager/

  2. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 1 year ago #

    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?

  3. zakiazakiazakia
    Member
    Posted 1 year ago #

    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

  4. agelonwl
    Member
    Posted 1 year ago #

    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

  5. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 1 year ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic