remove title on special events page

Home Forums Calendar Products Events Calendar PRO remove title on special events page

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1410518
    Mel
    Participant

    Hi….

    I have a shortcode: [tribe_events category=”special-events” view=”photo”] that works fine!

    The problem is that an ugly title is on the page? I have no idea where the title comes from and want to removed the title so I can add my own page header….

    see attached pic….

    Thanks
    Mel

    #1411085
    Crisoforo
    Keymaster

    Hi Mei!.

    I hope you are doing great. I’m not sure if you are referring to the title inside of the red circle (see next image).

    Let me know if that’s correct if that’s the case you can hide the title on the categories using a filter, as follows:


    // File: functions.php
    function tribe_remove_title_on_categories_page( $title ) {
    // Return Empty title on categories.
    if ( tribe_is_event_category() ) {
    return '';
    }
    // Return default otherwise.
    return $title;
    }

    add_filter( 'tribe_get_events_title', 'tribe_remove_title_on_categories_page' );

    Or if you want to go a step further you can customize the template being used by following the Themer’s guide., depends on your default type of view I guess is list you can edit the file:

    list/content.php

    Or if you have a different view like map:

    map/content.php

    To overwrite the default structure of your markup to match your needs.

    Please let me know if you have any other particular questions about this.

    Best
    Crisoforo

    #1411918
    Mel
    Participant

    Thanks for the help……

    #1411922
    Crisoforo
    Keymaster

    Glad to know that helps.

    I’m going to close this ticket, let me know if you need something else.

    Best
    Crisoforo

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘remove title on special events page’ is closed to new replies.