support@gracethemes.com

Edit text string in Our Menu [EaterStop]

Home Support EaterStop WordPress Theme Edit text string in Our Menu [EaterStop]

Tagged: 

This topic contains 5 replies, has 2 voices, and was last updated by  Grace Themes 1 year, 7 months ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #2074

    Leon Sennomo
    Participant

    Hi, I can’t find a way to edit the text “ALL” (to select all categories) in the category menu of Our Menu. I would need to translate it to another language.

    Documentation location: 5.c. Our Menu https://gracethemes.com/documentation/eaterstop-doc/#our-menu

    Where can I edit this string?

    Thanks.

    #2077

    Grace Themes
    Keymaster

    Hi

    To translate the text in Our Menu

    Go to the Appearance -> Theme Options -> custom-functions.php

    at line no. 625 find this code

    $pfStr .= '<div class="menufilter"><ul class="clean" id="filter"><li class="current"><a href="javascript:void(0)">All</a></li>';

    Now change the ‘All’ text to translate in another language.

    If you are still getting problem you can send your website URL and WordPress admin login details at support@gracethemes.com so we can solve your problem.

    Regard
    Grace Themes

    • This reply was modified 1 year, 7 months ago by  Grace Themes.
    • This reply was modified 1 year, 7 months ago by  Grace Themes.
    #2080

    Leon Sennomo
    Participant

    The file was here: Appearance -> Editor -> custom-functions.php

    Thanks, it worked 🙂

    #2081

    Grace Themes
    Keymaster

    Yes, I was wrong.

    Thank you so much.

    #2129

    Leon Sennomo
    Participant

    Hi, changing the text as described above introduces a small navigation bug. It’s easy to fix though 😉

    Open: eaterstop-pro/js/filter-gallery.js

    Edit line 12:

    if(filterVal === 'all') {
    

    to

    if(filterVal === 'your new word') {
    

    Note, your new word has to be lowercase.

    I hope this helps someone who needs to do the same thing.

    • This reply was modified 1 year, 7 months ago by  Leon Sennomo. Reason: grammar
    #2133

    Grace Themes
    Keymaster

    Hi Leon,

    We really appreciate you.

    Thank You!

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.