• Resolved cyrillefay

    (@cyrillefay)


    Hi there,

    I am using zerif lite theme and created a child theme with your plugin.
    Everything fine until I installed Polylang for multi-language

    With original zerif lite them + polylang activated, all OK
    with child them + polylang: the front page is not translating

    url: https://www.xn--ignici-gxa.com/

    This is the content of my child theme function.ph:

    <?php
    // Exit if accessed directly
    if ( !defined( ‘ABSPATH’ ) ) exit;

    // BEGIN ENQUEUE PARENT ACTION
    // AUTO GENERATED – Do not modify or remove comment markers above or below:

    if ( !function_exists( ‘chld_thm_cfg_parent_css’ ) ):
    function chld_thm_cfg_parent_css() {
    wp_enqueue_style( ‘chld_thm_cfg_parent’, trailingslashit( get_template_directory_uri() ) . ‘style.css’ );
    }
    endif;
    add_action( ‘wp_enqueue_scripts’, ‘chld_thm_cfg_parent_css’ );

    // END ENQUEUE PARENT ACTION

    https://www.ads-software.com/plugins/child-theme-configurator/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author lilaeamedia

    (@lilaeamedia)

    The plugin probably needs to be configured for the child theme.

    Try the following:

    1. Go to the Parent/Child tab. Check the box labeled “Copy Parent Theme Menus, Widgets and other Customizer Options” and click “Generate/Rebuild Child Theme Files.”

    2. The plugin settings may be “theme-specific.” With the child theme active, go to the plugin admin page and save the settings again.

    Thread Starter cyrillefay

    (@cyrillefay)

    Nope, did not worked…

    Plugin Author lilaeamedia

    (@lilaeamedia)

    Most plugins save their options in the database options table. Sometimes there is a separate record for each theme (or child theme). When you switched to the child theme, the plugin settings had not been configured yet. By saving the plugin settings again, you create an options record for the child theme.

    This is also true for other settings as well: widgets, menus and other customizer settings like header image, background, etc.

    CTC gives you the option to copy these settings to the new child theme, but this does not always work for plugins. Sometimes they have to be configured manually.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Polylang front page not translating in Child theme (zerif lite)’ is closed to new replies.