Tagged: pagination, Portfolio
-
AuthorPosts
-
February 14, 2016 at 10:10 pm #583014
I use the Enfold templates on 5 of my sites.
On one of them I have added the following code to the child-theme functions.php to make sure the focus doesn’t change on pagination:
add_action( ‘wp_footer’, ‘enfold_customization_pagination_anchor’ );
function enfold_customization_pagination_anchor() {
?>
<script type = “text/javascript”>
jQuery(document).ready(function(){
jQuery(‘.pagination a’).each(function(i, e){
var url = jQuery(this).attr(‘href’);
jQuery(this).attr(‘href’, url + “#portfolio”);
});
});
</script>
<?php
}This really worked like a charm, but now I just figured out the pagination is not working anymore.
I turned of JS minifying, delete server- and browsercaches, but it’s not helping.
Did something change in the latest version of the theme that could trigger this?February 15, 2016 at 2:09 pm #583405Hi envis!
Please update WordPress to the version 4.4.2 and Enfold to the latest version 3.4.7 – kriesi.at/documentation/enfold/updating-your-theme-files/. You are currently using older versions of both :)
Best regards,
YigitFebruary 16, 2016 at 12:09 am #583828Yigit,
You are right, I have updated WordPress, but the automatic update through Envato doesn’t work.
I get the screen:
Theme Updates
No Updates available. You are running the latest version! (3.3.2)
Check ManuallySo I will update manually and let you know.
February 16, 2016 at 1:32 am #583842I have updated the template manually.
Any clue why it doesnt’t find the update automatically?
The credentials I have doublechecked and they are valid.The portfolio is working again, thanx :)
February 17, 2016 at 5:23 am #584455Hi,
It might be due to WordPress transients, you could try this plugin to see if it helps on the next update: https://wordpress.org/plugins/artiss-transient-cleaner/
Regards,
RikardFebruary 21, 2016 at 5:12 pm #586695Rikard,
I am using WP Optimize https://wordpress.org/plugins/wp-optimize/.
It can also delete transient options from the database.
Manually updating dit the trick.
Thanx! :) -
AuthorPosts
- The topic ‘Portfolio pagination not workin anymore’ is closed to new replies.
