mickeline
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Customizr] Remove featured page on mobile versionNot working ??
Forum: Themes and Templates
In reply to: [Customizr] Remove featured page on mobile versionSomeone? ??
this customizr theme is so hard to configure …HUm well … today it’s working ??
So, bug is gone ^^’
Forum: Themes and Templates
In reply to: [Customizr] Add a four widget area not workingSo, maybe with a picture it’s better to understand what i try to do…
Forum: Themes and Templates
In reply to: [Customizr] Add a four widget area not workingHi everyone ??
I always have this problem, impossible to add a four widget area in my footer…
i copy paste this code in my function.php file in my children theme, but nothing appear…
// Adds a widget area. It gets registered automatically as part of the arra add_filter( 'tc_footer_widgets', 'my_footer_widgets'); function my_footer_widgets( $default_widgets_area ) { $default_widgets_area['footer_four'] = array( 'name' => __( 'Footer Widget Area Four' , 'customizr' ), 'description' => __( 'Just use it as you want !' , 'customizr' ) ); return $default_widgets_area; } // Adds a class to style footer widgets add_filter( 'footer_four_widget_class', 'my_footer_widget_class'); function my_footer_widget_class() { return 'span12'; }
Any help? ideas? ??
Forum: Themes and Templates
In reply to: [Customizr] Add a four widget area not workingOkay, i found one of my problem, i haven’t activate the child theme, i tought i do, but no ??
Juste one another question : where is the footer.php in the children costomizr theme? really i don’t find it ??
- This reply was modified 7 years ago by mickeline.
Forum: Themes and Templates
In reply to: [Customizr] Add a four widget area not workingI put this code in my function.php
do_action( '__before_footer' ); ?> <!-- FOOTER --> <footer id="footer" class="<?php echo czr_fn__f('tc_footer_classes', '') ?>"> <?php do_action( '__footer' ); // hook of footer widget and colophon?> <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar("footer_quatre") ) : ?> <?php endif;?> </footer> </div><!-- //#tc-page-wrapper --> <?php do_action( '__after_page_wrap' ); wp_footer(); //do not remove, used by the theme and many plugins do_action( '__after_footer' ); ?> </body> <?php do_action( '__after_body' ); ?> </html>
And this one in my footer.php :
<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar("footer_quatre") ) : ?> <?php endif;?>
i add it inside these :
do_action( '__before_footer' ); ?> <!-- FOOTER --> <footer id="footer" class="<?php echo czr_fn__f('tc_footer_classes', '') ?>"> <?php do_action( '__footer' ); // hook of footer widget and colophon?> <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar("footer_quatre") ) : ?> <?php endif;?> </footer> </div><!-- //#tc-page-wrapper --> <?php do_action( '__after_page_wrap' ); wp_footer(); //do not remove, used by the theme and many plugins do_action( '__after_footer' ); ?> </body> <?php do_action( '__after_body' ); ?> </html>
So, i can see the widget in my widget page but is not appear on my website ??
- This reply was modified 7 years ago by mickeline.
Forum: Themes and Templates
In reply to: [Customizr] Add a four widget area not workingOh wel, thanks a lot ??
But no …. why this snippet just work for the cassical style?
Where can i find the snippet for the modern style? ??great thansk ??