Forum Replies Created
-
AuthorPosts
-
Thank you Ismael for your help.
yes sure, i’m ok I thought it was something with the theme.
Thank youHi 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; }
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.following.
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
Ismael it’s a local website used as intranet, you can see the behaviour in this image:
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.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.
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…
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…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 ?the posts shown on this magazine filter are all made the same, with the avia builder and no manual excerpt.
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 :)
October 7, 2019 at 9:26 am in reply to: Color section – Video is Loading on mobile also if sections is hidden, why? #1145691Thank you Victoria for your feedback.
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?October 5, 2019 at 3:48 pm in reply to: Color section – Video is Loading on mobile also if sections is hidden, why? #1145293Thank 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
October 5, 2019 at 1:25 pm in reply to: Color section – Video is Loading on mobile also if sections is hidden, why? #1145261Nobody is helping me on this? :(
September 2, 2019 at 3:35 pm in reply to: Update 4.6 makes cookie consent reload every time #1133033I 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.
September 2, 2019 at 3:31 pm in reply to: 4.6 Update doesn't recognize old Custom CSS Class #1133031i’m gonna follow this
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.September 2, 2019 at 3:27 pm in reply to: How to add a phone number into a button for a direct phone call? #1133028just enter a link like this
tel:012345678Following.
@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.
April 3, 2019 at 9:24 am in reply to: Maintenance mode redirecting also if you are logged in as admin #1086435Sorry wrong post, seems to be a problem of the 4.5.4, updated to the last 4.5.5 it’s working again.
Sorry!February 28, 2019 at 11:52 am in reply to: How to properly integrate Advanced Custom Fields plugin in Enfold #1072611is this tutorial been done at the end?
Thank you :)
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
Same problem on another website.
Also custom 404 doesn’t work, I guess that yoast someway intercept the 301 redirect and break it
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.
Ismael, this is working on some websites and not on others, also everything was perfectly working before the last update.
Hi, i renewed the login link to more three days.
Offline is my maintenance page.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.
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. -
AuthorPosts