Can I change the title fields names inside of the [app_confirmation} Shortcode in App+

I need the field titles inside of the [app_confirmation} Shortcode in App+ to be changed from "Service Name" to Field and "Service Provider" to be removed. Where customers are providing their information. I don't want my customers to be confused.

  • Jack Kitterhing
    • Code Norris

    Hi there @Daniel

    I hope you are well today and thanks for your question.

    To change the field label, to say field, rather than service name, you need to translate in poedit which can be done the following way.

    1. First you'll need to download and install Poedit. You can get it here: http://www.poedit.net/

    2. Download Appointments+ and unzip the file. Take a look in the languages folder. You'll see a *.pot file. This is the language template file provided by the plugin developer to allow it to be translated by Wordpress

    3. Run Poedit, and open up that .pot file. You will see the list of every text that is included with the plugin.

    4. Go through the list, and for each time you wish to change something, first click it in the list. You will see the "Source text" box update. Now just enter what you wish to be included instead of that text in the translation box.

    It's a long list, so to quickly find instances of "Service Provider" be sure to use the "find" function (cmd+F on Mac, and ctrl+F on PC)

    5. When you're done translating, click "Validate" to make sure there aren't any errors.

    6. Now save the file. This will automatically create a .mo file. This is the compiled version of your translation that Wordpress can read faster than the full text version.

    7. Rename the .mo file to include the country code. For example, with Appointments+ it would be "appointments-en_US.mo" Except replace the en_US part with whatever language code you need. You can find references to the codes here: http://codex.wordpress.org/WordPress_in_Your_Language

    8. Upload to your site and place in the languages folder of appointments+ (wp-content/plugins/appointments/languages)

    9. Tell Wordpress to look for translations. This can be done by placing the following line in your wp-config.php file:

    define('WPLANG', 'en_US');

    As you did before when renaming the file, replace the en_US part with whatever language code you need. You can find references to the codes here: http://codex.wordpress.org/WordPress_in_Your_Language

    Then for the other issue with the service provider, you can hide that using this

    div.appointments-confirmation-worker {
    	display: none !important;
    }

    And you can add that via a plugin like this here http://wordpress.org/plugins/my-custom-css/

    Thank you!

    Kind Regards
    Jack

  • Daniel
    • Flash Drive

    Hey Jack,

    Thanks I got the Service name to change to Field! Thanks, But could you tell me which php file it is where i can change div.appointments-confirmation-worker {
    display: none !important;

    The theme I'm working on doesn't have a Custom CSS Area where I can just input this line of code, So I have to do it in the ftp.

  • Jack Kitterhing
    • Code Norris

    Hi there @Daniel

    Thanks for the additional info, glad to hear that editing the file worked for you, it's worth noting that core file edits will be overwritten on a plugin update.

    If you'd like me to take another look at the css, I'd be more than happy to :slight_smile:

    Thank you!

    Kind Regards
    Jack.

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.