• Resolved ashu8000

    (@ashu8000)


    How do I create 6 featured pages with cicular images on front page without damaging website? Can I make changes in admin customize file of parent theme. Can I copy everything in class content featured page file from parent to child theme and then edit the child theme file. Please guide

Viewing 3 replies - 31 through 33 (of 33 total)
  • Just wanted to thank you…this worked perfectly! I only wanted to add an “intro” block to the left of the three featured pages so I was able to create my own html/css for that section. Awesome!

    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.

    ??

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    @rigocr, It doesn’t look like the correct way because you’re editing core theme files directly. If you edit a theme directly like that, without using a Child Theme, those modifications will be erased when the theme updates. Customizr is an actively developed theme and it would be difficult to maintain such modifications.

    but I want to share with all of you the real way to add Featured Pages to Customizr

    Please don’t discredit the effort people have gone through in this thread to provide support and solutions to the problem.

Viewing 3 replies - 31 through 33 (of 33 total)
  • The topic ‘6 featured pages with images on front page’ is closed to new replies.