Adding Affiliate Code to Listing

This topic contains 25 replies, has 3 voices, and was last updated by  Stiofan O’Connor 6 years, 11 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #376395

    tkh2015
    Expired Member
    Post count: 147

    Hi,

    I had this problem before and it is now happening again. The ad is being added to below the footer and I wanted it to be included at the end of the listing and not below the footer.

    Please see this URL:

    https://wpgeodirectory.com/support/topic/adding-code-to-a-listing/

    thanks.

    #376442

    Paolo
    Site Admin
    Post count: 31206

    Hi,

    did you delete somehow the code provided by Stiofan?

    I asked to Stiofan to have a look again.

    Let us know,

    Thanks

    #377219

    tkh2015
    Expired Member
    Post count: 147

    Sorry for the delay in responding. I don’t know where the code is but would not have deleted it.

    Can you let me know where the code is and how I can fix this?

    Thank you.

    #377529

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    looks like you resolved it?

    Stiofan

    #377581

    tkh2015
    Expired Member
    Post count: 147
    This reply has been marked as private.
    #377701

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Install the plugin “code snippets” then add this snippet and activate

    
    
    function _my_geodir_booster_exclude_js( $continue, $content ) {
    if (strpos($content, 'hotelscombined.com/SearchBox/') !== false ) {
            $continue = true; 
        }
    
    return $continue; 
    }
    add_filter( 'geodir_booster_script_continue', '_my_geodir_booster_exclude_js', 10, 2 );

    Thanks,

    Stiofan

    #377801

    tkh2015
    Expired Member
    Post count: 147

    Hello,

    Thank you for responding.

    I had the plugin installed and the code is still there.

    The ad still shows below the footer.

    #377891

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Please provide wp-admin details.

    Stiofan

    #377954

    tkh2015
    Expired Member
    Post count: 147
    This reply has been marked as private.
    #378350

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    I can’t seem to access your site, i keep getting different error messages, please let me know when its working and i’ll have another look.

    Thanks,

    Stiofan

    #378380

    tkh2015
    Expired Member
    Post count: 147
    This reply has been marked as private.
    #378537

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    For the search box, please check now.

    For the error, some of your plugins are out of date, such as the location manager, please update via FTP or via this plugin https://wordpress.org/plugins/easy-theme-and-plugin-upgrades/
    There was a problem that affected some update notifications for some old version, you should only manually have to update once.

    Thanks,

    Stiofan

    #378582

    tkh2015
    Expired Member
    Post count: 147
    This reply has been marked as private.
    #378670

    Paolo
    Site Admin
    Post count: 31206

    Hi,

    I just double checked your plugin and there are several outdated:

    You can check the version numbers here: https://wpgeodirectory.com/support/members/tkh2015/

    Location manager current version is 1.5.40, you have version 1.4.3 installed.
    Buddypress Integration 1.1.2 installed vs 1.1.7 current
    Custom post types 1.3.2 installed vs 1.3.4 current

    and I haven’t checked further…

    Please update them all, possibly via FTP, because the location manager is so old that you won’t be able to update it any other way.

    Remember after updating to install WP Easy Updates and make sure you have license keys activated for all add-ons so not to miss future updates.

    Let us know how it goes,

    Thanks

    #378672

    tkh2015
    Expired Member
    Post count: 147

    Thanks Paolo. I’ll get to this tomorrow & let you know.

Viewing 15 posts - 1 through 15 (of 26 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket