Changing the title from "Tickets" to something else (like "Register Now")

Home Forums Ticket Products Event Tickets Plus Changing the title from "Tickets" to something else (like "Register Now")

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1144481
    Bill Even
    Participant

    Please see: http://chestnutridgeconservancy.org/event/2nd-annual-chestnut-ridge-summer-classic-tennis-tournament/

    below the venue block it says “Tickets.” Can this be changed?

    Thanks,

    Bill

    #1144499
    Geoff B.
    Member

    Good evening Bill and welcome back!

    Thank you for reaching out to us.
    I would love to help you with this topic.

    There are mainly 2 ways to go about this:

    1. By doing a template customization on the single-event view. You might want to read our Themer’s guide to get a sense of how that works.
    2. Use a snippet such as the following to replace tickets by something else: https://theeventscalendar.com/knowledgebase/change-the-wording-of-any-bit-of-text-or-string/

    Let me know if that helps.

    Have a great day!

    Geoff B.

    #1144541
    Bill Even
    Participant

    OK, I tried editing the functions.php file in my child theme. Naturally I broke it. I was able to restore the old file, so no harm-no foul.

    This is what I got —

    Parse error: syntax error, unexpected ‘;’, expecting ‘)’ in /home/content/51/13953751/html/crc2/wp-content/themes/chestnut-ridge-conservancy/functions.php on line 33

    In the instructions you referred me to, it states:

    “You may need to remove the opening <?php tag if your theme’s functions.php already has one.”

    Mine does, but I don’t get why.

    This is the entire contents of the functions.php file in the child theme:

    <?php
    /**
    * Functions – Child theme custom functions
    */

    /*****************************************************************************************************************
    Caution: do not remove this or you will lose all the customization capabilities created by Divi Children plugin */
    require_once(‘divi-children-engine/divi_children_engine.php’);
    /****************************************************************************************************************/

    /**
    * Patch to fix Divi issue: Duplicated Predefined Layouts.
    */
    remove_action( ‘admin_init’, ‘et_pb_update_predefined_layouts’ );
    function Divichild_pb_update_predefined_layouts() {
    if ( ‘on’ === get_theme_mod( ‘et_pb_predefined_layouts_updated_2_0’ ) ) {
    return;
    }
    if ( ! get_theme_mod( ‘et_pb_predefined_layouts_added’ ) OR ( ‘on’ === get_theme_mod( ‘et_pb_predefined_layouts_added’ ) )) {
    et_pb_delete_predefined_layouts();
    }
    et_pb_add_predefined_layouts();
    set_theme_mod( ‘et_pb_predefined_layouts_updated_2_0’, ‘on’ );
    }
    add_action( ‘admin_init’, ‘Divichild_pb_update_predefined_layouts’ );

    ?>

    Can you show me where/how to insert your suggest custom code?

    Thank you!

    Bill

    #1144723
    Geoff B.
    Member

    Hey Bill,

    I’m sorry to hear that trying to add the snippet broke your site (at least temporarily).

    I would recommend adding the snippet just above the “Patch to fix Divi issue” section.

    If you are still struggling with this, I would recommend sending me a copy of your child theme so that I can do this for you (via a .zip file).

    Let me know how that goes.

    Best regards,
    Geoff B.

    #1153172
    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 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Changing the title from "Tickets" to something else (like "Register Now")’ is closed to new replies.