Forum Replies Created

Viewing 11 replies - 1 through 11 (of 11 total)
  • Thread Starter acris

    (@acris)

    Solved, i didn’t select professioanl account on the setting to add the profile, sorry

    Thread Starter acris

    (@acris)

    worked.
    Thanks a lot

    Thread Starter acris

    (@acris)

    ——————

    solved ty

    —————

    Thread Starter acris

    (@acris)

    thank you. It works ??

    thanks

    Thread Starter acris

    (@acris)

    thanks for reply, if I use that code pictures become of other froms and not circular

    Have you tried the code i posted above?

    1) make a copy or the file ‘llorix-one-companion/inc/settings.php’
    2) edit the file ‘llorix-one-companion/inc/settings.php’: replace all the code with what i’ve posted above
    3)Save the file and test It.

    If It doesn’t work restore the file with the backup done at the First step

    i solved it but i don’t know if it’s the right way.

    i put here the code of the file ‘llorix-one-companion/inc/settings.php’

    <?php
    
    function llorix_one_companion_customize_register( $wp_customize ) {
    	
    	if( class_exists('Llorix_One_Lite_General_Repeater') ) {
    		
    		/********************************************************/
    		/****************** SERVICES OPTIONS  *******************/
    		/********************************************************/
    		
    		/* SERVICES SECTION */
    		$wp_customize->add_section( 'llorix_one_lite_services_section' , array(
    			'title'       => esc_html__( 'Services section', 'llorix-one-companion' ),
    			'priority'    => 40,
    			'panel'       => 'llorix_one_lite_front_page_sections',
    			'active_callback' => 'llorix_one_lite_show_on_front',
    		));
    		
    		/* Services show/hide */
    		$wp_customize->add_setting( 'llorix_one_lite_our_services_show', array(
    			'sanitize_callback' => 'llorix_one_lite_sanitize_text',
    		));
    		
    		$wp_customize->add_control( 'llorix_one_lite_our_services_show', array(
    			'type' => 'checkbox',
    			'label' => __('Disable the Services section?','llorix-one-companion'),
    			'section' => 'llorix_one_lite_services_section',
    			'priority'    => 1,
    		));
    		
    		/* Services title */
    		$wp_customize->add_setting( 'llorix_one_lite_our_services_title', array(
    			'default' => esc_html__('Our Services','llorix-one-companion'),
    			'sanitize_callback' => 'llorix_one_lite_sanitize_text',
    		));
    		$wp_customize->add_control( 'llorix_one_lite_our_services_title', array(
    			'label'    => esc_html__( 'Main title', 'llorix-one-companion' ),
    			'section'  => 'llorix_one_lite_services_section',
    			'priority'    => 10
    		));
    		
    		/* Services subtitle */
    		$wp_customize->add_setting( 'llorix_one_lite_our_services_subtitle', array(
    			'default' => esc_html__('Lorem ipsum dolor sit amet, consectetur adipiscing elit.','llorix-one-companion'),
    			'sanitize_callback' => 'llorix_one_lite_sanitize_text',
    		));
    		$wp_customize->add_control( 'llorix_one_lite_our_services_subtitle', array(
    			'label'    => esc_html__( 'Subtitle', 'llorix-one-companion' ),
    			'section'  => 'llorix_one_lite_services_section',
    			'priority'    => 20
    		));
    		
    		
    		/* Services content */
    		if( function_exists('llorix_one_companion_sevices_get_default_content')){
        		$default = llorix_one_companion_sevices_get_default_content();
    		}
    		$wp_customize->add_setting( 'llorix_one_lite_services_content', array(
    			'sanitize_callback' => 'llorix_one_lite_sanitize_repeater',
    			'default' => $default,
    		));
    		$wp_customize->add_control( new Llorix_One_Lite_General_Repeater( $wp_customize, 'llorix_one_lite_services_content', array(
    			'label'   => esc_html__('Add new service box','llorix-one-companion'),
    			'section' => 'llorix_one_lite_services_section',
    			'priority' => 30,
    			'llorix_one_lite_image_control' => true,
    			'llorix_one_lite_icon_control' => true,
    			'llorix_one_lite_title_control' => true,
    			'llorix_one_lite_text_control' => true,
    			'llorix_one_lite_link_control' => true
    		) ) );
    		
    		/********************************************************/
    		/*******************  TEAM OPTIONS  *********************/
    		/********************************************************/
    
    		$wp_customize->add_section( 'llorix_one_lite_team_section' , array(
    			'title'       => esc_html__( 'Team section', 'llorix-one-companion' ),
    			'priority'    => 60,
    			'panel'       => 'llorix_one_lite_front_page_sections',
    			'active_callback' => 'llorix_one_lite_show_on_front',
    		));
    		
    		/* Team show/hide */
    		$wp_customize->add_setting( 'llorix_one_lite_our_team_show', array(
    			'sanitize_callback' => 'llorix_one_lite_sanitize_text',
    		));
    		
    		$wp_customize->add_control( 'llorix_one_lite_our_team_show', array(
    			'type' => 'checkbox',
    			'label' => __('Disable the Team section?','llorix-one-companion'),
    			'section' => 'llorix_one_lite_team_section',
    			'priority'    => 1,
    		));
    		
    		/* Team title */
    		$wp_customize->add_setting( 'llorix_one_lite_our_team_title', array(
    			'default' => esc_html__('Our Team','llorix-one-companion'),
    			'sanitize_callback' => 'llorix_one_lite_sanitize_text',
    		));
    		$wp_customize->add_control( 'llorix_one_lite_our_team_title', array(
    			'label'    => esc_html__( 'Main title', 'llorix-one-companion' ),
    			'section'  => 'llorix_one_lite_team_section',
    			'priority'    => 10,
    		));
    		
    		/* Team subtitle */
    		$wp_customize->add_setting( 'llorix_one_lite_our_team_subtitle', array(
    			'default' => esc_html__('Lorem ipsum dolor sit amet, consectetur adipiscing elit.','llorix-one-companion'),
    			'sanitize_callback' => 'llorix_one_lite_sanitize_text',
    		));
    		$wp_customize->add_control( 'llorix_one_lite_our_team_subtitle', array(
    			'label'    => esc_html__( 'Subtitle', 'llorix-one-companion' ),
    			'section'  => 'llorix_one_lite_team_section',
    			'priority'    => 20,
    		));
    		
    		/* Team Background	*/
    		$wp_customize->add_setting( 'llorix_one_lite_our_team_background', array(
    			'default' 				=> llorix_one_lite_get_file('/images/background-images/parallax-img/team-img.jpg'),
    			'sanitize_callback'		=> 'esc_url',
    		));
    		$wp_customize->add_control( new WP_Customize_Image_Control( $wp_customize, 'llorix_one_lite_our_team_background', array(
    			'label'    			=> esc_html__( 'Team Background', 'llorix-one-lite' ),
    			'section'  			=> 'llorix_one_lite_team_section',
    			'priority'    		=> 30
    		)));
    		
    		/* Team content */
    		if( function_exists('llorix_one_companion_team_get_default_content')){
    			$default = llorix_one_companion_team_get_default_content();
    		}
    		$wp_customize->add_setting( 'llorix_one_lite_team_content', array(
    			'sanitize_callback' => 'llorix_one_lite_sanitize_repeater',
    			'default' => $default,
    		) );
    		$wp_customize->add_control( new Llorix_One_Lite_General_Repeater( $wp_customize, 'llorix_one_lite_team_content', array(
    			'label'   => esc_html__('Add new team member','llorix-one-companion'),
    			'section' => 'llorix_one_lite_team_section',
    			'priority' => 40,
    			'llorix_one_lite_image_control' => true,
    			'llorix_one_lite_title_control' => true,
    			'llorix_one_lite_subtitle_control' => true
    		) ) );
    		
    		/********************************************************/
    		/********** TESTIMONIALS OPTIONS  ***********************/
    		/********************************************************/
    		
    		$wp_customize->add_section( 'llorix_one_lite_testimonials_section' , array(
    			'title'       => esc_html__( 'Testimonials section', 'llorix-one-companion' ),
    			'priority'    => 70,
    			'panel'       => 'llorix_one_lite_front_page_sections',
    			'active_callback' => 'llorix_one_lite_show_on_front',
    		));
    		
    		/* Testimonials show/hide */
    		$wp_customize->add_setting( 'llorix_one_lite_happy_customers_show', array(
    			'sanitize_callback' => 'llorix_one_lite_sanitize_text',
    		));
    		
    		$wp_customize->add_control( 'llorix_one_lite_happy_customers_show', array(
    			'type' => 'checkbox',
    			'label' => __('Disable the Testimonials section?','llorix-one-companion'),
    			'section' => 'llorix_one_lite_testimonials_section',
    			'priority'    => 1,
    		));
    		
    		/* Testimonials title */
    		$wp_customize->add_setting( 'llorix_one_lite_happy_customers_title', array(
    			'default' => esc_html__('Happy Customers','llorix-one-companion'),
    			'sanitize_callback' => 'llorix_one_lite_sanitize_text',
    		));
    		$wp_customize->add_control( 'llorix_one_lite_happy_customers_title', array(
    			'label'    => esc_html__( 'Main title', 'llorix-one-companion' ),
    			'section'  => 'llorix_one_lite_testimonials_section',
    			'priority'    => 10,
    		));
    		
    		/* Testimonials subtitle */
    		$wp_customize->add_setting( 'llorix_one_lite_happy_customers_subtitle', array(
    			'default' => esc_html__('Cloud computing subscription model out of the box proactive solution.','llorix-one-companion'),
    			'sanitize_callback' => 'llorix_one_lite_sanitize_text',
    		));
    		$wp_customize->add_control( 'llorix_one_lite_happy_customers_subtitle', array(
    			'label'    => esc_html__( 'Subtitle', 'llorix-one-companion' ),
    			'section'  => 'llorix_one_lite_testimonials_section',
    			'priority'    => 20,
    		));
    		
    		
    		/* Testimonials content */
    		if( function_exists('llorix_one_companion_testimonials_get_default_content')){
    			$default = llorix_one_companion_testimonials_get_default_content();
    		}
    		$wp_customize->add_setting( 'llorix_one_lite_testimonials_content', array(
    			'sanitize_callback' => 'llorix_one_lite_sanitize_repeater',
    			'default' => $default,
    		));
    		$wp_customize->add_control( new Llorix_One_Lite_General_Repeater( $wp_customize, 'llorix_one_lite_testimonials_content', array(
    			'label'   => esc_html__('Add new testimonial','llorix-one-companion'),
    			'section' => 'llorix_one_lite_testimonials_section',
    			'priority' => 30,
    			'llorix_one_lite_image_control' => true,
    			'llorix_one_lite_title_control' => true,
    			'llorix_one_lite_subtitle_control' => true,
    			'llorix_one_lite_text_control' => true
    		) ) );
    	
    	}
    }
    add_action( 'customize_register', 'llorix_one_companion_customize_register', 999 );
    ?>

    hello,

    i’ve just updsated the plugin and i have this error: Fatal error: Call to undefined function llorix_one_companion_sevices_get_default_content() in /web/htdocs/www.hitecotech.it/home/wp2/wp-content/plugins/llorix-one-companion/inc/settings.php on line 55

    Thread Starter acris

    (@acris)

    perfect, thank you ??

    Thread Starter acris

    (@acris)

    Thank you for your reply.
    It’s a page and i don’t want any sidebar.
    for example a page like this: https://www.hitecosnc.it/videosorveglianza/

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