Search broken
-
Hello,
I have been using the templates for my events site so: events-list.php in my templates folder, it all works except for the search option.
Now if I search anything in the events it just refreshes to the main page of the events not the search results?
My code in events-list.php is<?php /* * Default Events List Template * This page displays a list of events, called during the em_content() if this is an events list page. * You can override the default display settings pages by copying this file to yourthemefolder/plugins/events-manager/templates/ and modifying it however you need. * You can display events however you wish, there are a few variables made available to you: * * $args - the args passed onto EM_Events::output() * */ if (ICL_LANGUAGE_CODE == 'cy' ) { ?> <?php echo do_shortcode('[events_list] <div class="event-item"> {has_image}#_EVENTIMAGE{400, 300}{/has_image} {no_image}<img src="/wp-content/themes/CMF/images/logo400x300v2.jpg" alt="cowbridge music festival"/>{/no_image}<br/> <div class="concert">#_EVENTLINK<br/></div> <div class="e-date">#_EVENTDATES, #_EVENTTIMES<br/></div> <div class="e-more"><a href="#_EVENTURL">Mwy ></a></div> <div class="conc-ex">#_ATT{event_summ}</div> </div> [/events_list]'); ?> <?php } else { ?> <?php echo do_shortcode('[events_list] <div class="event-item"> {has_image}#_EVENTIMAGE{400, 300}{/has_image} {no_image}<img src="/wp-content/themes/CMF/images/logo400x300v2.jpg" alt="cowbridge music festival"/>{/no_image}<br/> <div class="concert">#_EVENTLINK<br/></div> <div class="e-date">#_EVENTDATES, #_EVENTTIMES<br/></div> <div class="e-more"><a href="#_EVENTURL">More ></a></div> <div class="conc-ex">#_ATT{event_summ}</div> </div> [/events_list]'); ?> <?php } ?>
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Search broken’ is closed to new replies.