Title: twentythirteen_paging_nav(); problem
Last modified: August 21, 2016

---

# twentythirteen_paging_nav(); problem

 *  [Kins](https://wordpress.org/support/users/kins/)
 * (@kins)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/twentythirteen_paging_nav-problem/)
 * Hello,
 * when i make a them child for thirteen, if i copy the category.php or single.php
   in my theme child directory i have an error
 * `fatal error: Call to undefined function twentythirteen_paging_nav() in C:\wamp\
   www\wordpress\wp-content\themes\mytheme\category.php`
 * i have tried many things but nothing worked. If i remove the function, it works
   but i have no paging…
 * Can you help me, please?
 * Thanx.

Viewing 15 replies - 1 through 15 (of 18 total)

1 [2](https://wordpress.org/support/topic/twentythirteen_paging_nav-problem/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/twentythirteen_paging_nav-problem/page/2/?output_format=md)

 *  Moderator [Jose Castaneda](https://wordpress.org/support/users/jcastaneda/)
 * (@jcastaneda)
 * THEME COFFEE MONKEY
 * [12 years, 3 months ago](https://wordpress.org/support/topic/twentythirteen_paging_nav-problem/#post-4511810)
 * What’s your style.css header look like?
 *  Thread Starter [Kins](https://wordpress.org/support/users/kins/)
 * (@kins)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/twentythirteen_paging_nav-problem/#post-4511816)
 *     ```
       /*
       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.
 *  Moderator [Jose Castaneda](https://wordpress.org/support/users/jcastaneda/)
 * (@jcastaneda)
 * THEME COFFEE MONKEY
 * [12 years, 3 months ago](https://wordpress.org/support/topic/twentythirteen_paging_nav-problem/#post-4511821)
 * That seems a little odd. I’m guessing you haven’t modified the twenty-thirteen
   theme, correct?
 *  Thread Starter [Kins](https://wordpress.org/support/users/kins/)
 * (@kins)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/twentythirteen_paging_nav-problem/#post-4511823)
 * I haven’t…
    It’s totally odd.
 *  Thread Starter [Kins](https://wordpress.org/support/users/kins/)
 * (@kins)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/twentythirteen_paging_nav-problem/#post-4511824)
 * 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' );
   
       ?>
       ```
   
 *  Moderator [Jose Castaneda](https://wordpress.org/support/users/jcastaneda/)
 * (@jcastaneda)
 * THEME COFFEE MONKEY
 * [12 years, 3 months ago](https://wordpress.org/support/topic/twentythirteen_paging_nav-problem/#post-4511826)
 * Do you get an error only when you are on a category page? When does the error
   occur?
 *  Thread Starter [Kins](https://wordpress.org/support/users/kins/)
 * (@kins)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/twentythirteen_paging_nav-problem/#post-4511828)
 * 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.
 *  Moderator [Jose Castaneda](https://wordpress.org/support/users/jcastaneda/)
 * (@jcastaneda)
 * THEME COFFEE MONKEY
 * [12 years, 3 months ago](https://wordpress.org/support/topic/twentythirteen_paging_nav-problem/#post-4511829)
 * Really strange. When I have some free time I’ll try and re-create this see if
   I can find some solution.
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/twentythirteen_paging_nav-problem/#post-4511830)
 * What happens if you switch back to the unedited parent theme?
 *  Thread Starter [Kins](https://wordpress.org/support/users/kins/)
 * (@kins)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/twentythirteen_paging_nav-problem/#post-4511831)
 * [@esmi](https://wordpress.org/support/users/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.
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/twentythirteen_paging_nav-problem/#post-4511832)
 * What happens if you just remove your child theme’s category.php template file?
 *  Thread Starter [Kins](https://wordpress.org/support/users/kins/)
 * (@kins)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/twentythirteen_paging_nav-problem/#post-4511833)
 * it works.
    But i must have category and single php in my theme child to change
   some things.
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/twentythirteen_paging_nav-problem/#post-4511834)
 * Well, at least this narrows the issue down to your category template file. Can
   you drop a copy of that file into a pastebin and post the pastebin url here so
   that we can have a look at it?
 *  Thread Starter [Kins](https://wordpress.org/support/users/kins/)
 * (@kins)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/twentythirteen_paging_nav-problem/#post-4511837)
 * If u want but it’s just a copy from parent theme’s category.php
    It’s juste the
   same file:
 * [ici](http://tny.cz/3857bb79)
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/twentythirteen_paging_nav-problem/#post-4511838)
 * If it’s exactly the same as the parent’s template file, why have you included
   it in the child theme? If you remove it, the child will automatically use the
   parent’s copy.

Viewing 15 replies - 1 through 15 (of 18 total)

1 [2](https://wordpress.org/support/topic/twentythirteen_paging_nav-problem/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/twentythirteen_paging_nav-problem/page/2/?output_format=md)

The topic ‘twentythirteen_paging_nav(); problem’ is closed to new replies.

## Tags

 * [nav](https://wordpress.org/support/topic-tag/nav/)
 * [paging](https://wordpress.org/support/topic-tag/paging/)
 * [problem](https://wordpress.org/support/topic-tag/problem/)

 * 18 replies
 * 4 participants
 * Last reply from: [michalzuber](https://wordpress.org/support/users/michalzuber/)
 * Last activity: [11 years, 12 months ago](https://wordpress.org/support/topic/twentythirteen_paging_nav-problem/page/2/#post-4512054)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
