Forum Replies Created
-
AuthorPosts
-
July 26, 2018 at 2:09 am in reply to: How can I get a list of all availability slots for all bookable events. #1583857TimParticipant
Thanks for the reply,
I don’t suppose you could just point me in the direction of the function that converts the custom event timeslots that we create in the admin panel into the front end calendar that customers see
What template this is located in?
August 31, 2017 at 1:21 am in reply to: Event excerpt length function removes Venue excerpt #1342938TimParticipantThanks Victor but I’m afraid it didn’t help π
Just to be clear, I need the event excerpt to be 40 words but the venue excerpt to be 90. FYI I have the following code in my functions file already so I assume this must be causing the problem?
function get_ecommerce_excerpt(){ $excerpt = get_the_excerpt(); //$excerpt = preg_replace(" ([.*?])",'',$excerpt); $excerpt = strip_shortcodes($excerpt); $excerpt = strip_tags($excerpt); $excerpt = substr($excerpt, 0, 90); $excerpt = substr($excerpt, 0, strripos($excerpt, " ")); //$excerpt = trim(preg_replace( '/s+/', '', $excerpt)); return $excerpt; } function new_excerpt_more( $more ) { return '...'; } add_filter('excerpt_more', 'new_excerpt_more');
I’ve also attached a screen grab so you can see what is happening to our venue excerpts.
TimParticipantThis reply is private.
TimParticipantThanks Geoff,
Can you point in the right direction for finding the relevant archive template so I can override it in my theme? Or do I just create a new archive template called e.g. archive-tribe_events.php and put that in the root of my theme?
TimParticipantSorry! Should have wrapped it in code lol, try again…
On my events page I can see that there is an empty
<h1>
in the source code which isnβt ideal for SEO β how can I change this?July 17, 2017 at 1:45 am in reply to: Shortcode for events calendar photo view with limited number #1322018TimParticipantHi Cliff – I got your reply so thanks for that, I’ll vote on the feature request now.
Hi David – hope you get your issue sorted π
TimParticipantThanks Barry that worked brilliantly! I now only have one instance of the recurring event π
Do you know how I can sort the search results by relevance instead of date?
-
AuthorPosts