ThemeBoy / SportsPress

An open source league statistics plugin for WordPress created by ThemeBoy.
Other
152 stars 98 forks source link

Dropdown players not redirecting to chosen player? #188

Open jmac05r1 opened 7 years ago

jmac05r1 commented 7 years ago

Having an issue where if you click on a different player from the dropdown player list it does not redirect to that player?

Example: https://macsgolfhub.com/player/greg/ using the dropdown menu on the right does not work correctly if you click a different name.

Any help would be appreciated.

brianmiyaji commented 7 years ago

@jmac05r1 That's odd. It looks like sportspress.js isn't being loaded. Are there any other plugins installed?

jmac05r1 commented 7 years ago

@brianmiyaji I have only 3 plugins that are installed and active "Lockdown WPadmin, Sportspress and Sportspress for golf"

I've found the code in "/plugins/sportspress/templates/player-selector.php & /plugins/sportspress/assets/js/admin/sportspress-admin.js" in /plugins/sportspress/assets/js/admin/sportspress-admin.js I can see where //Trigger-dropdown-filter starts although I'm not to experienced with the code itself and what it does?

Been tempted to create a new test WP and see if it works out the box, haven't changed much to nothing on this install though. I'm really not wanting to disable the dropdown list but I have a feeling thats what its going to come to.

Thanks for the help.