Edit Search Template

This topic contains 4 replies, has 3 voices, and was last updated by  Bond Nwonye 8 years, 8 months ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #22811

    Hi,
    which file do I have to edit if I want to change labels and the look of the search in the event list?
    In my current form there are some labels missing and I don’t know how to fix this.Thanks

    Marcus Müller
    #22825

    In Pro, event-organiser-pro/templates there is a search-event-list.php template. You can edit that file to change what is displayed by the search results.

    Stephen Harris
    #22872

    Hi, I don’t want to change the search results I just want to edit the search form. It s the

    <

    div class=”eo-event-search search”>
    but I can`t find the div :/

    Marcus Müller
    #22879

    That mark-up can be found in the function _eventorganiser_event_search_shortcode_handler() around line 161 in event-organiser-pro/includes/shortcodes.php (specifically the $html function).

    The only way of changing that part is to edit that function. I don’t recommend doing this as, unlike copying a template into your theme, updating the plug-in will cause changes to be lost.

    Stephen Harris
    #23322

    Hi Stephen,

    If I may piggyback on this request by Marcus Muller, I, too, would like to edit the div tags surrounding the search form to make it more responsive, as the fields are all jumbled together when viewed by mobile. Any chance of doing this in the function

    _eventorganiser_event_search_shortcode_handler()

    inside

    event-organiser-pro/includes/shortcodes.php

    ? Can one child theme this file? Having the form fields vertically arranged top down in a responsive display will be user-friendly to mobile users.

    Bond Nwonye
Viewing 5 posts - 1 through 5 (of 5 total)
To enable me to focus on Pro customers, only users who have a valid license for the Pro add-on may post new topics or replies in this forum. If you have a valid license, please log-in or register an account using the e-mail address you purchased the license with. If you don't you can purchase one here. Or there's always the WordPress repository forum.