• Resolved lking57

    (@lking57)


    I was using [event_rocket_list category="education" title="Upcoming Education Sessions"] which had the title as heading 2, but has been deprecated (and apparently not working in 3.x).

    event-rocket author suggested using new tribe_events_list, but [tribe_events_list category="education" title="Upcoming Education Sessions"] just has title as text.

    Is there a way to make this h2? Maybe with before_title / after_title attributes? (the docs are unclear how these attributes work)

    https://wordpress.org/plugins/the-events-calendar/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Brook

    (@brook-tribe)

    Howdy lking57,

    I can see how that would be confusing. before/after title might work. I believe it will be them dependent. It’s been a while since I designed theme, but if I recall correct each theme can set the default heading for widgets, which would transfer to this shortcode.

    It works for me on the Twenty Fifteen theme using this:
    [tribe_events_list category="education" title="Upcoming Education Sessions" before_title="<h2>" after_title="</h2>"]

    Does that work for you?

    Cheers!
    – Brook

    Thread Starter lking57

    (@lking57)

    I was able to get this to work, but there is some difference in behavior between my “sandbox” http://sandbox.steeplechasers.org/training/education/ and my production site http://steeplechasers.org/training/education/

    The two sites are (should be) running the same theme and plugins.

    In sandbox I was able to get this to work in the visual editor, but in production site the angle brackets got quoted (so I didn’t think it was working). I expect this problem is not related to The Events Calendar.

    But in sandbox, the events being picked up are not part of the category. This is a different problem.

    I guess I’ll try to debug this a bit and maybe raise another question.

    Plugin Contributor Brian

    (@brianjessee)

    Hi lking57,

    That is strange with the different environment results.

    Let us know if you find a source of this.

    Cheers

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘title as h2?’ is closed to new replies.