Results 1 to 1 of 1

Thread: ACF Loop Ad Top and Advanced Search plugin

  1. #1
    dikiyforester's Avatar
    Join Date
    Oct 2011
    Location
    Russian Federation
    Posts
    2,229
    Thanks
    89
    Thanked 593 Times in 491 Posts

    ACF Loop Ad Top and Advanced Search plugin

    Hello!

    We are find compability issue with Advanced Search plugin:

    If you set some fields to display in Top or Bottom of the Loop, this not works in Advanced Search results Loop.

    In order to fix it, do the following:

    Open ACFCP file /wp-content/plugins/advanced-custom-fields-for-ClassiPress/includes/acf-content.php and find function acf_get_loop_fields()
    first what you will see in this function is condition:
    PHP Code:
        if ( !is_archive() && !is_search() )
            return 
    false
    Improve it:
    PHP Code:
    if ( !is_archive() && !is_search() && !isset($_GET['search']) )
            return 
    false
    So it would works!

    NOTICE: It is individual MOD (only for Advanced Search plugin compability) and it will not implemented in ACFCP plugin package!

    Good Luck!
    arthemes.org - AppThemes plugins, tutorials, modifications and services

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [MOD NEEDED] Advanced search plugin for Classipress search by current user
    By margothuijbregts in forum ClassiPress General Discussion
    Replies: 2
    Last Post: August 1st, 2012, 01:13 AM
  2. Advanced Search Plugin - search by price range?
    By renegademotors in forum Report ClassiPress Bugs
    Replies: 3
    Last Post: March 10th, 2012, 03:56 PM
  3. Advanced Search plugin?
    By spymare in forum Report ClassiPress Bugs
    Replies: 5
    Last Post: August 15th, 2011, 07:30 AM