Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

Affiliate Portal – Dropdown menus are not working (not opening)

by

Tips and Tricks HQ Support Portal › Forums › WP Affiliate Platform › WP Affiliate Troubleshooting › Affiliate Portal – Dropdown menus are not working (not opening)

  • This topic has 4 replies, 4 voices, and was last updated 7 years, 3 months ago by RichardC.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • August 24, 2015 at 12:13 pm #12998
    mat
    Member

    Hello i have problem that “Referrals” and “Ads” dropdown menu is not opening in page style 2 in WP Afifiliate Platform. You Can check it in this link

    [http://guzikcidotego.pl/program-partnerski/]

    login: demo123

    pas: demo123

    Thank You for help :)

    August 25, 2015 at 12:13 am #71177
    admin
    Keymaster

    It looks like your theme is preventing the bootstrap dropdown from working. Do the following theme test:

    https://support.tipsandtricks-hq.com/forums/topic/test-to-identy-a-conflicting-theme-or-plugin

    You can try and use the style 1 for your affiliate portal:

    https://www.tipsandtricks-hq.com/wordpress-affiliate/setting-up-the-affiliate-viewarea-315

    September 5, 2016 at 4:02 pm #71178
    Olik
    Member

    Hi,

    I just had the same challenge happening, and I found another solution, so you’re welcome to use it, too, if you wish.

    I found the answer here:

    [http://stackoverflow.com/questions/12458522/bootstrap-dropdown-not-working]

    The matter was that my theme already includes bootstrap.min.js, and in wp-affiliate-platformwp_affiliate_platform1.php you have the following code:

    if (is_a($post, 'WP_Post') && has_shortcode($post->post_content, 'wp_affiliate_view2')) {
    wp_enqueue_style('wpapview2bscss', WP_AFF_PLATFORM_URL . '/views/style2/assets/css/bootstrap.css');
    wp_enqueue_style('wpapview2customcss', WP_AFF_PLATFORM_URL . '/views/style2/assets/css/wpap.style2.css');
    wp_enqueue_script('wpapview2bsjs', WP_AFF_PLATFORM_URL . '/views/style2/assets/js/bootstrap.min.js', array('jquery'));
    }

    (so this is specific for the shortcode of affiliate_view2)

    when I commented out the line that enqueues bootstrap.min.js, the dropdowns started to open.

    But since I want to build a system, where I can update your plugins with no change, as much as possible, I just added to our functions.php the following lines:

    add_action( 'wp_enqueue_scripts', 'remove_stylesheets_and_scripts', 20 );
    function remove_stylesheets_and_scripts() {
    wp_dequeue_script( 'wpapview2bsjs' );
    }

    You’re welcome to use it :)

    September 5, 2016 at 11:13 pm #71179
    admin
    Keymaster

    Thank you for sharing tweak. Good solution.

    February 8, 2018 at 4:20 pm #71180
    RichardC
    Member

    This just worked for me. Thanks so much.

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ