Page navigation stopped working
-
Firstly, I have to say that I went through a million different threads on this matter, and tried some of the solutions but was unsuccessful.
The website in question is
www.cok.me/enPlugins are not a problem, as I deactivated them all and the problem persisted.
It is, however, a problem in my custom theme, as a change to Twenty Fourteen does the trick just fine (navigation works). However, I would still like to fix the issue on my theme, as it worked very well before.index.php
get_header(); ?> <div id="container"> <?php headway_build_leafs(); ?> </div> <?php get_footer(); ?>functions.php
<?php // THIS LINKS THE THUMBNAIL TO THE POST PERMALINK add_filter( 'post_thumbnail_html', 'my_post_image_html', 10, 3 ); function my_post_image_html( $html, $post_id, $post_image_id ) { $html = '<a href="' . get_permalink( $post_id ) . '" title="' . esc_attr( get_post_field( 'post_title', $post_id ) ) . '">' . $html . '</a>'; return $html; } require_once TEMPLATEPATH.'/library/core/init.php'; remove_action('wp_head', 'wp_generator');
Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
The topic ‘Page navigation stopped working’ is closed to new replies.