Forum Replies Created

Viewing 30 posts - 1 through 30 (of 82 total)
  • Author
    Posts
  • in reply to: Show tab Enfold Child to Role Editor #1251443

    Thank you Ismael for your help.

    in reply to: Strange problem with editors and woocommerce #1209534

    yes sure, i’m ok I thought it was something with the theme.
    Thank you

    in reply to: Strange problem with editors and woocommerce #1209491

    Hi Mike thank you for answering.
    I was using some code in functions.php (child theme) that was breaking me the editor.
    I removed everything and now it works.

    Just for knowledge purposes here are the two codes I had into functions.php

    // add ALB into custom posts
    add_filter('avf_builder_boxes', 'add_builder_to_posttype');
    
    function add_builder_to_posttype($metabox)
    {
      foreach($metabox as &$meta)
      {
        if($meta['id'] == 'avia_builder' || $meta['id'] == 'layout')
        {
          $meta['page'][] = 'fooditem'; /*instead add the name of the custom post type here*/
        }
      }
      return $metabox;
    }
    
    // hide editor name on every post/article
    add_filter('display_post_states','remove_ALB_post_state',999,2);
    function remove_ALB_post_state( $post_states, $post ) {
    	if("! has_blocks( $post->ID )") {
    		unset($post_states['wp_editor']);
    	}
    	if("!= Avia_Builder()->get_alb_builder_status($post->ID)") {
    		unset($post_states['avia_alb']);
    	}
    return $post_states;
    }
    in reply to: Upgrade to WordPress 5.4 breaks Editors #1200123

    I upgraded two website with success and any problems.
    First installed the last version of enfold, then updated wordpress.
    The Option “use classic editor” was previously checked and remained checked, so no problems for now.

    in reply to: Upgrade to WordPress 5.4 breaks Editors #1200105

    following.

    in reply to: Magazine excerpt #1149775

    yes i’m sure, no chars into the manual excerpt that’s why I thought it was strange..
    Anyway..thank you for your update.

    Marco

    in reply to: Magazine excerpt #1149197

    Ismael it’s a local website used as intranet, you can see the behaviour in this image:

    Screenshot

    you have to think that all this posts are made all the same way, with avia builder and no excerpt. but in some cases i can see the three dots (now removed with the edits, so i’m ok)
    I was just wondering why in some posts that happened and in some not. just a curiosity.

    in reply to: Magazine excerpt #1149179

    Hi Ismael,

    maybe I’ve been misunderstood, I successfully removed the three dots here:
    $excerpt = !empty($entry->post_excerpt) ? $entry->post_excerpt : avia_backend_truncate($entry->post_content, apply_filters( 'avf_magazine_excerpt_length' , 60) , apply_filters( 'avf_magazine_excerpt_delimiter' , " "), "…", true, '');

    I was just wondering why they were not appearing in all the excepts but in some random posts.

    in reply to: Magazine excerpt #1148422

    Ok ok perfect, that is working now.

    Just for my curiosity, why this was happening only for some posts and not for all the others? when technically the posts were all made the same way…

    in reply to: Magazine excerpt #1148090

    Thank you Ismael,

    I found this code into functions-enfold.php

    if(!empty($post->post_excerpt))
                        {
                            $excerpt =  apply_filters( 'avf_ajax_search_excerpt', avia_backend_truncate($post->post_excerpt,70," ","", true, '', true) );
                        }

    but removing the dots doesn’t seem to solve the problem.
    Also, the main question remain, why that post is showing the dots and the other one are not? All posts are made the same with the builder and no manual excerpt…

    in reply to: Magazine excerpt #1146539

    hi guys, I removed the “else” to always show the excerpt in the magazine section, if there is any “manually” entered.
    this works, and is ok.

    I don’t know why, sometimes happen that I show three dots (…) when there is no excerpt entered (cause I don’t want to show anything).
    Can’t understand these three dots where they come from, should they come from here?

    $excerpt = !empty($entry->post_excerpt) ? $entry->post_excerpt : avia_backend_truncate($entry->post_content, apply_filters( 'avf_magazine_excerpt_length' , 60) , apply_filters( 'avf_magazine_excerpt_delimiter' , " "), "…", true, '');
    these three dots I see at the end of the line?
    If yes, why in the majority of the posts, when I don’t manually add an excerpt, I don’t show anything and in some posts (can’t tell the differences) I can see these three dots ?

    Screenshot

    the posts shown on this magazine filter are all made the same, with the avia builder and no manual excerpt.

    in reply to: change image on hover #1145692

    Thank you Mike for your feedback, I added the team.php into the main enfold folder for now (I mean not the child theme) and it’s working.
    I will try to use the function.php edit + child let’s see if for me work.

    There is no way i’m going to add more thant 40s custom class for each members :)

    Thank you Victoria for your feedback.

    in reply to: change image on hover #1145304

    thank you for this great hack, I uploaded the team.php into my enfold-child/shortcodes/ folder, but looks like the file is not being loaded cause I cannot see the differences in the admin side of the team elements.
    I cleaned cache and files of the browser…
    any suggestions?

    Thank you Victoria for the answer. I will take a look to the link, hope this kind of behavior will be implemented in the future, at least for the videos.

    Marco

    Nobody is helping me on this? :(

    in reply to: Update 4.6 makes cookie consent reload every time #1133033

    I guess you should select:
    Default Cookie Option Settings: “User must opt in, only essential cookies selected”

    in this case the bar will be shown one time until the cookie expires.

    in reply to: 4.6 Update doesn't recognize old Custom CSS Class #1133031

    i’m gonna follow this

    in reply to: Google Maps API key #1133029

    the best is to have one api key for website, every api should have enabled only the api’s you really need (for enfold is Javascript api and geocoding api) and also you need to restrict the calls from your website’s url.
    Other best thing is to set a quota, so you are sure you will not paying anything.

    just enter a link like this
    tel:012345678

    in reply to: Table Responsive Design #1101366

    Following.


    @lisaodo
    you need to be sure that in the table option -> responsive styles
    you do need to select “make the entire table scrollable”
    otherwise the layout will break and all the columns will shown one on the top of each.

    I’m asking the support, is there a way to “break” the table vertically on the mobile devices instead of having by default “show the full table” that off course doesn’t work because is impossible to show an horizontal table into a vertical display?

    Thank you.

    Sorry wrong post, seems to be a problem of the 4.5.4, updated to the last 4.5.5 it’s working again.
    Sorry!

    is this tutorial been done at the end?

    Thank you :)

    in reply to: Maintenance mode no more wokring #1069378

    Hi, I can’t see the changelog of the 4.5.4.

    Anyway, NOW it’s working, thank you. Also i see that if you use the “show the page without redirect” the correct status code gave to the browser is 404, and not 302.
    As the link doesn’t exist no more, it should be better to give to the browser and crawlers the 404 code instead of the 302.

    Marco

    in reply to: Maintenance mode no more wokring #1066725

    Same problem on another website.

    Also custom 404 doesn’t work, I guess that yoast someway intercept the 301 redirect and break it

    in reply to: Maintenance mode no more wokring #1051789

    I deactivated all the plugin and the maintenance mode worked.
    Then i activated plugins one to one and refresh the page on another browser and I found the problem:

    Yoast SEO version 9.4

    activating the plugin the maintenance page does not work again. Disabling it the offline work again.
    This plugin is installed on every website anyway and it’s a pretty common plugin, also it was installed and activated before this problem appears.

    Hope this can help to find what’s the problem, now i can deactivate it and proceed to complete the website, then open the website and activate the plugin but it’s strange…

    Hope this helps.

    in reply to: Maintenance mode no more wokring #1050944

    Ismael, this is working on some websites and not on others, also everything was perfectly working before the last update.

    in reply to: Maintenance mode no more wokring #1049943

    Hi, i renewed the login link to more three days.
    Offline is my maintenance page.

    in reply to: Make a page inaccessible #1048926

    you don’t need to create a page, if you need only the main menu item you can delete the page and that’s it. Anyway, there is no function in the theme that make a page unaccessible, you will need a plugin for that. But I repeat, it’s not the way you do a menu/submenu system.

    in reply to: Make a page inaccessible #1048700

    don’t create a page for this purpose, just create a voice in the menu called custom link and as a link you can type #
    then you add the two sub pages under the main voice.

Viewing 30 posts - 1 through 30 (of 82 total)