-
AuthorPosts
-
September 12, 2018 at 3:23 am #1008685
Hi!
I’ve been trying to trigger a pop up that i built with the “popup builder” plugin. this seems to be compatible with the enfold theme as i can select the popups in the enfold link selector. I want that the popup triggers when the user clicks on a column.
screenhot here: https://imgur.com/UiQbSfT
however, when i assign the popup to the desired column, it never shows. it justs redirects to homepage and popup is never triggered.
any ideas on what’s happening? if you need login details are on the private section
September 12, 2018 at 12:52 pm #1008880Hey Javi,
Best regards,
VictoriaSeptember 12, 2018 at 5:15 pm #1009017sorry, links added and you shall be able to log in now
September 13, 2018 at 5:16 am #1009206Hi,
Thanks for the update.
You can’t apply the popup builder post as the column link. You can, however, add the popup builder shortcode manually and set the event parameter to “click” instead of “load”. (see private field)
Example:
[sg_popup id="486" event="click"]Click here to open the popup[/sg_popup]
Actual markup of the shortcode:
<a class="sg-show-popup sgpb-popup-id-486" data-sgpbpopupid="486" data-popup-event="click">Click here to open the popup</a>
Best regards,
Ismael3September 14, 2018 at 12:09 am #1009730Thank you, yes i was trying to avoid the shortcode, but if there’s no choice, it’s ok. I managed a way to do what i wanted though, so your answer helped me anyways.
Also, another question, see this at the bottom: http://webtilia.com.es/indianmotors/
i have a grid with 3 blog posts. I’d like to display the date (currenty at the bottom) before the post title. Is that’s possible?
Many thanks in advance
Jean
September 14, 2018 at 3:26 am #1009763Hi,
Glad that you managed to do what you wanted. Regarding the date, you can use this script on the functions.php file to move the date container before the title.
add_action('wp_footer', 'ava_custom_script_move_date'); function ava_custom_script_move_date(){ ?> <script type="text/javascript"> (function($) { $(document).ready(function() { $('.slide-entry').each(function () { var date = $(this).find('.slide-meta'); var title = $(this).find('.slide-entry-title'); date.insertBefore(title); }) }); })(jQuery); </script> <?php }
You can then use a few css modifications to adjust the style of the date meta.
Best regards,
IsmaelSeptember 14, 2018 at 9:30 pm #1009944Thanks! It worked perfectly
Just one more thing, to close this topic.
In single post layout, i need the date to before display the main image
http:// webtilia.com.es/indianmotors/gas-natural-o-glp-2/
Thanks in advance! You are the best support team in earth ;)
- This reply was modified 6 years, 3 months ago by cohetete.
September 16, 2018 at 10:03 am #1010328Hi cohetete,
Here is the code you can put in your funtions.php
add_action('wp_footer', 'ava_single_move_date'); function ava_single_move_date(){ ?> <script type="text/javascript"> (function($) { $(document).ready(function() { $('.single .post-entry.post-entry-type-standard').each(function () { var date = $(this).find('.post-meta-infos'); var heading_wrapper = $(this).find('.av-heading-wrapper'); date.appendTo(heading_wrapper); }); }); })(jQuery); </script> <?php }
and this css:
.html_elegant-blog #top .post-entry .post-meta-infos { float: none; }
If you need further assistance please let us know.
Best regards,
VictoriaSeptember 17, 2018 at 4:34 pm #1010835Hi victoria
Sorry but this one is not working :(
September 18, 2018 at 5:52 am #1011078Hi,
The post meta info are displayed above the featured image when I checked the post. Is this fixed?
// https://imgur.com/a/Qs8BMBh
Best regards,
IsmaelSeptember 20, 2018 at 6:30 pm #1012419sorry but not working in my side
http:// webtilia.com.es/indianmotors/tvs-racing-nombra-a-shreya-iyer-como-la-primera-mujer-piloto-del-equipo-2/
please check
thanks in advance
Jean
- This reply was modified 6 years, 3 months ago by cohetete.
September 21, 2018 at 1:23 am #1012559update: it’s fixed now. however, it wasn’t working for “video” blog post type. Just for your information.
Thanks!
Jean
September 21, 2018 at 3:26 am #1012587 -
AuthorPosts
- You must be logged in to reply to this topic.