Projects doesn't work and "New" label changes with each update

This topic has 10 replies, 3 voices, and was last updated 4 years, 4 months ago ago by Rose Tyler

  • Avatar: Rawi7
    Rawi
    Participant
    November 14, 2019 at 18:22

    Hello.

    I need help with 3 issues/problems:

    1) Projects does not work. It is not possible to edit or create post project types, the result is blank screen.

    I have the latest version of WordPress and Legenda Theme installed and also cleared the cache, but it still doesn’t work.

    2) How can I translate the public URL projects into Spanish “projects” and not lose the changes when updating the theme?

    3) I have changed the NEW label image in the top menu but every time I update the theme, it returns to the default language in English even if I have the file in the child theme. What should I do to keep the changes in the child theme of the tags (New, Hot …) and not to lose it when updating the theme?

    I will waiting for your answer.

    Regards.

    Please, contact administrator
    for this information.
    9 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    November 15, 2019 at 15:08

    Hello,

    1) I’ve disabled Gutenberg and enabled WPBakery Page Builder for portfolio projects – https://www.8theme.com/demo/docs/legenda/Plugins/WPBakery_Page_Builder
    http://prntscr.com/px9dqx
    2) To change the URL, go to pages > edit your page that has template portfolio – http://prntscr.com/px9g76
    Also, change translation of “portfolio” for the theme and Core plugin via Loco Translate –
    https://www.8theme.com/demo/docs/legenda/Theme_Translation/Base_Theme_Translation
    The child theme should be translated only in case you added custom code in child theme that includes localization functions.
    3) Labels in the menu are images https://prnt.sc/pxfnzl You need to change images of labels in wp-content/themes/legenda/images folder.

    Regards

    Avatar: Rawi7
    Rawi
    Participant
    November 15, 2019 at 19:58

    Hello Rose.

    1) Solved. 🙂

    2) I have done the translations of the word “portfolio” to translate the URL both in the theme and in the Core plugin via Loco Translate, but it still does not translate.

    3) I have already translated the image and uploaded it to the wp-content/themes/legenda/images folder, but every time the theme is updated, the file is overwritten and I have to re-upload it manually. Is there a way to upload it to the theme or child theme so that it is not overwritten?

    I await your response.

    Thank you.

    Regards.

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    November 16, 2019 at 11:04

    Hello,

    2) I do not see any translation for Core plugin on your site http://prntscr.com/pxpniu
    3) Create images folder into your child theme and upload images there + add the next custom CSS code in style.css of your child theme:

    .fixed-header .menu > li.badge-new > a:before,
    .main-nav .menu > li.badge-new > a:before {
      background-image: url(wp-content/themes/legenda-child/images/new-icon.png);
    }
    .fixed-header .menu > li.badge-hot > a:before,
    .main-nav .menu > li.badge-hot > a:before {
      background-image: url(wp-content/themes/legenda-child/images/hot-icon.png);
    }
    .fixed-header .menu > li.badge-sale > a:before,
    .main-nav .menu > li.badge-sale > a:before {
      background-image: url(wp-content/themes/legenda-child/images/sale-icon.png);
    }
    .fixed-header .menu > li .nav-sublist-dropdown ul li.badge-new > a:after,
    .main-nav .menu > li .nav-sublist-dropdown ul li.badge-new > a:after {
      background-image: url(wp-content/themes/legenda-child/images/new-icon.png);
    }
    .fixed-header .menu > li .nav-sublist-dropdown ul li.badge-hot > a:after,
    .main-nav .menu > li .nav-sublist-dropdown ul li.badge-hot > a:after {
      background-image: url(wp-content/themes/legenda-child/images/hot-icon.png);
    }
    .fixed-header .menu > li .nav-sublist-dropdown ul li.badge-sale > a:after,
    .main-nav .menu > li .nav-sublist-dropdown ul li.badge-sale > a:after {
      background-image: url(wp-content/themes/legenda-child/images/sale-icon.png);
    }
    .menu ul > li.badge-new > a:after {
      background-image: url(wp-content/themes/legenda-child/images/new-icon.png);
    }
    .menu ul > li.badge-sale > a:after {
      background-image: url(wp-content/themes/legenda-child/images/sale-icon.png);
    }
    .menu ul > li.badge-hot > a:after {
      background-image: url(wp-content/themes/legenda-child/images/hot-icon.png);
    }

    Regards

    Avatar: Rawi7
    Rawi
    Participant
    November 19, 2019 at 19:03

    Hello.

    2) I have created the Spanish language of the translation of Legenda Core with Poedit, but the term “project” (of the slug, url…) is still not translated. (https://prnt.sc/pz75bf)

    3) I have created images folder into child theme, upload new-icon.png and copied the code in style.css of the child theme, but the images have disappeared instead of being displayed (https://prnt.sc/pz75jk).

    Regards.

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    November 19, 2019 at 20:36

    Hello,

    2) We have updated the translation file, placed it to the correct folder with correct name and there is no problem with the translation of the breadcrumbs http://prntscr.com/pz8k4y There is no option to translate permalinks in our theme, unfortunately.
    3) You missed slash before wp-content in your CSS http://prntscr.com/pz8l4b

    Regards

    Avatar: Rawi7
    Rawi
    Participant
    November 23, 2019 at 13:57

    Hello Olga.

    2) Solved.

    3) I have created image folder into child theme and upload new-icon.png, but the default image in English is still visible (https://prnt.sc/q0zf6l) . 🙁

    Thank you and regards.

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    November 23, 2019 at 14:21

    Hello,

    Custom CSS code in your style.css of the child theme is incorrect, please compare http://prntscr.com/q0zn5y and http://prntscr.com/q0zndd Once you add the code correctly it will work.

    Regards

    Avatar: Rawi7
    Rawi
    Participant
    November 24, 2019 at 14:26

    Hello Rose.

    It seems that everything works correctly.

    Thanks for everything. 🙂

    Regards.

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    November 24, 2019 at 14:35

    Hello,

    You’re welcome!

    Regards

  • Viewing 10 results - 1 through 10 (of 10 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.