Forum Replies Created

Viewing 1 replies (of 1 total)
  • Hi to all,

    I know the post is from some months ago but I want to share with all of you the real way to add Featured Pages to Customizr.

    Step1:

    Go to /wp-content/themes/Customizr/inc/class-fire-init.php

    In line 86 you should see the following code:

    $this -> fp_ids = array( 'one' , 'two' , 'three' );

    You just need to add the many as you need, for example 6 featured pages:

    $this -> fp_ids = array( 'one' , 'two' , 'three', 'four', 'five', 'six' );

    Step2:

    Go to /wp-content/themes/Customizr/inc/admin/class-admin-customize.php

    In line 185 add to the function the same number of items as you choosed before:

    'dropdown' 	=> 	array(
    						'one' 	=> __( 'Home featured page one' , 'customizr' ),
    						'two' 	=> __( 'Home featured page two' , 'customizr' ),
    						'three' => __( 'Home featured page three' , 'customizr' ),
    						'four' => __( 'Home featured page four' , 'customizr' ),
    						'five' => __( 'Home featured page five' , 'customizr' ),
    						'six' => __( 'Home featured page six' , 'customizr' )
    'text'		=> array(
    						'one' 	=> __( 'Featured text one (200 car. max)' , 'customizr' ),
    						'two' 	=> __( 'Featured text two (200 car. max)' , 'customizr' ),
    						'three' => __( 'Featured text three (200 car. max)' , 'customizr' ),
    						'four' => __( 'Featured text four (200 car. max)' , 'customizr' ),
    						'five' => __( 'Featured text five (200 car. max)' , 'customizr' ),
    						'six' => __( 'Featured text six (200 car. max)' , 'customizr' )

    It is all, now you can administer all the Featured Pages from the Customize in WordPress.

    ??

Viewing 1 replies (of 1 total)