Forum Replies Created
-
AuthorPosts
-
Hey sofiadadci,
Thank you for the inquiry.
The cart widget container is hidden by default for some reason. Please try to add this css code to display it back.
#top .cart_list.product_list_widget { display: block; }
Please make sure to toggle or temporarily disable the Enfold > Performance > File Compression settings after adding the css.
Best regards,
IsmaelHi,
Thank you for the screenshot.
Did you remove the previous css code before or after adding the latest one? Unfortunately, we will not be able to help you further if we cannot access site. It would be much easier for the both of us if we can inspect the elements and directly modify the code.
Best regards,
IsmaelHi,
Thank you for following up.
to check with you the specifications needed to run enfold on their server
The theme should work fine on any servers with at least 1 virtual CPU and 1 GB of RAM or less. But it may vary based on the traffic received by the website on a daily basis. A lot of the Enfold users subscribe to the most basic server plans and the site runs well without having this issue. Since you are using a shared server or the server is shared by a lot of sites, it is possible that other sites are contributing to that crash. It is also possible that one of the plugins installed in the site is causing the issue.
Did you ask your hosting provider why the following errors occur?
[Tue Nov 30 23:51:08 2021] [access_compat:error] [pid 31830] [client 114.119.144.116:0] AH01797: client denied by server configuration: /home/www/actugedinne.be/wordpress/emploi-imaje-recrute-des-puericulteurs-des-puericultrices-pour-les-creches-de-gedinne-beauraing-bievre-et-vresse
[Wed Dec 01 00:03:05 2021] [access_compat:error] [pid 31830] [client 114.119.144.165:0] AH01797: client denied by server configuration: /home/www/actugedinne.be/wordpress/sport-a-lecole-je-cours-pour-ma-forme-bic-112010
The following articles might help.
// https://bobcares.com/blog/client-denied-by-server-configuration-wordpress/
Best regards,
IsmaelHey Manos,
Thank you for the inquiry.
1.) This is possible but you have to modify the avia_ajax_search function in the functions-enfold.php file and adjust the thumbnail manually. Look for this code around line 396.
$image = get_the_post_thumbnail( $post->ID, 'thumbnail' );
2.) You can use the avf_ajax_search_query filter to adjust the number of posts in the search results container.
add_filter("avf_ajax_search_query", function($query) { parse_str($query, $parameters); $parameters["numberposts"] = 2; return http_build_query( $parameters ); }, 10, 1);
Best regards,
IsmaelDecember 2, 2021 at 4:54 pm in reply to: Enfold and Paid Memberships Pro issue with blog posts element #1331337Hey Jason,
Thank you for the inquiry.
It seems to be working as it should. All posts are visible when logged in as a top tier user and we can only see a single public post when using the basic account. Did we miss anything?
Please check the screenshots in the private field.
Best regards,
IsmaelDecember 2, 2021 at 4:44 pm in reply to: anchors strange behaviour – scrolling to anchor not precise #1331335Hi,
Thank you for the inquiry.
The issue only happens on initial load when the resources such as scripts, stylesheets and images are not yet fully loaded. The animation of the items in the masonry element might be also contributing to the issue because it causes the document or the page to shift a bit. Disabling the animation of the items in the masonry element might help. Try to add this code in the Quick CSS field.
.av-masonry-entry { visibility: visible; opacity: 1; transition: none; }
Please make sure to toggle or temporarily disable the Enfold > Performance > File Compression settings afterwards.
Best regards,
IsmaelHey FotoStyle_ro,
Thank you for the inquiry.
The option works properly on our end. Please check the screenshot in the private field. Can we have access to the site? We would like to edit the page and check the settings.
Best regards,
IsmaelDecember 2, 2021 at 4:25 pm in reply to: excerpt line breaks not showing in magazine element #1331331Hi,
Thank you for the screenshot.
We have found the difference between the blog posts element and the magazine. In the blog posts element, the content or the excerpt runs through the “the_content” filter, so the required formatting including line breaks get applied before actually returning the text. This is not true for the magazine element.
To change that we have to modify the same line (1297) of code above.
$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, '' );
And add this code below.
$excerpt = str_replace( ']]>', ']]>', apply_filters( 'the_content', $excerpt ) );
This is the result after doing the modification above. (see private field)
Best regards,
IsmaelHey Landsberg-Becher,
Thank you for the inquiry.
Those are the default title for the tag and search results pages. If you want to hide it, add this code in the Quick CSS field or in the style.css file.
.tag .main-title.entry-title, .search .main-title.entry-title { display: none !important; }
Please make sure to toggle or temporarily disable the Enfold > Performance > File Compression settings afterwards.
Best regards,
IsmaelDecember 2, 2021 at 4:04 pm in reply to: Widget filter per price sometimes not displayed in shop overview page sidebar #1331327Hi,
Great! Glad to know that updating one of the products helped. Please feel free to open another thread if you need anything else.
Have a nice day.
Best regards,
IsmaelHi,
Thank you for the update.
The extra forward slash after the hashtag symbol is still in the URL. Please try to use the URL in the private field. Make sure to purge the cache or do a hard refresh afterwards.
Best regards,
IsmaelHey fkm,
Thank you for the inquiry.
Have you tried using the Separator/Whitespace element instead? In the element’s Advanced > Responsive Settings panel, look for the Element Visibility option to toggle the visibility of the element on different screen sizes including the tablet view.
Best regards,
IsmaelHey Richard,
Thank you for the inquiry.
This is working correctly on our end. Make sure to start a session using the session_start() function.
if (!session_id()) { session_start(); } function edit_posts_orderby($orderby_statement) { $seed = $_SESSION['seed']; if (empty($seed)) { $seed = rand(); $_SESSION['seed'] = $seed; } $orderby_statement = 'RAND('.$seed.')'; return $orderby_statement; } add_filter('posts_orderby', 'edit_posts_orderby');
But the filter above might affect every posts query in the site. You may need to use additional logic to make sure that the changes to the query will only get applied to the archive or category pages.
Best regards,
IsmaelDecember 2, 2021 at 10:51 am in reply to: Masonry Grid "Load more" shoes infinite duplicates #1331272Hey emilconsor,
Thank you for the inquiry.
Did you use the masonry query filter in the functions.php file? Please post the login details in the private field so that we can check the site further.
Best regards,
IsmaelDecember 2, 2021 at 10:30 am in reply to: Website using server resource limits and crashing #1331268Hi,
Thank you for the info.
Based on the errors above, there seems to be an issue with the wp-maintenance-mode plugin and some of the theme files are missing. One of the users is also hitting its maximum connection limit.
Let us walk through the errors one at a time.
[01-Dec-2021 12:44:16 UTC] PHP Notice: Undefined index: social_instagram in /home/www/actugedinne.be/wordpress/wp-content/plugins/wp-maintenance-mode/views/settings.php on line 516
The error or warning above states that the plugin is trying to access an undefined index named social_instagram. Disabling the plugin temporarily or completely removing it should prevent the issue from occurring.
[01-Dec-2021 13:01:04 UTC] PHP Warning: require_once(includes/helper-privacy.php): failed to open stream: No such file or directory in /home/www/actugedinne.be/wordpress/wp-content/themes/enfold/functions.php on line 187
It says here that the includes/helper-privacy.php and the includes/admin/register-dynamic-styles.php files in the enfold theme directory do not exist. Please make sure that the theme is updated to version 4.8.7.2.
[01-Dec-2021 13:05:19 UTC] PHP Warning: mysqli_real_connect(): (HY000/1226): User ‘p5646_19’ has exceeded the ‘max_user_connections’ resource (current value: 20) in /home/www/actugedinne.be/wordpress/wp-includes/wp-db.php on line 1653
I am not really sure what is causing this error but it looks like the user (see private field) has exceeded the maximum MySQL database connections per user. You may need to contact your hosting provider and ask them about this error.
Best regards,
IsmaelHi,
This css works properly on our end.
@media only screen and (max-width: 767px) { #top .av-subnav-menu { margin: 0; max-height: 51px; width: 100%; overflow-y: hidden; overflow-x: scroll; display: flex; } }
As you can see in the screenshot below, the first and last menu items are partially scrolled.
Screenshot: https://1drv.ms/u/s!AjjTfXSRbKTvvFtxjc11lcldUzjb
Best regards,
IsmaelHi,
Thank you for your interest in this topic.
1) what IS that compressed file? I know that it’s a JS file, but what is it’s purpose and how is it generated to begin with?
1.) The compressed files (css or js) in the dynamic_avia folder contain every scripts or stylesheets registered or enqueued in the site. The compressed files in the dynamic_avia folder are the combined version of those files. If you want to know more about how the files are generated, please check theenfold/config-templatebuilder/avia-template-builder/php/class-asset-manager.php file. Look for the merge function, which retrieves the enqueued css/js files via the global variables $wp_styles and $wp_scripts.
But it does represent the most current theme settings, as far as what you’ve established as basic theme options. Is that accurate?
No, it doesn’t. The merged files only contain the scripts and stylesheets. The theme options are saved in a different entry in the database.
At that point, you’ve now introduced the necessary JS file(s) in the “dynamic_avia” directory and the site will come up normally. Is that correct?
2.) Yes, that is correct. Someone has to login to the site and save the theme options to regenerate the content of the dynamic_avia folder.
3.) It depends on the plugin that you are using. You might want to check this article for more info.
// https://www.wpbeginner.com/beginners-guide/how-to-clear-your-cache-in-wordpress/
Best regards,
IsmaelDecember 2, 2021 at 9:20 am in reply to: Layout Architekt ist deaktiviert auf Shopseite, nicht aktivierbar #1331259Hi,
Thank you for the inquiry.
The Advance Layout Builder (ALB) is disabled on the base shop page by default (Woocommerce > Settings > Products > Base shop page). You will have to manually activate it by adding this code in the functions.php file.
add_theme_support( 'avia_custom_shop_page' );
Please check the following documentation for more info.
// https://kriesi.at/documentation/enfold/woocommerce-shop/#custom-woocommerce-shop-overview-with-advanced-layout-editor
Best regards,
IsmaelHi,
Thank you for the update.
I notice sometimes files stand in files, sometimes in /sites/x/,
What do you mean? Have you tried disabling the post css files? You can add the code in the functions.php file to prevent the theme from autogenerating those files. This should also decrease the entries in the database. If not, try to delete them manually using the query above. Just make sure to create a database backup before doing so.
Best regards,
IsmaelHi,
Thank you for the update.
Looks like you posted the Apache error logs, and there seems to be an issue with mp4 videos. Where did you add this video? (see private field)
Did you also enable WordPress debugging and error logs? Please post the info here so that we can check the actual PHP or WordPress error.
// https://wordpress.org/support/article/debugging-in-wordpress/
You can add this in the wp-config.php file to set the installation to debug mode and enable the error logs.
// Enable WP_DEBUG mode define( 'WP_DEBUG', true ); // Enable Debug logging to the /wp-content/debug.log file define( 'WP_DEBUG_LOG', true ); // Disable display of errors and warnings define( 'WP_DEBUG_DISPLAY', false ); @ini_set( 'display_errors', 0 ); // Use dev versions of core JS and CSS files (only needed if you are modifying these core files) define( 'SCRIPT_DEBUG', true );
Best regards,
IsmaelDecember 1, 2021 at 2:25 pm in reply to: How to create a dynamic webpage where elements open content in the same page #1331167Hi,
We are not sure if there a plugin that have this functionality. You may need to hire a freelance developer to create a custom plugin or script, or try a popup plugin.
// https://wordpress.org/plugins/popup-anything-on-click/
You can apply a link to an image that opens a popup containing custom html. The demo can be found here.
// https://demo.essentialplugin.com/popup-anything-on-click-demo/
Best regards,
IsmaelDecember 1, 2021 at 2:13 pm in reply to: Sub sub menu on right side instead of left on hover #1331163Hey BenjaminSpeedtsberg,
Thank you for the inquiry.
You can use this css code to adjust the position of the submenu containers.
#top .av-main-nav ul ul { left: 207px; }
Default left position value is -207px.
Best regards,
IsmaelDecember 1, 2021 at 2:06 pm in reply to: excerpt line breaks not showing in magazine element #1331160Hi,
Did you manually add the br tags in the excerpt? This is the actual rendered html in the page containing the blog posts.
Don’t let go… < br > Those words. < br > Let go of what? < br > I cast her a look. < br > Her feet < br >
NOTE: I added spaces to the br tags because the forum automatically strips them.
Can we login to the site?
Best regards,
IsmaelHi,
No problem. We will close this thread now. Please feel free to open another if you need anything else.
Have a nice day.
Best regards,
IsmaelDecember 1, 2021 at 1:51 pm in reply to: No need for disabling recaptcha and youtube/vimeo in the cookie consent popup #1331155Hey Stephan,
Thank you for the inquiry.
It can be adjusted in the Enfold > Privacy & Cookies > Cookies Handling panel. Enable the Modal Window Custom Content option, then adjust the content of the privacy tabs. You can also delete the tabs completely.
Best regards,
IsmaelHi,
Thank you for the update.
It is possible to apply a unique class name or ID to the Grid Row element or any elements in the builder, and use those names or selector to specifically target or change the style of the element. The class and ID field can be found in the elements’ Advanced > Developer Settings panel.
Please check the following documentation for more info.
// https://kriesi.at/documentation/enfold/add-custom-css/
Best regards,
IsmaelHi,
@ brucegust: The theme only loads the latest version of the merged or compressed file. It doesn’t have a snapshot mechanism where older files can be restored at will. That option does not exist. All the other files in the dynamic_avia folder becomes invalid once the latest version of the file is generated, so you can safely delete them. The theme will just load the newest file. The name of the compressed file is stored in the database.
…could you explain what you mean by, “resave the theme options?” How do you do that and why do you do that?
The theme regenerates the compressed file after saving the theme options, just toggle any option then click the save changes button. The theme checks if compression is enabled, then regenerate the compressed file if it does not exist yet.
And then when you say, “purge the cache” are you referring to the browser history or is there a setting within Enfold that I need to be aware of?
I was referring to a plugin cache. You can set the theme to automatically delete the older files by enabling the Enfold > Performance > Delete old CSS and JS files? option but make sure to purge the plugin cache, if you are using any, to ensure that the latest merged script will be loaded.
I hope that helps.
Best regards,
IsmaelDecember 1, 2021 at 12:35 pm in reply to: Widget filter per price sometimes not displayed in shop overview page sidebar #1331145Hi,
Thank you for the update.
The price filter displays properly in the same “casual” category in the demo.
// https://kriesi.at/themes/enfold-shop/product-category/women/casual/
Please try to create new products, assign the “casual” category to it and see if it changes anything.
Adding this code in the functions.php file might help, but please make sure to create a backup or a restore point before doing so.
function ava_update_woocommerce_version() { if(class_exists('WooCommerce')) { global $woocommerce; if(version_compare(get_option('woocommerce_db_version', null), $woocommerce->version, '!=')) { update_option('woocommerce_db_version', $woocommerce->version); if(! wc_update_product_lookup_tables_is_running()) { wc_update_product_lookup_tables(); } } } } add_action('init', 'ava_update_woocommerce_version');
Best regards,
IsmaelHi,
Thank you for the update.
You can use this css code to remove the arrow or the image overlay.
.image-overlay { display: none !important; }
To change the slider animation, add this filter in the functions.php file.
add_filter("avf_post_slider_args", function($args) { $args["animation"] = "slide"; return $args; }, 10, 1);
If you have any additional questions at this time we kindly ask that you open them up in a separate thread. The longer threads get in the forum, they become more difficult to support as they tend to drift off topic and they also make it troublesome for users trying to search for solutions. Keeping threads relevant to their original inquiry ensures that we can keep better track of what has been resolved and that users can more effectively find answers to similar issues they might be experiencing.
Thanks!
Best regards,
Ismael -
AuthorPosts