Forum Replies Created

Viewing 12 replies - 16 through 27 (of 27 total)
  • Thread Starter Kins

    (@kins)

    Hello.

    I have found nothing till now…

    Anyone to help please?

    Thread Starter Kins

    (@kins)

    To do changes.

    But if it doesnt work why should i continue???

    It’s interesting to know why it doesn’t work…

    In my final purpose i’ll have this:

    this

    But the problem stay the same.

    Thread Starter Kins

    (@kins)

    If u want but it’s just a copy from parent theme’s category.php
    It’s juste the same file:

    ici

    Thread Starter Kins

    (@kins)

    it works.
    But i must have category and single php in my theme child to change some things.

    Thread Starter Kins

    (@kins)

    @esmi: with the parent theme activated, all work fine!

    I have also tried to re install the theme. But it’s the same.
    onte thing strange too: when you’re in back office and you have your themes to choose, twenty thirteen have the title tewnty twelve… strange even if i have it reinstalled.

    Thread Starter Kins

    (@kins)

    When i have a category page or a single page:

    fatal error: Call to undefined function twentythirteen_paging_nav() in C:\wamp\www\wordpress\wp-content\themes\mytheme\category.php

    yeah strange.

    Thread Starter Kins

    (@kins)

    But warning: i have a functions.php in my child theme.
    But nothing important i guess:

    <?php
    register_sidebar( array(
    'name' => __( 'Footer Area One', 'twentyfourteen' ),
    'id' => 'sidebar-4',
    'description' => __( 'An optional widget area for your site footer', 'twentyfourteen' ),
    'before_widget' => '<aside id="%1$s" class="widget %2$s">',
    'after_widget' => "</aside>",
    'before_title' => '<h3 class="widget-title">',
    'after_title' => '</h3>',
    ) );
    
    register_sidebar( array(
    'name' => __( 'Footer Area Two', 'twentyfourteen' ),
    'id' => 'sidebar-5',
    'description' => __( 'An optional widget area for your site footer', 'twentyfourteen' ),
    'before_widget' => '<aside id="%1$s" class="widget %2$s">',
    'after_widget' => "</aside>",
    'before_title' => '<h3 class="widget-title">',
    'after_title' => '</h3>',
    ) );
    
    register_sidebar( array(
    'name' => __( 'Footer Area Three', 'twentyfourteen' ),
    'id' => 'sidebar-6',
    'description' => __( 'An optional widget area for your site footer', 'twentyfourteen' ),
    'before_widget' => '<aside id="%1$s" class="widget %2$s">',
    'after_widget' => "</aside>",
    'before_title' => '<h3 class="widget-title">',
    'after_title' => '</h3>',
    ) );
    ?>
    
    <?php function custom_excerpt_length( $length ) {
    	return 40;
    }
    add_filter( 'excerpt_length', 'custom_excerpt_length', 999 );
    function new_excerpt_more( $more ) {
    	return '<div class="fixclear"></div><a class="read-more" href="'. get_permalink( get_the_ID() ) . '">Read More</a>';
    }
    add_filter( 'excerpt_more', 'new_excerpt_more' );
    
    ?>
    Thread Starter Kins

    (@kins)

    I haven’t…
    It’s totally odd.

    Thread Starter Kins

    (@kins)

    /*
    Theme Name:     Thème monthème (thirteen Child)
    Theme URI:      http://example.com/
    Description:    Thème Lisbeth de beauté
    Author:         Votre nom ici
    Author URI:     http://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.

    Thread Starter Kins

    (@kins)

    <?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 help

    Thread Starter Kins

    (@kins)

    hum, yeah.
    And how do i do that? (a tuto perhaps?)
    And after… where i must declare this function?

    Thread Starter Kins

    (@kins)

    when 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?

Viewing 12 replies - 16 through 27 (of 27 total)