Leah
Forum Replies Created
-
Forum: Plugins
In reply to: [Popups - WordPress Popup] Popup jumps to top of page on iPhone (6)Awesome, thanks for looking into it. Any ideas?
I was thinking it might have something to do with the iPhone’s default keyboard behavior. The issue doesn’t occur (at least for me) immediately on popup load, but after the user taps an input field and the keyboard pushes up the content.
I was also thinking that a possible workaround could be to disable background functionality while the popup is visible or setting a fixed position.
It does seem to be something native, as I’ve tried testing it with iPhone emulators and can’t reproduce the behavior.
- This reply was modified 8 years, 4 months ago by Leah. Reason: spelling
Ah, it appears that somewhere along the way I removed the priority parameter that ensured my enqueue scripts function would load after the theme’s enqueue function, so there was a stylesheet that was loading after my custom stylesheet. Resetting that parameter fixed the issue.
Thank you for pointing me in the right direction, even though it had nothing to do with your plugin!
Forum: Plugins
In reply to: [Fast Velocity Minify] CSS no longer being minified?Awesome, thanks for the quick fix!
Forum: Plugins
In reply to: [Popups - WordPress Popup] Display popup based on custom field?Sorry for the repeated posts in this thread, but I found a better way to do this and thought I would share for anyone else who might happen across this problem.
I just created a custom page template that is an exact copy of
page.php
. The only difference is the name of the template, which you assign at the top of the file (after the opening<?php
tag) like so:/* * Template Name: My New Template * Description: Optional description */
(Note: You can save this file in your (preferably child) theme root directory or a sub-directory of the root.)
Then I just assigned that template to all of the pages that I wanted to show my specific popup on. You can change page templates very quickly in WordPress by bulk editing any pages you select and changing your selection from the Template dropdown.
From there I simply set the Popup Display Rules to show if the page template is equal to my new custom template, which is assigned to all of the pages that I wanted my popup to show up on.
Much more elegant than manually selecting each individual page!
Forum: Plugins
In reply to: [Popups - WordPress Popup] Display popup based on custom field?Figured out a workable solution.
So my problem was that I have two popups in the same location, but I didn’t want both to appear at the same time. As of right now, the only way for me to achieve this was to select every individual page in the display options that I want each popup to appear on. Not ideal.
Instead, I have the display rules for Popup 1 set so that they display on any page other than the ones I’ve set. I have Popup 2 set to display on all pages. Then I’m just using jQuery to remove Popup 2 on any page where Popup 1 is active.
This still isn’t all that elegant of a solution since I still need to set all of the individual pages for one of the popups, but it’s certainly better than having to assign every single page on my site to one or the other popup.
JS for anyone who’s interested:
jQuery(function($){
if ( $(‘POPUP_1_ID’).css(‘display’) == ‘block’ ) {
$(‘POPUP_2_ID’).remove();
}});
Forum: Plugins
In reply to: [Popups - WordPress Popup] Display popup based on custom field?Alternatively, is there a way to set priority for popups? Or perhaps make them conditional on the presence of other popups?
So, for example, let’s say I have P1 set to display on all pages and P2 set to display on certain pages. Is there a way that I could tell P1 not to display on pages where P2 is active?
Forum: Plugins
In reply to: [Fast Velocity Minify] jQuery moved to footer even when added to ignore listHi Paul, thanks for the quick reply.
It appears to be a conflict with another plugin that I had installed, Scripts to Footer. There’s a setting in that plugin to keep jQuery in the header, which I had enabled, but if I have both plugins active at the same time, it moves jQuery to the footer.
ˉ\_(ツ)_/ˉ
I’ve disabled that plugin as it’s no longer necessary and now everything is where it needs to be.
Thanks again!
Forum: Plugins
In reply to: [WP Go Maps (formerly WP Google Maps)] Conflict with W3TC JS MinificationUpdate: Got it to work by using deferred non-blocking instead of asynchronous.
Forum: Plugins
In reply to: [Popups - WordPress Popup] Any way to pass custom field data to popup?Disabled Ajax as you suggested, but still couldn’t get it to work. Found a fix though.
I’m using Contact Form 7 for my forms, but for some reason I wasn’t able to pass the data from within a popup form when using its built-in contextual tag options (i.e.
[text my_custom_field default:post_meta]
, which should fill that field with whatever value the my_custom_field key is set to).However, when I used the “Contact Form 7 Dynamic Text Extension” plugin’s built-in feature for this (i.e.
[dynamictext my_custom_field "CF7_get_custom_field key='my_custom_field'"]
, it worked fine.No idea why CF7’s built-in functionality wasn’t working. It’s fully possible that it’s an issue with CF7 and not your plugin.
In any case, thank you so much (again) for all of your help over the last couple of weeks!
Forum: Plugins
In reply to: [Popups - WordPress Popup] Update created weird styling issueAwesome, thank you so much!
Forum: Plugins
In reply to: [Popups - WordPress Popup] Manual Triggering not workingAwesome, thank you so much! I’ll be looking forward to that update.
Forum: Plugins
In reply to: [Popups - WordPress Popup] Manual Triggering not workingQuick update:
I tried using a different popup plugin alongside yours and while the ID method still didn’t work, I was able to get the popup to appear using the class method. The class method is also working when used with any other page element.
Not sure if I’m making sense, but it appears as though the ID trigger is broken all together and the class trigger is not working when I try to trigger one popup from another popup within this pluign (but it works otherwise).
Forum: Plugins
In reply to: [Popups - WordPress Popup] Manual Triggering not workingThanks so much for the quick response!
That approach seems to fix the anchoring issue (in this case just setting the position to #), but it’s still not displaying the popup ??