Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #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

    #1008880

    Hey Javi,

    Best regards,
    Victoria

    #1009017

    sorry, links added and you shall be able to log in now

    #1009206

    Hi,

    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,
    Ismael3

    #1009730

    Thank 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

    #1009763

    Hi,

    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,
    Ismael

    #1009944

    Thanks! 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.
    #1010328

    Hi 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,
    Victoria

    #1010835

    Hi victoria

    Sorry but this one is not working :(

    #1011078

    Hi,

    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,
    Ismael

    #1012419

    sorry 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.
    #1012559

    update: it’s fixed now. however, it wasn’t working for “video” blog post type. Just for your information.

    Thanks!

    Jean

    #1012587

    Hi,

    The “video” post format has a slightly different markup so those scripts won’t work properly. Do you need the video post format?

    Best regards,
    Ismael

Viewing 13 posts - 1 through 13 (of 13 total)
  • You must be logged in to reply to this topic.