Tagged: ajax portfolio
-
AuthorPosts
-
May 18, 2016 at 5:29 am #634156
Hi Team
I have just updated my portfolio items. When I try to use the sortable ajax portfolio categories, they don’t deliver all the portfolio items onto the first page. Some end up on page 2, sometimes there are only 8 on the first page and others catergories also end up on the 2 page.I did update the functions.php folder after the update. Could this be the problem?.
Here is the site http://www.patrickmccarthy.co.nz
Thanks
May 18, 2016 at 6:28 am #634177Hi kiwipat
How you updated the functions.php?
Have you added something inside, only for it?
Can you remove any modification, disable the plugins and give it a try again, if it does fix the issue?Regards,
BasilisMay 18, 2016 at 11:11 am #634303Hi Basilis
I updated the functions.php file as per this thread after updating WordPress 4.6
https://kriesi.at/support/topic/having-problems-after-updating-to-wordpress-4-5-please-read-this-first/#post-616207function modify_jquery() {
if (!is_admin()) {
wp_deregister_script(‘jquery’);
wp_register_script(‘jquery’, ‘https://code.jquery.com/jquery-1.11.3.min.js’);
wp_enqueue_script(‘jquery’);
}
}
add_action(‘init’, ‘modify_jquery’);What do you think?
May 18, 2016 at 11:21 am #634312Hi Basilis
Now getting this.
Fatal error: Cannot redeclare modify_jquery() (previously declared in /home/patric13/public_html/wp-content/themes/enfold/functions.php:531) in /home/patric13/public_html/wp-content/themes/enfold/functions-enfold.php on line 1672.Help Please
May 18, 2016 at 11:23 am #634314Hi!
Please go to ublic_html/wp-content/themes/enfold/functions-enfold.php via FTP and remove the code from there. Code should be added to functions.php file and not functions-enfold.php file
Cheers!
YigitMay 18, 2016 at 12:10 pm #634346Thank you have reloaded the theme.
Now back to the problem on the Ajax Portfolio – Latest Area Sales.
Once the category is selected, the pages won’t load the correct number of portfolio items.
The Avenues should have 8 portfolio items on the page. Page 2 shouldn’t be there.
St Marys Bay page 1 is OK, but page 2 should not be there and is full of items that shouldn’t be there.Could you have a look please.
May 18, 2016 at 11:01 pm #634815Hi Team
i have fixed the problem.
Thanks for your help. -
AuthorPosts
- The topic ‘Ajax portfolio not loading correctly’ is closed to new replies.