WordPress.org

Ready to get started?Download WordPress

Forums

Events Manager
[resolved] Display list of events in the middle of the page (5 posts)

  1. dolf h
    Member
    Posted 1 year ago #

    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/

  2. agelonwl
    Member
    Posted 1 year ago #

    do you have a sample link for us to see? also, is that using jquery/javascript?

  3. dolf h
    Member
    Posted 1 year ago #

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

  4. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 1 year ago #

    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="....

  5. dolf h
    Member
    Posted 1 year ago #

    Thank you Marcus, it works.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic