Forum Replies Created

Viewing 23 posts - 61 through 83 (of 83 total)
  • Author
    Posts
  • in reply to: Whatsapp button in share box #1110540

    Hi
    There was a little mistake in the code that prevented to share on Whatsapp when you were opening the post from Facebook.
    I’ve changed:
    => “https://api.whatsapp.com/send?text=url=%5Bpermalink%5D”,
    into
    => “https://api.whatsapp.com/send?text=%5Bpermalink%5D”,
    but you can also use
    => “https://api.whatsapp.com/send?text=I want to share this post with you or any other text [permalink]”,

    Sorry guys

    Add this code in Quick CSS

    #top #wrap_all .av-social-link-whatsapp:hover a {
        color: #fff;
        background-color: #25D366;
    }
    
    • This reply was modified 5 years, 6 months ago by manurimini.
    in reply to: Whatsapp button in share box #1110260

    Hi OlonamZaid, Jarmo and Enfold Team
    If you want to share a post or page on Whatsapp you have to change the line
    $args['Whatsapp'] = array("encode"=>true, "encode_urls"=>false, "pattern" => "https://whatsapp.com/share?text=[title]&url=[permalink]");
    into
    $args['whatsapp'] = array("encode"=>true, "encode_urls"=>false, "pattern" => "https://api.whatsapp.com/send?text=[permalink]", 'label' => __("Share on Whatsapp",'avia_framework'));
    otherwise like you reported the link will open up the whatsapp core website.
    It works for me. Tested on several devices, but I’m only a graphic designer not a programmer. Hope this will help.
    Best Regards

    Here the code I use (functions.php in child theme)

    // Register new icon as a theme icon
    add_filter('avf_default_icons','avia_add_custom_icon', 10, 1);
    function avia_add_custom_icon($icons) {
    	$icons['whatsapp']	 = array( 'font' =>'rockets', 'icon' => 'uf232');
    	return $icons;
    }
    
    //Adjust icons
    add_filter('avia_filter_social_icons', 'avia_filter_social_icons_mod', 10, 1);
    function avia_filter_social_icons_mod($icons) {
    	$icons['Whatsapp'] = 'whatsapp';
    	return $icons;
    }
    
    //Add items on the social share section
    add_filter('avia_social_share_link_arguments', 'avia_add_social_share_link_arguments', 10, 1);
    function avia_add_social_share_link_arguments($args)
    {
    	$args['whatsapp'] = array("encode"=>true, "encode_urls"=>false, "pattern" => "https://api.whatsapp.com/send?text=[permalink]", 'label' => __("Share on Whatsapp",'avia_framework'));
    	return $args;
    }

    Pay attention to put the right icon with the font-family you are using: array( ‘font’ =>’font-family‘, ‘icon’ => ‘the one you choose‘);

    • This reply was modified 5 years, 6 months ago by manurimini.
    in reply to: Naviagating to anchors from other pages #1107263

    Hi Rikard
    thank you for your reply. I’m sorry for my poor English.
    What I meant was if I click on a link in a page, it should load the new page and then scroll to the specific div element or first load the #top anchor and then after a delay scroll to given anchor position. There is the plugin Guenni007 suggested, but I would rather prefer a function to put in functions.php.
    Less (plugins) is better :)

    • This reply was modified 5 years, 6 months ago by manurimini.
    in reply to: Naviagating to anchors from other pages #1106940

    Hi Rikard
    Actually yes. Can you or Ismael or Yigit give me a js to postpone the anchor link after the page is loaded or to put the ‘scrolling to anchor link’ in footer? Thank you
    Best Regards
    Manu

    in reply to: Naviagating to anchors from other pages #1106755

    Thank you Guenni007. I will give the plugin a try, but it would be nice to have a js doing it to put in functions.php.
    Parhaps a solution could be to shift the scrolling when clicking on anchor links in footer in order to load the page before.

    • This reply was modified 5 years, 6 months ago by manurimini.
    in reply to: wordpress 5 Portfolio categories #1044020

    Dear milano24ore
    Grazie, but we had yhe possibility to change the categories with Quick Edit also before WP5 and for all the themes. With Quick Edit you cannot add new Categories, you have to add them in Portfolio Categories and then you can choose them in Quick Edit. It is faster if you have the possibility to add and choose Categories while you’re preparing your Portfolio Item, like you can do with post. I think that maybe something went missing in portfolio.php, because in the Post section it’s working.
    Thank you anyway.

    in reply to: wordpress 5 Portfolio categories #1043105

    Hi
    I have the same problem. The portfolio categories are not shown in the portfolio item setting. If I install the Classic Editor plugin they appear again.
    Best Regards
    Manu

    in reply to: shortcode in excerpt new version Enfold? #982080

    SOLVED:
    /wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/portfolio/portfolio.php
    Change line 652
    $output .= !empty($excerpt) ? “<div class=’grid-entry-excerpt entry-content’ “.avia_markup_helper(array(‘context’=>’entry_content’,’echo’=>false, ‘id’=>$the_id, ‘custom_markup’=>$custom_markup)).”>”.$excerpt.”</div>” : ”;
    in
    $output .= !empty($excerpt) ? “<div class=’grid-entry-excerpt entry-content’ “.avia_markup_helper(array(‘context’=>’entry_content’,’echo’=>false, ‘id’=>$the_id, ‘custom_markup’=>$custom_markup)).”>”.do_shortcode($excerpt).”</div>” : ”;

    in reply to: shortcode in excerpt new version Enfold? #982066

    I have the same problem

    in reply to: masonry portfolio #919825

    Hi Nikko
    Thank you for the quick reply.
    I’ve asked my hosting provider to give me a new server, because the one I’m working with was bought many years ago and maybe the problems I’m having also with videos depend of that.
    So before giving you an access I will check the new server.
    Since I was asking the change today it will take a couple of days for the DNS to work.
    If the problems will persist after the migration to the new server I will give you full access.
    I’ll contact you next week after checking the new server to let you know.
    Thank you so much
    You are a great team
    Best Regards
    Manu

    As I wrote in the previous thread I’ve found this css code in another thread and it seems to solve the issue:
    .mejs-container { max-height: 100% !important;}
    But I don’t get a preview image, only a black background.
    I would also like a fullscreen button, which is not provided.

    Thank you Doron
    But I don’t get a preview image, only a black background. Have you solved that too?
    Is there a way to have a fullscreen button for selfhosted videos in Enfold?

    • This reply was modified 6 years, 10 months ago by manurimini.
    in reply to: Enfold 4.2.1 Self-Hosted Video Bug #918413

    I found this css code in another thread and it seems to solve the issue:
    .mejs-container { max-height: 100% !important;}
    But I don’t get a preview image, only a black background.
    I would also like a fullscreen button, which is not provided.

    • This reply was modified 6 years, 10 months ago by manurimini.
    in reply to: Enfold 4.2.1 Self-Hosted Video Bug #918380

    I have the same problem. Video player of my self hosted videos now all of a sudden show only the control bars (a horizontal bar with the control elements and part of the play button in the midle). Enfold Version: 4.2.4
    Please Help

    Please Ismael give us a function to do this. It would be really nice to show all the images in the lightbox without clicking on load more. You are the genius of code, we trust in you :)

    in reply to: Enable Video Controls Pause/Play w/background video #892499

    Hi Basils
    Sorry to disagree with you but I think it is an issue coming out with the 42 release and not a Safari issue. The background video in Safari is showing perfectly in your old color section exemple. See “This is a color section with background video and some content elements”:

    There are a lot of problems now with videos in background on color sections and I hope Kriesi will fix them as soon as possible
    https://kriesi.at/support/topic/video-background-broken-in-enfold-4-2/
    Let me know if the issue will be fixed soon or if I have to buy an other theme that works with videos in background.
    Thank you

    in reply to: Enable Video Controls Pause/Play w/background video #891162

    I was really hoping to have an answer
    1 – Autoplay in Safari doesn’t work with or without CSS
    2 – If without CSS the background video of the color section is not working in Safari (it appears a black Youtube button but it doesn’t work). See http://enfold.fabiobaldanello.com/bfor4/
    3 – On mobile without CSS the video is not starting, but this is not a problem because I can do in case a color section only for mobiles.

    Thank you

    in reply to: Adding tracking code to the header on a single page #890475

    Hi
    How can I use the function for a portfolio post?
    I have tried
    function enfold_add_facebook_pixel(){
    if is_single($post = ‘5412’); {
    but is breaking the website
    Thank you

    Solved Thank You Anyway
    function ava_fb_px_conversion(){
    if ( is_single( 5412 )) {
    ?>
    <!– Facebook Pixel Code –>

    • This reply was modified 7 years ago by manurimini.
    in reply to: Enable Video Controls Pause/Play w/background video #889993

    Hi
    As I wrote above {pointer-events: none;} given to the .container disables all the pointer events of the color section with a video in background if you add the css of Josue.
    I couldn’t find a class or an id to replace .container and still make the Youtube buttons appear into the color section without affecting other buttons.
    So I gave to my full width button the command to restore the pointer events and now it works (http://enfold.fabiobaldanello.com/bfor3/)
    #top .avia-button-fullwidth {
    pointer-events: visible;
    }

    I still have some issues
    1 – Autoplay in Safari doesn’t work with or without CSS
    2 – If without CSS the background video of the color section is not working in Safari (it appears a black Youtube button but it doesn’t work). See http://enfold.fabiobaldanello.com/bfor4/
    3 – On mobile without CSS the video is not starting, but this is not a problem because I can do in case a color section only for mobiles.

    Thank you

    • This reply was modified 7 years ago by manurimini.
    in reply to: Enable Video Controls Pause/Play w/background video #889613

    Ok I had to remove #top and insert instead the page id
    Now you can see the differences between the two pages

    In bfor2 if you go over the full width button you will see the hover effect and if you click it you will find a mailto, but you will not be able to stop the video (at least in Firefox and Chrome. In Safari is a mess like it shows the youtube buttons which are not supposed to be there).
    Otherwise in bfor3 you will be able to stop the video and use the Youtube buttons but the avia full width button doesn’t work anymore.

    Beside (but very important) without changing the section.php file (‘video_controls’ => ‘disabled’) the background video of the color section is not working in Safari (it appears a black Youtube button but it doesn’t work). See bfor4 (http://enfold.fabiobaldanello.com/bfor4/). If you change the file ‘video_controls’ => ”, and add the css the video can be played but autoplay doesn’t start in Safari and the buttons doesn’t work. See bfor3 (http://enfold.fabiobaldanello.com/bfor3)

    On mobile devices (Android) appears the red play button of Youtube but it doesn’t work unless you don’t change the file section.php (‘video_controls’ => ‘disabled’) and add the css.

    Thanks again for your help

    • This reply was modified 7 years ago by manurimini.
    in reply to: Enable Video Controls Pause/Play w/background video #889601

    Sorry Mike
    I tried to write the CSS of the two pages with the page id only for the second one but something went wrong.
    Let me check the CSS again so that you can see the differences between the two pages

    in reply to: Enable Video Controls Pause/Play w/background video #889590

    this is the page without pointer-events: none

    this is the page with pointer-events: none
    Thank you for your help Mike

    • This reply was modified 7 years ago by manurimini.
    in reply to: Enable Video Controls Pause/Play w/background video #889541

    The pointer-events: none; disables all the pointer events of the color section since you give it to +.container. So if you have a button in it it will not work anymore. Is there a way to to have the video controls without loosing all the others?
    I have also changed video_loop to false but the videos still loop. Actually this is not so important, I need first to figure out how to use the pause button on videos without loosing the controls of the other buttons.
    Thank you guys for the wonderful theme

    • This reply was modified 7 years ago by manurimini.
Viewing 23 posts - 61 through 83 (of 83 total)