WordPress.org

Forums

Events Manager
[resolved] I couldn't change single event style (13 posts)

  1. The-Chair
    Member
    Posted 8 months ago #

    Hello,

    I searched a lot on the forum, but couldn't find my answer.

    My single event page is: http://www.eendracht-colmschate.nl/events/het-stijlorkest-een-avond-met-stijl-de-kuip/

    On the top you see he is getting the thumbnail from my standard post template. I tried several settings via Settings > Pages by the firstfunction. When I change to another template or from pages to post nothing differences happens.

    Also I didn't want to have the breadcrumbs.
    I read about the single-event.php. I upload also this file. But also no result. Where must I copy the single-event.php?

    When you need more information, just ask.

    EVENTS MANAGER 5.5.3.1

    https://wordpress.org/plugins/events-manager/

  2. caimin_nwl
    NetWebLogic Support
    Posted 8 months ago #

    Hi,

    Have you made the edits to remove breadcrumbs, etc. to single-event.php?

  3. The-Chair
    Member
    Posted 8 months ago #

    No, in my single-event.php I have he next lines. I take it from another post on this forum.

    But I don't think this option workes in my theme at all. Because when I set it to page it had to have other sidebars then when I choose for post.

    Any idea? It is not only the breadcrums but also the thumbnail at the top (the small one).

    <header class="entry-header">
    <h1 class="entry-title"><?php echo $EM_Event->output('#_EVENTNAME'); ?></h1>
    </header>
    <div class="entry-content">
    <p><?php echo $EM_Event->output('#_EVENTNOTES'); ?></p>
    </div>

  4. The-Chair
    Member
    Posted 8 months ago #

    Also for the location page nothing happens when I change the setting Give the locations as from page to post or otherwise.

    Check this page too

    May be I have placed the single-event.php on a wrong location? I placed it direct in my theme folder!

  5. angelo
    NetWebLogic Support
    Posted 8 months ago #

  6. The-Chair
    Member
    Posted 8 months ago #

    Dear angelo,

    Thanks for the tip. It was partily helpfull. I have also another site where I want to change the style. There it works now.

    See this link

    I placed the single-event.php and I could change the syle. Works perfect also with the costum attributes.

    But on the site from this post still no effect. I think my theme is blocking it. Did you have any idea what this could be?

  7. caimin_nwl
    NetWebLogic Support
    Posted 8 months ago #

    Are you using a child theme?

  8. The-Chair
    Member
    Posted 8 months ago #

    No, it is not a child theme.

    The theme I use is SimplenBright.

  9. The-Chair
    Member
    Posted 8 months ago #

    I delete and reinstall the pluging, without success.

    Link is change to http://www.eendracht-colmschate.nl/events/een-avond-met-stijl-de-kuip-met-het-stijlorkest/

    Must I place the single-event.php may be in a plugin folder in my theme folder or is this only to overide other templates?

  10. Mysticalsam
    Member
    Posted 8 months ago #

    Hi The-Chair

    Open your theme folder and look for single.php
    clone it and rename it to single-event.php
    then make changes in that file. Any single event will load this template

    make sure not to delete header and footer. if you don't want sidebar you can delete that too in single-event.php

  11. The-Chair
    Member
    Posted 8 months ago #

    Dear Mysticalsam,

    Thanks for your reply.

    I tried also to copy the single.php. Without success. I have installed also the 24 theme from WP. And tried it also with the single.php and then it works. What I programm in the single-event.php I see online.

    So it is something in the theme settings which didn't override this plugin.

    Could it be something in the functions.php?

  12. The-Chair
    Member
    Posted 8 months ago #

    Problem is triggerd.

    I have used the next script to make several diffent templates for my video postpages.

    For this I have a folder single in my theme directory. When I delete this folder problem is solved. So now I have to find a solution how I could add a single template in this folder for the Event Manager plugin.

    Edit 11:15 hour.

    Problem is completely!

    I have made for my news post seperate templates in the single folder and the single.php in this folder I'm going to use for the EM.

    I want to thank everybody for the good and fast help.

  13. The-Chair
    Member
    Posted 8 months ago #

    topic is closed

Reply

You must log in to post.

About this Plugin

  • Events Manager
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic