Changing event index page titles

Home Forums Calendar Products Events Calendar PRO Changing event index page titles

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #21495
    Tai
    Member

    Would like to chnage the default event index page titles.

    From ‘Upcoming Events’ to ‘Events’ I would also like markup the titles with h1 tags instead of h2. Where do I change this? Can’t find it in the template files list.php or gridview.php

    Cheers

    #21500
    Jonah
    Participant

    Hi Tai,

    The first thing you’ll want to check is what do you have set as your Events Template in Settings > The Events Calendar > Template? If you have the “Default Events Template” selected, then you’ll want to make a copy of /wp-content/plugins/the-events-calendar/views/ecp-page-template.php and place in an ‘events’ folder in your theme and edit away to modify the title. Here is an example from another theme as to how you could do this: https://gist.github.com/aad337b8f0662d4df1b6

    If you are not using the Default Events Template, you’ll be using one of your themes page templates (either page.php or some other template) that you can edit in the same way.

    Note that either of these templates is only going to control the main event pages (grid/list), Venues, and Single Days. Not Single Events. Single Events use either the ecp-single-template.php if you have “Default Events Template” selected or your theme’s single.php template.

    That should point you in the right direction but let me know if you need any other help with this.

    Cheers,
    Jonah

    #977256
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Changing event index page titles’ is closed to new replies.