Forum Replies Created

Viewing 9 replies - 1 through 9 (of 9 total)
  • Hi! Did you fix the problem? I’m with the same issue, but with another theme: Dyad 2. But the message is the same and I think that my theme looks a little weird… for eg: when I was using this theme in wordpress.com, was possible to change de fonts, but now I this option doesn’t appears.

    Thread Starter fabitami

    (@fabitami)

    I was with the last ones. The most recent. Before I was with the Clarina 0.1. After I upgrade wordpress to the last version and all pluggins, I thought that I should try again to upgrade Clarina. Then all stuff, texts, configs, everything disappears.

    After some times trying to do the upgrade, I have decided to rebuild my site. So I did it. But I forgot how was the footer before, so I take a breath and:

    1. Made a backup from the rebuilt site
    2. erase the new site from my host
    3. Recovered the backup of the old site (to see what I have forgotten)

    Then, just for fun, I tried to upgrade all stuff again. Starting with the Clarina on this time. Then the Pluggins and, for the last, the WordPress version.

    I really don’t know what happens with me… NOW it works! Just like the other case! Just when you reply me and after a loose a lot off hours trying all this stuff… Well, I think that this time it works ’cause I already rebuild the site and I didn’t change de DB. But even when it didn’t work, I was with the last versions. Now I will change that PHP to show all stuff on the front page.

    I really really really thank you for the patience with me! And sorry if my English is not so good…

    Well, I don’t know what I did. Actually I didn’t do anything – I just deleted the site with the error (with Clarina’s new version) and uploaded the backup – wich wasn’t work before and that why I made the upgrade of Clarina! But now the personalize stuff is working. With the old version of Clarina (0.1) but the upgraded pluggin Llorix…

    Anyway, I think that I should try to make the new version of Clarina works… I’ll try it in a local host.

    Hi @rodicaelena

    I’ve tried to install the latest version of Clarina, but this version cracked my homepage (I’ve lost it all), then I had to return to the previews version (from a backup). Even with the latest version, the error with the plugin Llorix One Companion still happening. The same issue. So, I upload the backup website (cause I can’t let it offline to my client).
    The issue with the plugin Llorix One Companion happen after I upgrade the last version.

    Did you understand my message? I Don’t speak English very well…

    @rodicaelena, didn’t works. Nothing.

    Well… after to install the new Version, I just lost my homepage! I’ll have to use the backup again!
    And that issue still annoying me!!!!

    Fatal error: Uncaught Error: Call to undefined function llorix_one_companion_sevices_get_default_content() in /home/contabilazul1/home/pjfacil/wp-content/plugins/llorix-one-companion/inc/settings.php:55 Stack trace: #0 /home/contabilazul1/home/pjfacil/wp-includes/class-wp-hook.php(298): llorix_one_companion_customize_register(Object(WP_Customize_Manager)) #1 /home/contabilazul1/home/pjfacil/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(NULL, Array) #2 /home/contabilazul1/home/pjfacil/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #3 /home/contabilazul1/home/pjfacil/wp-includes/class-wp-customize-manager.php(752): do_action(‘customize_regis…’, Object(WP_Customize_Manager)) #4 /home/contabilazul1/home/pjfacil/wp-includes/class-wp-hook.php(298): WP_Customize_Manager->wp_loaded(”) #5 /home/contabilazul1/home/pjfacil/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(NULL, Array) #6 /home/contabilazul1/home/pjfacil/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #7 /home/contabilazul1/hom in /home/contabilazul1/home/pjfacil/wp-content/plugins/llorix-one-companion/inc/settings.php on line 55″

    @rodicaelena I just realized that my version of Clarina wasn’t the last one. I just fix it about this and now I will try to fix this error issue. I’ll tell you if it works or not.

    Sorry for any trouble…

    Hi @rodicaelena

    I don’t know (yet) how can I see what version of Clarina I’m using. But bellow there is the code in my file functions.php:

    <?php

    add_action( ‘wp_enqueue_scripts’, ‘child_enqueue_styles’, 99 );
    function child_enqueue_styles() {
    $parent_style = ‘parent-style’;
    wp_enqueue_style( $parent_style, get_template_directory_uri() . ‘/style.css’ );
    wp_enqueue_style( ‘child-style’, get_stylesheet_directory_uri() . ‘/style.css’, array( $parent_style ) );
    wp_enqueue_style( ‘clarina-fonts’, clarina_fonts_url(), array(), null );
    wp_enqueue_script( ‘clarina-custom-script’, get_stylesheet_directory_uri() . ‘/js/custom.js’, array(‘jquery’), ‘2.0.2’, true );
    }

    if ( get_stylesheet() !== get_template() ) {
    add_filter( ‘pre_update_option_theme_mods_’ . get_stylesheet(), function ( $value, $old_value ) {
    update_option( ‘theme_mods_’ . get_template(), $value );
    return $old_value; // prevent update to child theme mods
    }, 10, 2 );
    add_filter( ‘pre_option_theme_mods_’ . get_stylesheet(), function ( $default ) {
    return get_option( ‘theme_mods_’ . get_template(), $default );
    } );
    }

    function clarina_fonts_url() {
    $fonts_url = ”;

    /* Translators: If there are characters in your language that are not
    * supported by Lora, translate this to ‘off’. Do not translate
    * into your own language.
    */
    $titillium_web = _x( ‘on’, ‘Titillium Web font: on or off’, ‘clarina’ );

    /* Translators: If there are characters in your language that are not
    * supported by Open Sans, translate this to ‘off’. Do not translate
    * into your own language.
    */
    $assistant = _x( ‘on’, ‘Assistant font: on or off’, ‘clarina’ );

    if ( ‘off’ !== $titillium_web || ‘off’ !== $assistant ) {
    $font_families = array();

    if ( ‘off’ !== $titillium_web ) {
    $font_families[] = ‘Titillium Web:400,400i,600,700’;
    }
    if ( ‘off’ !== $assistant ) {
    $font_families[] = ‘Assistant:700,400,800’;
    }
    $query_args = array(
    ‘family’ => urlencode( implode( ‘|’, $font_families ) ),
    ‘subset’ => urlencode( ‘latin,latin-ext’ ),
    );
    $fonts_url = add_query_arg( $query_args, ‘https://fonts.googleapis.com/css&#8217; );
    }
    return esc_url_raw( $fonts_url );
    }

    add_action(‘customize_register’,’my_customize_register’);
    function my_customize_register( $wp_customize ) {

    /* Ribbon subtitle */
    $wp_customize->add_setting( ‘clarina_ribbon_subtitle’, array(
    ‘default’ => esc_html__(‘Lorem ipsum dolor sit amet, consectetur adipiscing elit.’,’clarina’),
    ‘sanitize_callback’ => ‘llorix_one_lite_sanitize_text’,
    ‘transport’ => ‘postMessage’
    ));
    $wp_customize->add_control( ‘clarina_ribbon_subtitle’, array(
    ‘label’ => esc_html__( ‘Main subtitle’, ‘clarina’ ),
    ‘section’ => ‘llorix_one_lite_ribbon_section’,
    ‘priority’ => 25
    ));

    /* Ribbon image */
    $wp_customize->add_setting( ‘clarina_ribbon_image’, array(
    ‘sanitize_callback’ => ‘esc_url’,
    ‘transport’ => ‘postMessage’
    ));
    $wp_customize->add_control( new WP_Customize_Image_Control( $wp_customize, ‘clarina_ribbon_image’, array(
    ‘label’ => esc_html__( ‘Image’, ‘clarina’ ),
    ‘section’ => ‘llorix_one_lite_ribbon_section’,
    ‘priority’ => 50,
    )));

    /* latest posts submenu */
    $wp_customize->add_setting( ‘clarina_news_subtitle’, array(
    ‘default’ => esc_html__(‘Lorem ipsum dolor sit amet, consectetur adipisicing elit’,’clarina’),
    ‘sanitize_callback’ => ‘llorix_one_lite_sanitize_text’,
    ‘transport’ => ‘postMessage’
    ));
    $wp_customize->add_control( ‘clarina_news_subtitle’, array(
    ‘label’ => esc_html__( ‘Main subtitle’, ‘clarina’ ),
    ‘section’ => ‘llorix_one_lite_latest_news_section’,
    ‘priority’ => 15
    ));

    /* Featured ribbon Title */
    $wp_customize->add_setting( ‘clarina_featured_ribbon_title’, array(
    ‘default’ => esc_html__(‘Lorem ipsum dolor’,’clarina’),
    ‘sanitize_callback’ => ‘llorix_one_lite_sanitize_text’,
    ‘transport’ => ‘postMessage’
    ));
    $wp_customize->add_control( ‘clarina_featured_ribbon_title’, array(
    ‘label’ => esc_html__( ‘Main title’, ‘clarina’ ),
    ‘section’ => ‘llorix_one_lite_features_ribbon_section’,
    ‘priority’ => 15
    ));

    }

    /* Customizer js file */
    function childtheme_customizer_live_preview() {
    wp_enqueue_script( ‘clarina_customizer_script’, llorix_one_lite_get_file(‘/js/clarina_customizer.js’), array( ‘jquery’,’customize-preview’ ), ‘1.0’, true
    );
    }
    add_action( ‘customize_preview_init’, ‘childtheme_customizer_live_preview’ );

    And I didn’t find the file “settings.php” from ” ‘llorix-one-companion/inc/settings.php’” to try the @acris solution.

    My site is working, but I just can’t personalize my site.

    Hi @rodicaelena,

    I’ve be trying this solution, but in “my” file “functions.php” from Clarina there isn’t the code that you indicate. Your document indicates this (below):

    *********************************************

    In functions.php replace the following code :

    /**
    * Homepage section order
    */
    function clarina_sections_order() {
    $naturelle_order = array(
    ‘sections/llorix_one_lite_logos_section’,
    ‘llorix_one_lite_our_services_section’,
    ‘sections/llorix_one_lite_our_story_section’,
    ‘llorix_one_lite_our_team_section’,
    ‘llorix_one_lite_happy_customers_section’,
    ‘sections/llorix_one_lite_ribbon_section’,
    ‘sections/llorix_one_lite_latest_news_section’,
    ‘sections/llorix_one_lite_contact_info_section’,
    ‘sections/llorix_one_lite_map_section’,
    );
    return $naturelle_order;
    }
    add_filter( ‘llorix_one_companion_sections_filter’, ‘clarina_sections_order’ );

    **********************
    And I didn’t find either any other file with this code.

Viewing 9 replies - 1 through 9 (of 9 total)