Kins
Forum Replies Created
-
Forum: Themes and Templates
In reply to: twentythirteen_paging_nav(); problemI haven’t…
It’s totally odd.Forum: Themes and Templates
In reply to: twentythirteen_paging_nav(); problem/* Theme Name: Thème monthème (thirteen Child) Theme URI: https://example.com/ Description: Thème Lisbeth de beauté Author: Votre nom ici Author URI: https://example.com/about/ Template: twentythirteen Version: 0.1.0 */ @import url("../twentythirteen/style.css");
I don’t believe the error is there : all the other things i made in my theme child works.
Forum: Themes and Templates
In reply to: Add a widget zone as footer<?php remove_action( 'widgets_init', 'twentythirteen_widgets_init' ); //necessary to replace parent theme's code function twentyten_child_widgets_init() { register_sidebar( array( 'name' => __( 'Alt Primary Widget Area', 'twentyten' ), 'id' => 'alt-primary-widget-area', 'description' => __( 'Alt primary widget area', 'twentyten' ), 'before_widget' => '<li id="%1$s" class="widget-container %2$s">', 'after_widget' => '', 'before_title' => '<h3 class="widget-title">', 'after_title' => '</h3>', ) ); } /** Register sidebars by running twentyten_child_widgets_init() on the widgets_init hook. */ add_action( 'widgets_init', 'twentyten_child_widgets_init' );
[Moderator Note: Please post code & markup between backticks (not single quotes) or use the code button. Your posted code may now have been permanently damaged by the forum’s parser.]
In fonctions.php (child)
It seems to work… i’ll make tries and see Thanks for your helpForum: Themes and Templates
In reply to: Add a widget zone as footerhum, yeah.
And how do i do that? (a tuto perhaps?)
And after… where i must declare this function?Forum: Themes and Templates
In reply to: Add a widget zone as footerwhen i made that (change child) i have errors and my website doesnt work anymore…
But perhaps i made it wrong.
If you use “twentythirteen_widgets_init() {” in a functions.php in your child theme, it doesnt work… what should i do?