New Landing How can we help? Themeforest Theme Support Ability How to deploy an Ability site locally ?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Posted in: Ability
  • #82859
    openflips
    Member
    Post count: 6

    Hi,

    I wish to keep a working local copy of an site based on Ability, already online.

    I’m struggling to get it working locally when I’m offline. I guess some scripts are loaded from the Internet.

    I tried to load the local jquery included in WordPress, it helps to get the menu and the showcase working but still doesn’t help with the Portfolio categories filter.

    Could you please suggest me an solution to that ?

    Many thanks,
    flips

    #83075
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    You should be able to duplicate the site locally, however you will need to make sure you change all the links, and copy the database to your machine

    – Kyle

    #83233
    openflips
    Member
    Post count: 6

    Hi Kyle,

    I know how to duplicate a site locally, however with the Ability theme, it doesn’t work.

    Here is how I managed to make it working :

    1. Download http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js to the ability js folder
    2. Load it in functions.php :

    wp_register_script(‘jquery’, get_template_directory_uri() . ‘/js/jquery.min.js’);

    3. Remove this line to prevent loading the remote file :

    wp_register_script(‘jquery’, ‘http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js’);

    Hope this helps to improve the theme.

    Thanks,
    flips

    #83329
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Ok thanks for your help!

    – Kyle

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register