Forum Replies Created
-
AuthorPosts
-
November 25, 2017 at 11:00 am in reply to: Slow site: problem with parser-blocking cross origin script (document.write)? #881549
Hi, topic can be closed.
Thans you again.November 24, 2017 at 9:13 am in reply to: Slow site: problem with parser-blocking cross origin script (document.write)? #881083Well John, thanks you for your time. It seems I was wrong about Enfold being the culprit. I deactivated and reactivated all my plugns and the problem vanished.
Thanks again.- This reply was modified 6 years, 12 months ago by Sim0nb.
Ok, got it, the button code should be
<a class="open-popup-link" href="#test-popup"><button type="button" class="btn btn-info btn-lg">Posez une question</button></a>
This ticket may be closed.
Thanks again for your time.Perhaps just one last question about the difference between using buttons and links:
When I use the link code<a class="open-popup-link" href="#test-popup">Show inline popup</a>
the popup opens but when I try to use a button:<a href="#test-popup"><button type="button" class="btn btn-info btn-lg">Posez une question</button></a>
, nothing happens.
Still, hoovering with the mouse on both gives the same url;
I’m a bit t a loss here.
Thanks.- This reply was modified 7 years, 5 months ago by Sim0nb.
Thanks Jordan, you were very quick to react.
I just forgot to adapt the css as explained in the post; now it works perfectly!
Thanks again.- This reply was modified 7 years, 5 months ago by Sim0nb.
Ok, fair enough. I have then tried to use a more ‘Enfold’ solution as proposed in this ticket: https://kriesi.at/support/topic/contact-form-in-pop-up-prettyphoto-issue/#post-304173 and…it works perfectly!
Thanks for your time!
- This reply was modified 7 years, 5 months ago by Sim0nb.
Ok, here it is (in private reply)
Hi Jordan,
I just sent you a private message.
Thanks.May 12, 2017 at 1:45 pm in reply to: How to dynamically feed images into Enfold gallery shortcode [av_gallery]? #792287Hello Ismael,
Indeed, the solution lied within Toolset plugin; more particularly, I had to register the newly generated shortcode (the one used to extract images ids number suite) within Toolset/settings prior to try embed it into av_gallery shortcode.
Now everything is fine, so you can close this ticket.Thanks for your time
May 10, 2017 at 1:13 pm in reply to: How to dynamically feed images into Enfold gallery shortcode [av_gallery]? #791058Hello Ismael,
Thanks for the suggestion; the shortcode [wpv-post-field] is not ok for getting images IDs. So I have placed in function php a routine to extract said ids and create a shortcode called [get-images-ids] to enable the display of the Ids list. This works in standalone but not within av-gallery (so far).
Also, I have tried your suggested shortcode in function.php but get the following error:[av_gallery ids='1' style='big_thumb' preview_size='portfolio' crop_big_preview_thumbnail='avia-gallery-big-crop-thumb' thumb_size='portfolio' columns='5' imagelink='lightbox' lazyload='avia_lazyload']
Warning: Cannot modify header information – headers already sent by (output started at /home/mysite/public_html/testbed/wp-content/themes/aja911/functions.php:110) in /home/mysite/public_html/testbed/wp-content/plugins/toolset-module-manager/common/Settings.php on line 78Still it might be the way to go. I have sent you credentials in the private messaging area.
Thanks.- This reply was modified 7 years, 6 months ago by Sim0nb.
May 9, 2017 at 7:09 am in reply to: How to dynamically feed images into Enfold gallery shortcode [av_gallery]? #790015Hi Mike,
Thanks for that.
In the meantime, I think the ‘ids’ numbers actually correspond to the post ID of each image as referred to in the wp_posts table.
I suppose one can dynamically retrieve those based on their post_parent number (the actual post there were attached to).
I’ll look further into it although I am alas no ‘hard core’ programmer so, still, any help is most welcome ;)
Cheers.May 7, 2017 at 9:13 am in reply to: How to dynamically feed images into Enfold gallery shortcode [av_gallery]? #789063Hey Mike,
Thanks for your hint.
Actually, I have already modified Enfold single.php file and put in child theme so that it can display a customized template (Layout in Toolset parlance) conditionnaly for my custom post type with custom fields; this integrates flawlessly wihin Enfold.
My very specific question is about understanding how I can retrieve/generate those images ids numbers used in the av_gallery shortcode for each posts where images are saved within a custom field, so that I can use this gallery view without having to specify images manually.
I hope you can help me there as it would allow a dynamic use of Enfold brilliant design.Thanks again,
-
AuthorPosts