WordPress.org

Ready to get started?Download WordPress

Forums

Events Manager
[resolved] Name of Event Showing Up Twice On Page (5 posts)

  1. abriel_s
    Member
    Posted 1 year ago #

    In all of the single events pages, the name of the event shows up twice on the page. You can view an example of this here: http://testbuzz.illinimedia.com/events/russian-national-ballet-theatre-don-quixote

    I've tried to:

    • make sure I didn't duplicate this twice in the Events > Settings > Formatting > Events, in the Single Events Page format, making sure I didn't duplicate the #_NAME variable twice, but isn't. The following is the code I have:
      <h2 id='eventprevtitle' class='sectitle'>Event Details</h2>
      <h3>#_NAME</h3>
      <div id='event_container'>
      	<span class='events_times_and_date'>#_12HSTARTTIME | #l, #F #j, #Y </span><br/><br/>
      	<div id='eventpage_desc'>#_NOTES</div>
      <div id='eventpage_image' >  #_EVENTIMAGE </div>
      <br />
      </div>
      
      <div id="event_info_box">#_LOCATIONMAP
      <div id="event_details_box">
      <span class='event_info_label'>VENUE:</span>
      <span class='event_detail'> #_LOCATIONNAME</span> <br />
      <span class='event_info_label'>ADDRESS:</span> <span class='event_detail'>#_LOCATIONADDRESS </span><br />
      <span class='event_info_label'>COST:</span>
      <span class='event_detail'> #_ATT{Cost}</span>
       <br />
      
      </div></div>
    • Creating a duplicate of the bookings-event-printable.php file, editing out the <h1><?php echo sprintf(__('Bookings for %s','dbem'), $EM_Event->name); ?></h1> to make sure it wasn't showing up. No result.

    In the browser, this is what shows up when I check the HTML:

    <div id="main">
    <div class="post-40214 event type-event status-publish hentry">
    <h1 class="title">Russian National Ballet Theatre: Don Quixote</h1>	<div class="entry">
    	    <h2 class="sectitle" id="eventprevtitle">Event Details</h2>
    <h3>Russian National Ballet Theatre: Don Quixote</h3>
    <div id="event_container">
    	<span class="events_times_and_date">7:00 PM | Tuesday, January 22, 2013 </span><br><br>
    	<div id="eventpage_desc"><p></p><p></p><p>Get swept away by Cervantes’ imperfect hero, Siegfried’s misplaced affections, the neighborly struggles of the Montagues and Capulets, or the simple poetry of Chopin-inspired dance with the Russian ballet tradition.</p>
    <p>Contact Name: Krannert Center Ticket Office</p>
    <p>Contact Phone: 217/333-6280 or 800/KCPATIX</p>
    <p>Contact Email: kran-tix@illinois.edu</p>
    <p><a href="http://krannertcenter.com/performance.aspx?id=201271991039524128174107143">http://krannertcenter.com/performance.aspx?id=201271991039524128174107143</a></p>
    <p></p>
    <p></p>
    </div>
    <div id="eventpage_image">  <img alt="Russian National Ballet Theatre: Don Quixote" src="http://testbuzz.illinimedia.com/wp-content/uploads/locations-pics/event-31740.jpg"> </div>
    <br>
    </div>

    Where could the possible duplicate be coming from? Any suggestions/help would be greatly appreciated!

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

  2. agelonwl
    Member
    Posted 1 year ago #

    hi,

    few things to try:

    - enabling/disabling title rewriting at Settings > Pages > Event List/Archives > Disable title rewriting

    - enabling/disabling Override with Formats at Settings > Pages > Event Pages

    - see this previous thread http://wordpress.org/support/topic/events-manager-eventslocation-pages-cant-get-sidebar?replies=21

    Or have you tried to temporarily:

    - deactivating all other plugins to see if this resolves the problem. If this works, re-activate the plugins one by one until you find the problematic plugin(s).
    - switching to the default theme to rule out any theme-specific problems

  3. abriel_s
    Member
    Posted 1 year ago #

    Hi,

    I actually figured out after enabling/disabling the Override with Format in the Settings > Pages > Event Pages, it's somehow the formatting of just the singles page.

    But, I overrode the singles page setting, enabling whatever features I wanted and still don't know how to disable the second showing of the event name.

  4. abriel_s
    Member
    Posted 1 year ago #

    I figured out a CSS solution work-around for the moment, but it seems the event, being displayed as a page, causes the blog post title to also be the title of the event.

    Here's the CSS I used to get rid of the duplicated title:
    #main .event .title { display: none; }

    If anyone has a better solution, please let me know.

  5. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 1 year ago #

    i think your theme is adding the first one, and you are adding the second one (the one in the h3 tag) in your format.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic