Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #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

    #634177

    Hi 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,
    Basilis

    #634303

    Hi 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-616207

    function 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?

    #634312

    Hi 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

    #634314

    Hi!

    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!
    Yigit

    #634346

    Thank 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.

    #634815

    Hi Team
    i have fixed the problem.
    Thanks for your help.

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Ajax portfolio not loading correctly’ is closed to new replies.