WordPress.org

Ready to get started?Download WordPress

Forums

The Events Calendar
[resolved] Change Names in Event View (3 posts)

  1. Scott M. Chapman
    Member
    Posted 10 months ago #

    In the event's calendar, on a single event view page, under the "Organizer" heading, I would like where it says "Website" to say "Register" instead.

    Any advice on how I can make this change? Any help would be very appreciated! I've looked through the .CSS and .HTML to the best of my ability (i'm not much of a coder) and can't seem to find it.

    here is a sample page of the site I'm working on:
    http://ctl.emacomb.com/blog/event/powerpoint-advanced/

    THANK YOU!

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

  2. Scott M. Chapman
    Member
    Posted 10 months ago #

    Never mind, after some searching I found it, but I thought I'd share in case anyone else has the same question:

    The file is located in this directory:
    wp-content > plugins > the-events-calendar > public > advanced-functions > meta.php

    Open the meta.php file. The area i needed to edit was down at line 439:

    BEFORE:
    /**
    * Register Meta: Organizer Website
    *
    * @group tribe_event_organizer
    */
    tribe_register_meta( 'tribe_event_organizer_website', array(
    'classes' => array('meta_before'=>array('url')),
    'label' => __( 'Website:', 'tribe-events-calendar' ),
    'priority' => 40,
    'callback' => 'tribe_get_organizer_website_link',
    'group' => 'tribe_event_organizer'

    AFTER:
    /**
    * Register Meta: Organizer Website
    *
    * @group tribe_event_organizer
    */
    tribe_register_meta( 'tribe_event_organizer_website', array(
    'classes' => array('meta_before'=>array('url')),
    'label' => __( 'Register:', 'tribe-events-calendar' ),
    'priority' => 40,
    'callback' => 'tribe_get_organizer_website_link',
    'group' => 'tribe_event_organizer'

    and if you see my sample page from before, it now reads "Register"

    http://ctl.emacomb.com/blog/event/powerpoint-advanced/

  3. Barry Hughes
    Member
    Plugin Author

    Posted 10 months ago #

    Thanks for sharing!

Reply

You must log in to post.

About this Plugin

About this Topic