Forum Replies Created
-
AuthorPosts
-
Hello and now the details:
In this page: http://www.sqli-enterprise.com/solutions/customer-relationship-management/ I use two trigger to open the Magnific Popup:
1- A image with a link
2- A simple link
First, the most important thing to remember is that both of them are using the CSS class: ‘inline_popup‘
– The simple link trigger is:<a class="inline_popup" href="#content-to-open">workshop gratuit</a>
– The image link trigger is:
It’s important because this CSS class is declared in the JS code of my function.php :
$('.inline_popup').magnificPopup({
The HREF of those two links is : #content-to-open and it is the target (a color section) that wrap my Gravity form in a Enfold Block Code.
So in your page, add a Color Section and within it, add a block code:
Edit this Color Section and:
– give the ID field this value: content-to-open
– give the CSS class field this value: mfp-hide (mfp-hide is CSS class that come from the core of Magnific Popup, the role of it, is to hide each elements found on a page that have this class > your form should not be visible when the page load, but only within the Magnific Popup):
At the end, edit the Enfold Block Code, and put your own Form shortcode:
That’s all… :)
—
The code I used in my function.php come from the autor of Magnific Popup but I give you some informations :
focus: ‘#input_12_13’ > should be the Input Name of you first Input field of your form, this tips give the focus to it.
The autor said: ‘When elemened is focused, some mobile browsers in some cases zoom in. It looks not nice, so we disable it‘ More information can be found here http://dimsemenov.com/plugins/magnific-popup/ (look for the ‘Popup with form” example source code.Yes it works to open a form within Magnific Popup but it’s not simple.
I did it here: http://www.sqli-enterprise.com/solutions/customer-relationship-management/ (click on the big red image ‘workshop gratuit’.
It’s a Gravity form inside but it could be whatever you like.
I’ll give you more details how I did this.
First here the code in my function.php :function inline_popup_enabler(){ ?> <script> (function($){ $(window).load(function() { $('.inline_popup').magnificPopup({ type:'inline', midClick: true, preloader: false, focus: '#input_12_13', callbacks: { beforeOpen: function() { if($(window).width() < 700) { this.st.focus = false; } else { this.st.focus = '#input_12_13'; } } } }); }); })(jQuery); </script> <?php } add_action('wp_footer', 'inline_popup_enabler');
All the informations are available here :
http://dimsemenov.com/plugins/magnific-popup/
http://dimsemenov.com/plugins/magnific-popup/documentation.html#inline-typeI will give you how I setup my page later.
Hello
This works without any API Key :
<a href="https://maps.google.com/maps?q=1+Place+Giovanni+da+Verrazzano,+69009+Lyon,+France&hl=fr&iframe=true">Open Google map</a>
- This reply was modified 9 years, 9 months ago by pako69.
Hello
http://www.domodeco.fr/ V3 with enfold :)I had the same issue: want to hide YouTube related videos in all my posts without using the Youtube Embed code but only the YouTube Share Url.
use this plugin : https://wordpress.org/plugins/hide-youtube-related-videos/
It works… :-)Thanks Josue and could you please tell to Kriesi to just indicate at each updates which files have been updated in our readme.txt ?
my custom files are:
/includes
loop-search.php
loop-index.php
helper-social-media.php/shortcodes
slideshow.phpIt will be great if we were advice in the readme.txt about what files have been changed. Thanks
Hello
“All files in your Enfold folder will be overwritten on an update, but files in your child theme folder are safe, that is the reason for using child themes.”:-) Yes Iknow that, but it was not my question…
My question was : what files are changed/updated when the readme.txt only said : “folder config-templatebuilder”
Or if you prefere what files are changed in the folder config-templatebuilder ?February 4, 2015 at 8:47 pm in reply to: HELP: Version 3.08 break the mobile responsive menu! #390909This solved the issue : https://kriesi.at/support/topic/ipad-menu-2/
Please correct it asap in an 3.0.9 :-)@eddygame
It’s Easy Opt-ins For Mailchimp by Fatcat Apps : https://wordpress.org/plugins/mailchimp-wp/
:-)Hello @Ismael
Great :-) Better than modifiying Enfold core files.
I’ve found some tricks that can do what I want :RANDOM AND POST FROM THE CURRENT MONTH :
add_filter('avf_magazine_entries_query', 'avf_magazine_entries_custom_query'); function avf_magazine_entries_custom_query ( $query ) { $query['orderby'] = 'rand'; $query['order'] = 'DESC'; $current_month = date('m'); $query['monthnum'] = $current_month; return $query;
RANDOM AND POSTS FROM THE LAST 5 WEEKS
add_filter('avf_magazine_entries_query', 'avf_magazine_entries_custom_query'); function avf_magazine_entries_custom_query ( $query ) { $query['orderby'] = 'rand'; $query['order'] = 'DESC'; $query['date_query'] = array( array( 'after' => '5 week ago' ) ); return $query; }
With the help of :
https://tommcfarlin.com/get-posts-from-last-week/
and
http://codex.wordpress.org/Class_Reference/WP_Query#Date_ParametersHey @Arvish thanks it works :-)
Is is possible to set a range of date?
thanks#top .av-main-nav ul ul {left: 207px !important};
:-)
ClosedWonderfull @Yigit
:-)
ThanksHello @Yigit, that’s what I did but I’m very frustated being forced to wait for a feature we had before : I can’t upgrade to Enfold V3 because of that… :( to bad
Ok I see, the problem is : doing that with CSS create two menus in your source code… the Enfold one and the Responsive menu Plugin… :-(
I already tried another responsive menu plugin like yours, but I completey removed the Enfold one to avoid this issue ;-)Thanks @sundialstudios
I supposo you needed to hack some Enfold core files to completly remove the native menu or just hide it by somme CSS?@sundialstudios
Hello, what plugin menu did you used?
thanksNew features are great as long as they do not replace old one but stil a supplementary choice for us…
@Yigit
I love it, really. It’a a great update
The only thing I regret (in my opinion) is that this page: http://kriesi.at/archives/enfold-version-3-0-bigger-better-faster do not show us precisely all the new stuff that have beed added.
I’m french and it’s often hard to find/understand well.
For instance:
“added: new Header options: hide header until user scrolls down and hide header permanently on a single page”
Well… where do you think I look for this ? Enfold/theme options/header? Too bad it’s not there… it’s in a page! :-)
You live samples are great (if we understand waht you said) but it missing of simples screenshots to better see waht you are meaning…@hunter74
I’ve updated to Enfold V3 to a site that use a lot child theme and a lot of customizations.
I did not notice any issue on this site.
But I will be interested to know what CSS Classes bother you because I’ve a lot of V3 migrations to do…
ThanksV3 is availlable…
Go to your http://themeforest.net/downloadsHello Ismael
I have found the culprit its the plugin : Hybrid Connect or it’s Hybrid Connect + Enfold that do not play together well.
Hybrid Connect is now disabled on this site and the icons works.
Ok, but we need Hybrid Connect! /-)
Don’t you have a test plateform to test it?
thanksThis reply has been marked as private.10 days more ?
:-(hello
up… please
thank youThis reply has been marked as private.This reply has been marked as private.This reply has been marked as private. -
AuthorPosts