kwameboame
Forum Replies Created
-
@marcus, thanks. What I want to know is, do I delete the current code in the event-single.php file of Events Manager and just put my code there for it to display or do I have to change the name of the file (event-single.php)?
I actually tried deleting the current code in event-single.php (below)
[Code moderated as per the Forum Rules. Please use the pastebin]
This didn’t bring the results I expected. Only the title of the content showed and then there was my “Sorry, no events found” message. It showed many times as I scrolled down.
What am I doing wrong? Thanks.
@agelonwl I already have custom post types created. I just can’t figure out how to call and display my post type’s posts in Event Manager’s event-single.php file. Do you have any thoughts/ ideas how to do this? Thanks.
I followed through with the tutorial but there must be something wrong.
I copied the code from my custom single event pages to Event Manager’s single event page but I still couldn’t get content to display.
How do I modify the template files so that my code is executed and my content is shown? Do I have to delete anything in the original plugin folder?
Thanks.
Hi Bill,
I want to add a “search events by date” feature on my site with this plugin. This is what I have for my search form:
<form action="<?php bloginfo('url'); ?>/" method="get" class="events-search-form"> Event Search: <input type="text" value="<?php the_search_query(); ?>" name="s" id="s" class="searchinput" /> <!-- START Date Search --> <span class="events-search-dates"> <?php _e('between','ghes'); ?>: <input type="text" id="date-start-loc" class="inputbox"/> <input type="hidden" id="date-start" name="scope[0]" value="<?php $start ?>" /> <?php _e('and','ghes'); ?> <input type="text" id="date-end-loc" class="inputbox"/> <input type="hidden" id="date-end" name="scope[1]" value="<?php $end ?>" /> </span> <!-- END Date Search --> <input type="hidden" name="_wpnonce" value="<?php echo wp_create_nonce('search_events'); ?>" /> <input type="submit" value="<?php _e('Search','ghes'); ?>" class="darkbtn" /> </form>
I couldn’t get this to work. Maybe I’m making a mistake somewhere? Please help.
Thanks.