Home › Forums › Ticket Products › Event Tickets Plus › Changing the title from "Tickets" to something else (like "Register Now")
- This topic has 5 replies, 4 voices, and was last updated 9 years, 8 months ago by
Bill Even.
-
AuthorPosts
-
July 26, 2016 at 8:26 pm #1144481
Bill Even
ParticipantPlease 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
July 26, 2016 at 11:09 pm #1144499Geoff B.
MemberGood 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:
- 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.
- 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.
July 27, 2016 at 5:14 am #1144541Bill Even
ParticipantOK, 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
July 27, 2016 at 9:50 am #1144723Geoff B.
MemberHey 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.August 18, 2016 at 9:35 am #1153172Support Droid
KeymasterThis 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. -
AuthorPosts
- The topic ‘Changing the title from "Tickets" to something else (like "Register Now")’ is closed to new replies.
