Wordpress

Múltiples idiomas en WordPress

Los americanos lo tienen muy fácil. Sólo un idioma, el inglés, que además de llegar a más de 400 millones de personas, encima resulta que es el que viene por defecto en WordPress. No tienen que hacer nada y lo tienen todo listo. El resto del mundo tenemos que lidiar con traducciones de WordPress a través de archivos .MO y .PO y en ocasiones tenemos que cambiar o añadir ciertas traducciones en WordPress porque no está traducido o la traducción es malísima. Pero hay un tercer grado de complicación que descubres cuando quieres tener un WordPress en varios idiomas. Estamos hablando de WordPress multilenguaje. O sea, tener todo el contenido traducido en varios idiomas, para que el usuario elija el que prefiera. Algo que parece tan simple, pero que a la vez es tan complejo. Hasta la fecha siempre he realizado todos los proyectos de WordPress multilenguaje con WPML. Incluso tengo un curso de WPML en el que cuento paso a paso cómo configurar todo de inicio a fin. Pero cada vez más, he empezado a utilizar otra aproximación más liviana, rápida, e incluso sin locking. Estoy hablando de Multilingual Press, un plugin con una aproximación completamente distinta. Veamos los dos caminos.

Child Theme Configurator es una herramienta rápida y fácil de usar que te permite analizar cualquier tema para los problemas comunes, crear un tema hijo y personalizarlo más allá de las opciones del personalizador. Diseñado para los usuarios de WordPress que desean personalizar las hojas de estilo del tema hijo directamente, Child Theme Configurator te permite identificar y anular fácilmente los atributos CSS que deseas personalizar. El Analizador escanea el tema renderizado y configura automáticamente tu tema hijo. Procesa correctamente el tema y la fuente de las hojas de estilo para un rendimiento óptimo y maneja la sintaxis específica del vendedor, lo que le da un control ilimitado sobre el aspecto del tema hijo dejando el Tema padre intacto. Aprende más acerca de como crear un tema hijo.  

TAKE CONTROL OF YOUR CHILD THEMES

Child Theme Configurator parses and indexes your stylesheets so that every CSS media query, selector, property and value are at your fingertips. Second, it shows you how each customization you make will look before you commit it to the child theme. Finally, it saves your work so that you can customize styles in your child themes without the risk of losing your edits. You can create any number of child themes from your existing Parent Themes. Child Theme Configurator lets you choose from your installed themes (even existing child themes) and save the results in your Themes directory. When you are ready, just activate the Child Theme and your WordPress site takes on the custom styles automatically. [youtube https://www.youtube.com/watch?v=xL0YmieF6d0?version=3&rel=1&fs=1&autohide=2&showsearch=0&showinfo=1&iv_load_policy=1&wmode=transparent]

WHY CREATE CHILD THEMES AND CUSTOMIZE STYLES USING CHILD THEME CONFIGURATOR?

  1. Algunas cosas no pueden ser modificadas usando el Personalizador.
  2. A menos que utilices un “child theme”, perderás cualquier cambio que hayas hecho a la plantilla y a la hoja de estilos cuando actualices.
  3. Child Theme Configurator automatically determines the correct way to set up a child theme based on the theme you are using.
  4. You can find the exact style selectors your theme uses and change properties quickly.
  5. You can locate, copy and edit theme templates from the admin.
  6. Mucho más:
    • Update themes without losing customizations
    • Smart Theme Analyzer determines correct settings to use
    • Resolve common child theme issues with almost any parent theme
    • Copy existing widgets, menus and Customizer options to child theme
    • Use web fonts in your child theme
    • Enqueue (link) stylesheets instead of using @import
    • Quickly locate and edit theme CSS.
    • Customize @media queries for responsive design
    • Select hex, RGBA (transparent) and named colors using Spectrum color picker
    • Add fallback styles (multiple values per property)
    • Save hours of development time
    • Compatible con multisitio
    • Make modifications unavailable to the Customizer
    • Exportar los temas hijo a un archivo Zip
    • Identify and override exact selectors from the parent theme
    • Change specific colors, backgrounds, font styles, etc., without changing other elements
    • Automatically generate cross-browser and vendor-prefixed properties and CSS gradients
    • Preview custom styles before committing to them
    • Uses WP Filesystem API – will not create files you cannot remove

CHILD THEME CONFIGURATOR PRO

Apply the CSS customizing power of Child Theme Configurator to any WordPress Plugin installed on your website. Child Theme Configurator PRO scans your plugins and lets you customize their stylesheets. We’ve added more features to make customizing styles quicker and easier with PRO. [youtube https://www.youtube.com/watch?v=fktwCk43a8c?version=3&rel=1&fs=1&autohide=2&showsearch=0&showinfo=1&iv_load_policy=1&wmode=transparent] Learn more at http://www.childthemeconfigurator.com/child-theme-configurator-pro

UNLIMITED WIDGET CONTENT WITH A SINGLE PLUGIN

IntelliWidget is a versatile widget manager that does the work of multiple plugins by combining custom page menus, featured posts, sliders and other dynamic content features that can display on a per-page or site-wide basis. [youtube https://www.youtube.com/watch?v=Ttw1xIZ2b-g?version=3&rel=1&fs=1&autohide=2&showsearch=0&showinfo=1&iv_load_policy=1&wmode=transparent] Más información en http://www.lilaeamedia.com/plugins/intelliwidget

INTELLIWIDGET RESPONSIVE MENU

Break free from your theme’s built-in responsive menu options and take control over the mobile user experience with our premium menu plugin. [youtube https://www.youtube.com/watch?v=JDbxvaEt7VE?version=3&rel=1&fs=1&autohide=2&showsearch=0&showinfo=1&iv_load_policy=1&wmode=transparent] Learn more at http://www.lilaeamedia.com/plugins/intelliwidget-responsive-menu

QUERY/SELECTOR TAB

There are two ways to identify and customize baseline (parent) styles. Child Theme Configurator lets you search styles by CSS selector and by property. If you wish to customize a specific CSS selector (e.g., h1), use the “Query/Selector” tab. If you have a specific CSS value you wish to customize site-wide (e.g., the color of the type), use the “Property/Value” tab. The Query/Selector tab lets you find specific CSS selectors and edit them. First, find the query that contains the CSS selector you wish to edit by typing in the Query autoselect box. Select by clicking with the mouse or by pressing the “Enter” or “Tab” keys. CSS selectors are in the base query by default. Next, find the CSS selector by typing in the “Selector” autoselect box. Select by clicking with the mouse or by pressing the “Enter” or “Tab” keys. This will load all of the properties for that CSS selector with the Original values on the left and the child theme values inputs on the right. Any existing child theme values will be automatically populated. There is also a Sample preview that displays the combination of Parent and Child overrides. Note that the border and background-image get special treatment. The “Order” field contains the original sequence of the CSS selector in the parent theme stylesheet. You can change the CSS selector order sequence by entering a lower or higher number in the “Order” field. You can also force style overrides (so called “!important” flag) by checking the “!” box next to each input. Please use judiciously. Click “Save” to update the child theme stylesheet and save your changes to the WordPress admin.

ADDING RAW CSS

If you wish to add additional properties to a given CSS selector, first load the selector using the Query/Selector tab. Then find the property you wish to override by typing in the New Property autoselect box. Select by clicking with the mouse or by pressing the “Enter” or “Tab” keys. This will add a new input row to the selector inputs. If you wish to add completely new CSS selectors, or even new @media queries, you can enter free-form CSS in the “Raw CSS” textarea. Be aware that your syntax must be correct (i.e., balanced curly braces, etc.) for the parser to load the new custom styles. You will know it is invalid because a red “X” will appear next to the save button. If you prefer to use shorthand syntax for properties and values instead of the inputs provided by Child Theme Configurator, you can enter them here as well. The parser will convert your input into normalized CSS code automatically.

PROPERTY/VALUE TAB

The Property/Value tab lets you find specific values for a given property and then edit that value for individual CSS selectors that use that property/value combination. First, find the property you wish to override by typing in the Property autoselect box. Select by clicking with the mouse or by pressing the “Enter” or “Tab” keys. This will load all of the unique values that exist for that property in the parent theme stylesheet with a Sample preview for that value. If there are values that exist in the child theme stylesheet that do not exist in the parent stylesheet, they will be displayed as well. For each unique value, click the “Selectors” link to view a list of CSS selectors that use that property/value combination, grouped by query with a Sample preview of the value and inputs for the child theme value. Any existing child theme values will be automatically populated. Click “Save” to update the child theme stylesheet and save your changes to the WordPress admin. If you want to edit all of the properties for the CSS selector you can click the “Edit” link and the CSS selector will automatically load in the Query/Selector Tab.

WEB FONTS TAB

You can add additional stylesheets and web fonts by typing @import rules into the textarea on the Web Fonts tab. Important: do not import the parent theme stylesheet here. Use the “Parent stylesheet handling” option from the Parent/Child tab.

FILES TAB

PLANTILLAS PADRES

You can copy PHP template files from the parent theme by checking the boxes. Click “Copy Selected to Child Theme” and the templates will be added to the child theme’s directory. CAUTION: If your child theme is active, the child theme’s version of the file will be used instead of the parent immediately after it is copied. The functions.php file is generated separately and cannot be copied here.

ARCHIVOS DEL TEMA HIJO

Templates copied from the parent are listed here. These can be edited using the Theme Editor in the Appearance Menu. Remove child theme images by checking the boxes and clicking “Delete Selected.”

IMÁGENES DEL TEMA HIJO

Theme images reside under the images directory in your child theme and are meant for stylesheet use only. Use the media gallery for content images. You can upload new images using the image upload form.

CAPTURA DE PANTALLA DEL TEMA HIJO

You can upload a custom screenshot for the child theme here. The theme screenshot should be a 4:3 ratio (eg., 880px x 660px) JPG, PNG or GIF. It will be renamed “screenshot”.

EXPORTAR CHILD THEME

You can download your child theme for use on another WordPress site by clicking “Export”.

PREVIEW AND ACTIVATE

IMPORTANT: Test child themes before activating! Some themes (particularly commercial themes) do not correctly load parent template files or automatically load child theme stylesheets or php files. In the worst cases they will break your website when you activate the child theme.
  1. Navigate to Appearance > Themes in the WordPress Admin. You will now see the new Child Theme as one of the installed Themes.
  2. Click “Live Preview” (theme customizer) below the new Child Theme to see it in action.
  3. When you are ready to take the Child Theme live, click “Activate.”
MULTISITE USERS: You must Network Enable your child theme before you can use Live Preview. Go to “Themes” in the Network Admin.

CAVEATS

  • Arbitrary comments are not supported. Providing a high level of flexibility for previewing and modifying custom styles requires a sophisticated parsing system. Maintaining comments that are bound to any particular element in the stylesheet is prohibitively expensive compared to the value it would add. Although we are working to include this as an option in the future, currently all comments are stripped from the child theme stylesheet code.
  • No @keyframes or @font-face rules. Child Theme Configurator only supports @media and @import. If you need other @rules, put them in a separate stylesheet and import them into the Child Theme stylesheet.
  • Only two-color gradients. Child Theme Configurator is powerful, but we have simplified the gradient interface. You can use any gradient you want as long as it has two colors and no intermediate stops.
  • CSS properties are auto-discovered. Child Theme Configurator loads the properties that exist in the Parent stylesheet. You can always add new properties using the “Raw CSS” text area.
  • Legacy gradient syntax is not supported. Child Theme Configurator does not support the MS filter gradient or legacy webkit gradient. These will continue to work if they are used in the parent theme, but will not be written to the child theme stylesheet. If there is a demand, we may add it in a future release, but most users should have upgraded by now.

DOCUMENTACIÓN

Go to http://www.childthemeconfigurator.com/ Serbo-Croatian translation courtesy of Borisa Djuraskovic borisad@webhostinghub.com http://www.webhostinghub.com Copyright: (C) 2014-2018 Lilaea Media

Capturas de pantalla

Preguntas frecuentes

How do I move changes I have already made to my theme into a Child Theme?
When I run the analyzer I get “Constants Already Defined” notice in PHP Debug Output
Is there a tutorial?
If the parent theme changes (e.g., upgrade), do I have to update the child theme?
If I uninstall Child Theme Configurator are child themes affected?
How do I add comments?
Does it work with Multisite?
Does it work with plugins?
Why doesn’t this work with my [insert vendor here] theme?
Will this slow down my site?
HELP! I changed a file and now I am unable to access my website or login to wp-admin to fix it!
Why are my menus displaying incorrectly when I activate new child themes?
Why is my custom header missing when I activate new child themes?
Why does my custom background go back to the default when I activate new child themes?
Why do my theme options disappear when I activate new child themes?
Where is Child Theme Configurator in the Admin?
How do I add Web Fonts?
Why doesn’t the Parent Theme have any styles when I “View Parent CSS”?
Where are the styles? The configurator doesn’t show anything!
Why do the preview tabs return “Stylesheet could not be displayed”?
Can I edit the Child Theme stylesheet manually offline or by using the Editor or do I have to use the Configurator?
Where are the child theme .php files?
How do I customize a specific color/font style/background?
How do I add custom styles that aren’t in the Parent Theme?
How do I remove a style from the Parent Theme?
How do I remove a style from the Child Theme?
How do I set the !important flag?
How do I create cross-browser gradients?
How do I make my Theme responsive?

Colaboradores y desarrolladores

“Child Theme Configurator” es un software de código abierto. Las siguientes personas han colaborado con este plugin. Colaboradores