[theme; twentyfourteen] child theme doesn't override some aspects
-
I need the post next/previous navigation to remain within the category a post is in.
I added to my child theme a “template-tags.php” in “inc” directory to mimic the path of the parent. Then added
'Previous', true
and'Next', true
into this part of the code:`previous_post_link( ‘%link’, __( ‘<span class=”meta-nav”>Previous Post</span>%title’, ‘twentyfourteen’ ), ‘Previous’, true);
next_post_link( ‘%link’, __( ‘<span class=”meta-nav”>Next Post</span>%title’, ‘twentyfourteen’ ), ‘Next’, true);`Nothing happens at all. I did the exact same thing directly in the parent theme and it worked great. But for some reason, it disregards the child theme. Otherwise the child theme works.
Any ideas?
- The topic ‘[theme; twentyfourteen] child theme doesn't override some aspects’ is closed to new replies.