Tim

Forum Replies Created

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • Tim
    Participant

    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?

    in reply to: Event excerpt length function removes Venue excerpt #1342938
    Tim
    Participant

    Thanks 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.

    in reply to: Events page h1 #1323156
    Tim
    Participant

    This reply is private.

    in reply to: Events page h1 #1322533
    Tim
    Participant

    Thanks 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?

    in reply to: Events page h1 #1322037
    Tim
    Participant

    Sorry! 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?

    Tim
    Participant

    Hi 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 πŸ˜‰

    in reply to: Recurring events dominate site search results #1314324
    Tim
    Participant

    Thanks 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?

Viewing 7 posts - 1 through 7 (of 7 total)