איך להגדיר את WPML לעבודה טובה עם התבנית THE7

  • The child theme contains a wpml-config.xml file and a change needs to be made in the line “<key name=”the7″>” to “<key name=”the7dtchild”>”
  • The parent theme and the child theme both contain the file wpml-config.xml….
    You should rename the file in the parent theme so there will not be conflicts
  • Navigate to “WPML -> Theme and plugins localization”.
  • Make sure that “Translate themes and plugins using WPML’s String Translation only (don’t load .mo files)” is active.
  • Scroll down to “Strings in the theme” and click on “Scan the theme for strings”.
  • Once you followed the above steps go under “WPML -> String Translation”. All strings available for translation should display in the table you see there.
  • In the “Select strings within domain:” section select “admin_texts_the7dtchild” domain
  • Locate the field name: [the7dtchild][header-logo_regular] or [the7dtchild][header-style-mobile-logo_regular].
  • Notice that there are two keys with that name. One contains the image URL and another contains the attachment ID for the image. You will need to update both.
    You can find the image ID in Media -> Library, find the image and click on it. In your browser address bar you will see a number, that’s the id number.

בדוק גם

Launching space rocket from laptop screen, generative ai

WP-ROCKET – הגדרות מתקדמות – וניקוי ממשק משתמש

מאמר מעולה מאת – אליק זמליאנקין   https://alikz.co.il/optimization/wprocket-advanced-settings/

כתיבת תגובה

האימייל לא יוצג באתר. שדות החובה מסומנים *