Change the name from event to classes

Home Forums Calendar Products Events Calendar PRO Change the name from event to classes

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #57090
    lsgdesserts
    Participant

    I’m not a programmer and this is my first time using wp. My business offers classes not events. I would like to change all the places where the word “events” are to “classes” and “event” to “class”. Your help is GREATLY appreciated.

    #57173
    Neill
    Member

    Hi Isgdesserts

    You have a great looking site! Not at all bad for your first WP site. Welcome to the community!

    I think this tutorial should be able to help you out: https://theeventscalendar.com/alter-or-remove-heading/

    It still requires a little bit of knowledge of how WP is set up which you may have already got figured out if you have come this far. If you are new to WP it might be a good idea to do a little research on backing up your site before making any changes. Let us know if there are any pointers we can give you after reading through the tutorial.

    Neill

    #57468
    lsgdesserts
    Participant

    This reply is private.

    #57658
    Neill
    Member

    Hi Isgdesserts,

    Would you be able to send us a copy of you functions.php file? You can copy and paste it into http://snippi.com/ and send us the URL. Before you do it might be worth checking to see if there are any syntax errors with your PHP. If you copy and pasted the code from the article in the forum, depending on what code editor you are using some of the commas or apostrophes may have changed to the wrong type. If you have any code editing software you may be able to notice this pretty clearly if you open you functions file in the software.

    Neill

    #57694
    lsgdesserts
    Participant

    This reply is private.

    #57813
    Neill
    Member

    Hi Isgdesserts,

    I got the functions.php snippi, but it looks like it may be cut off on line 3167 and your original error says that your error was on 3952. Can you make sure you are copying the whole functions.php file to the board?

    Neill

    #57915
    lsgdesserts
    Participant

    This reply is private.

    #58151
    Neill
    Member

    Hi Isgdesserts,

    I think I see the issue. It looks like on your particular site you do not have the Map View turned on. This example was showing how you could change the title for upcoming events and for the mapview so the function was calling “tribe_is_map()” which you are nit using right now.

    Try removing the “or tribe_is_map()” part of the if statement, check for any syntax errors and then see if that helps.

    Thanks for getting that code to us.

    Neill

    #58194
    lsgdesserts
    Participant

    This reply is private.

    #58598
    Neill
    Member

    Hi Isgdesters,

    Thanks for the update. Good to see you’re one step closer. What you would need to do at this point is figure out all the views that uses the title argument that you want changed. All these views are in the documentation and are very well defined. For example here’s a link to the one that you already used in the tutorial: http://docs.tri.be/Events-Calendar/function-tribe_is_upcoming.html

    As for the woocommerce issue, do you think you’ll be able to add that to the woocommerce forum? We’ll be able to get you the help you need there, and it will also be of use to others that maybe having the same issue.

    Thanks,
    Neill

    #58633
    lsgdesserts
    Participant

    This reply is private.

    #58635
    lsgdesserts
    Participant

    I fixed it

    #58919
    Neill
    Member

    Good to hear! I’ll close this thread out but feel free to open a new thread with any other issues.

    Thanks Isgdessrts

    #980239
    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 14 posts - 1 through 14 (of 14 total)
  • The topic ‘Change the name from event to classes’ is closed to new replies.