robotlove
Forum Replies Created
-
Thanks for the tips. I ended up using the popmakeInit event which I found described here: https://wppopupmaker.com/docs/developer/overview-popup-maker-javascriptjquery-api/
The popup is triggered after popmakeInit, and it works perfectly.
Forum: Plugins
In reply to: [Page scroll to id] Safari seems to delete hashGrateful for this thread, it solved my problem as well. Thanks!
If my first question was unclear, I’ll try to clarify. I’m trying to open a popup from a link that contains a hash. The idea is that you are taken to another page, where a popup opens. This popup will be triggered by the JavaScript in my last post, based on the hash in the URL on the new page.
The problem is that the popup loads but is transparent.. My theory is that my JavaScript is loading too soon, before the popup and the overlay are finished loading. What is the best way to make sure my js loads after the popups?
Forum: Fixing WordPress
In reply to: menu-item-home class missing from wp_nav_menu() resultHey hkonno,
This was super helpful! Thanks for posting your solution. I was racking my brain to solve this same issue and your follow-up saved me. Cheers!
Forum: Plugins
In reply to: [All-in-One WP Migration and Backup] port number added onto new URLMy fault. If anyone else has this issue… I had hardcoded localhost and port number in functions.php for the site URLs when debugging earlier!
Ugh.
I figured this out eventually. I needed to select a template first for the Home page before it would allow a static home page. Not so intuitive to me but there you have it.
Forum: Plugins
In reply to: [Lessify Wordpress] How to set up with a child theme?Got it working.
add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles', 11 ); function theme_enqueue_styles() { wp_enqueue_style( 'less-style', get_stylesheet_directory_uri() . '/style.less' ); }