Support » Plugin: Events Manager » Display list of events in the middle of the page

  • Resolved dolf h

    (@dolf-h)


    In order to display the list of events with the search-form on tóp of my eventspage (normaly there is more text above the search-form) I changed line 22 of events-search.php from:

    <form action=”<?php echo EM_URI; ?>” method=”post” class=”em-events-search-form”>

    into

    <form action=”#form” method=”post” id=”form” class=”em-events-search-form”>

    It works perfect. My visitors do not have to scroll down to see the eventlist. However, I haven’t succeeded in obtaining that same result , when clicking on a page with events in the calender widget.
    Does anyone know how to change this?

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • do you have a sample link for us to see? also, is that using jquery/javascript?

    The website: http://www.opendag.nu is still protected with a password: testingwp.
    It is using jquery and javascript.

    Plugin Author Marcus

    (@netweblogic)

    i see what you mean, you’d need to edit your calendar template for that e.g.

    copy templates/templates/calendar-full.php
    to yourthemefolder/plugins/events-manager/templates/

    and edit this line so instead of

    <a href="<?php echo esc_url($cell_data['link']); ?>" title="....

    it’s

    <a href="<?php echo esc_url($cell_data['link']); ?>#form" title="....

    Thank you Marcus, it works.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Display list of events in the middle of the page’ is closed to new replies.