Forum Replies Created
-
AuthorPosts
-
Hi,
Thank you for the update.
Can we take a look at the page with the masonry element? What is the current Size Settings? Please post the page URL in the private field.
You can get the image dimension using the “wp_get_attachment_image_src” function.
// https://developer.wordpress.org/reference/functions/wp_get_attachment_image_src/
Look for this code around line 381 of the av-helper-masonry.php file:
if(isset($attachment[0])) { if($size == 'flex') { $img_html = '<img src="'.$attachment[0].'" title="'.$title.'" alt="'.$alt.'" />'; $outer_title = ''; } if($size == 'fixed') $img_style = 'style="background-image: url('.$attachment[0].');"'; $class_string .= " av-masonry-item-with-image"; } else { $outer_title = ''; }
You can probably apply the modification inside that block.
Best regards,
IsmaelHi,
Awesome. We’ll close the thread now. Please feel free to open a new thread if you need anything else.
Have a nice day.
Best regards,
IsmaelHi,
You’re welcome. Let us know in another thread if you need anything else.
Have a nice day.
Best regards,
IsmaelHi,
Thank you for the update.
We validated the token again to get the latest info about the theme. The update is now available in theme options, but it’s still not working or unable to copy the files to your server. Can we have access to the file server? We would like to enable the debug mode and error logs, and see if anything comes up. Please post the FTP details in the private field.
Best regards,
IsmaelHi,
Thank you for the inquiry.
The plugin should work properly if you’re just using the default editor. If you want to use the advance layout builder for the popup post type, add this snippet in the functions.php file.
function avf_alb_supported_post_types_mod( array $supported_post_types ) { $supported_post_types[] = "popup"; return $supported_post_types; } add_filter('avf_alb_supported_post_types','avf_alb_supported_post_types_mod', 10, 1); function my_custom_exec_sc_only( $exec_sc_only, $obj_sc, $atts, $content, $shortcodename, $fake ) { /** * Return if true - Enfold already requested an execution because of preview in backend * Otherwise this is likley to be false. */ if( true === $exec_sc_only ) { return $exec_sc_only; } return true; /** * Make your checks here - make sure to return boolean true if you want to force execution * * Following is an example to allow it for all ajax calls. */ if( defined( 'DOING_AJAX' ) && DOING_AJAX ) { return true; } return $exec_sc_only; } add_filter( 'avf_alb_exec_sc_only', 'my_custom_exec_sc_only', 10, 6 );
Best regards,
IsmaelHi,
Thank you for the update.
Did you deploy the site on media temple or wp engine? They have this feature where they turn off “random” sorting in the database by default, because the query becomes performance intensive. Please check this documentation.
// https://wpengine.com/support/about-order-by-rand/
Best regards,
IsmaelOctober 4, 2019 at 3:53 am in reply to: Enfold – with the Visual Artist Demo files – two small issues #1144818Hi,
Yes, you’re right. We really thought it’s working. We set the minimum height of the masonry elements and the sections but it didn’t work. We also disabled the masonry animation completely, which took care of the loading issue, but it didn’t help correct the scroll position on initial load. Please try to upgrade the theme to version v4.6.3 — the update might help fix the issue.
Thank you for your patience.
Best regards,
IsmaelHi,
@Thina: Where can we see the issue? Are you using the Yoast SEO plugin? Please create your own thread, provide the URL of the “noindex” pages and post the necessary details in the private field. We’ll continue there.Best regards,
IsmaelHi,
Thank you for the update.
The “remove” button in the cart page is now visible. How did you fix it?
Screenshot: https://imgur.com/a/Dwt89ok
And the cart page redirects to an “under construction” page whenever a product is removed. Do you have any idea how to disable that mode?
Best regards,
IsmaelHi,
Thank you for the update.
There is actually no image tag in that markup because the featured image has been added as the background of the “av-masonry-outerimage-container”. This happens when the Size Settings is set to “fixed”. If you want to apply the alt tag to the parent container, which is a link tag, edit this code around line 438:
$items .= "<{$html_tags[0]} id='av-masonry-".self::$element."-item-".$entry['ID']."' data-av-masonry-item='".$entry['ID']."' class='{$class_string}' {$linktitle} {$markup}>";
Replace it with:
$items .= "<{$html_tags[0]} id='av-masonry-".self::$element."-item-".$entry['ID']."' data-av-masonry-item='".$entry['ID']."' class='{$class_string}' alt='{$alt}' {$linktitle} {$markup}>";
Best regards,
IsmaelHey tonyplanet,
Thank you for the inquiry.
That is the default layout of the portfolio archive pages. If you want to change it, edit the taxonomy-portfolio_entries.php file and replace the “avia_post_grid” with the “avia_sc_portfolio” element, then adjust the parameters.
Best regards,
IsmaelHi,
Thank you for the update.
You can add a column element below the color section and put the contact form inside it. Edit the column, enable the “Custom top and bottom margin” option and then use a negative pixel value in the top margin field to pull the column upwards until the top part covers the color section. This should re-create the layout same as in the site above.
Best regards,
IsmaelHi,
Thank you for the update.
You can create a screenshot from your mobile phone and upload it to imgur or dropbox, then post the link here. Again, we couldn’t reproduce the same issue on our end. Where are you testing it?
Best regards,
IsmaelOctober 3, 2019 at 10:52 am in reply to: Enfold Probleme > Verschiedene Editoren >WPML > Plug Ins #1144433Hi,
1.) The latest version of the theme is v4.6.3. Yes, the theme options should be preserved when you update the theme, but try to create a backup first just in case. You can create a backup of the theme options in the Import/Export panel. Or just create a backup of the site and the database using any preferred plugin.
I don’t know where to do that ? But WPML created each page in English but the settings are missing?
2-3.) In the Enfold > Theme Options, there is a language selector where you can select the theme options of the language that you want to configure. If you don’t want to configure the options manually, use the Import/Export panel to transfer the theme settings of the original language to other languages.
Best regards,
IsmaelHi,
You need to use ampersand before the rel parameter because the URL query string already started when we define the video id (v).
https://www.youtube.com/watch?v=HwKzLYeeOMs&rel=0
Best regards,
IsmaelOctober 3, 2019 at 10:31 am in reply to: Masonry Gallery; I want to show excerpt text under photo views, not title #1144422Hi,
Thank you for the update.
We modified the js > avia-snippet-lightbox.js, have the script look for the content of the av-masonry-entry-content container, and use it as the title.
titleSrc: function(item){ var title = item.el.attr('title'); if(!title) title = item.el.find('img').attr('title'); if(!title) title = item.el.parent().next('.wp-caption-text').html(); if(item.el[0].classList.contains('av-masonry-entry')) title = item.el.find('.av-masonry-entry-content').html(); if(typeof title == "undefined") return ""; return title; }
Best regards,
IsmaelHi,
@TanSmi: Thank you for the inquiry. You can enclosed the custom text inside the privacy shortcode. Example:[av_privacy_allow_cookies]My own text here[/av_privacy_allow_cookies]
If you have further questions, please open a new thread.
Best regards,
IsmaelOctober 3, 2019 at 10:09 am in reply to: Trying to Add JS Particles Background via Enfold theme #1144414Hi,
@nickthe: What exactly are you trying to do? Please open your own thread and try to explain there what you’re trying to create — screenshots will also help. You can upload them to imgur or dropbox. We’ll close this thread for now.Best regards,
IsmaelOctober 3, 2019 at 10:02 am in reply to: WP caught error in admin-ajax after upgrading to 4.6.2? #1144410Hi,
@simbeckhampson: Thank you for providing the site URL. Is this happening frequently? What is the actual error?
First, visit your website (https://website.com/) and check for any visible issues. Next, visit the page where the error was caught (https://website.com/wp-admin/admin-ajax.php) and check for any visible issues.
@illingco: The error is generated from the admin-ajax.php file, so the error occurs during an HTTP request. Please ask your hosting provider if the admin-ajax.php file is being blocked via mod_sec rules, or ask them if mod_sec is enabled in your server.
Best regards,
IsmaelHi,
Thank you for the update.
Yes, you’re right. We didn’t notice that the image layers are not displaying properly, only the slider background. Can we deactivate the plugins temporarily? Please don’t forget to create a backup or a restore point in case.
Best regards,
IsmaelHi,
Thank you for the update.
We haven’t really tried that before but it is possible according to this thread.
// https://wpml.org/forums/topic/can-i-change-zh-hans-to-zh-or-cn-something/
You will have to create a custom language though. Please contact the plugin developer for additional help.
Best regards,
IsmaelHi,
The above info doesn’t seem to work. Please check it carefully. Did you generate an FTP account? Please provide the FTP account instead.
Thank you for the update.
Best regards,
IsmaelHi,
Thank you for the update.
You can move the above css code inside a css media query so that it won’t affect the mobile view.
@media only screen and (min-width: 768px) { /* Add your Desktop Styles here */ }
Best regards,
IsmaelHi!
This css code should bring the background color back on scroll.
#top #header_meta, #top #header_meta nav ul ul li, #top #header_meta nav ul ul a, #top #header_meta nav ul ul { background-color: rgba(0, 0, 0, 0.8); }
Please don’t forget to toggle the Performance > File Compressions settings after adding the code.
Best regards,
IsmaelHey beachcitiescryo,
Thank you for the inquiry.
Did you add this css code? It resizes the slideshow title to 20px.
@media only screen and (max-width:479px) { .responsive #top .slideshow_caption h2 { font-size: 20px !important; } }
If you didn’t add it, use that same code in the Quick CSS field and decrease the font size value. Please don’t forget to disable the file compression settings temporarily.
Best regards,
IsmaelOctober 2, 2019 at 5:55 am in reply to: Im trying to display post content preview in a search and filter query #1144050Hi,
Are you doing this inside a post loop? If not, you may need to add the id of the post inside the get_the_content function. Or try to use the preg_replace function.
$content = get_the_content(); $content = preg_replace('#\[[^\]]+\]#', '',$content); echo $content;
Thank you for the update.
Best regards,
IsmaelOctober 2, 2019 at 5:45 am in reply to: Question about footer – link in new tab, position of search-field, height of foo #1144049Hi,
Thank you for the update.
We edited the image widget and enabled the “Link in einem neuen Tab öffnen” option. That should open the link in a new tab. You will find that option by clicking the “Bild bearbeiten” button.
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,
IsmaelOctober 2, 2019 at 4:56 am in reply to: Advanced Layout Editor not loading after making edits to post #1144041Hi,
Did you ask your hosting provider?
Do you have access to the apache folder in your server? The following article might help. In that article, the author noted that he sometimes had issues with editing the posts and pages, which seems to be what you’re experiencing right now, and he fixed it by disabling some of the security rules.
// https://www.binarymoon.co.uk/2011/05/wordpress-mod-security-2/
Best regards,
IsmaelHi,
Thank you for the update.
\How do I create a search bar that is ‘sticky’? Should I place it in the header with a widget?
Yes, you can add a search bar in a widget and insert the widget area in the header using an action hook as described in the documentation.
// https://kriesi.at/documentation/enfold/header/#adding-a-header-widget-area
We tried to login but the credentials above are invalid.
Best regards,
Ismael -
AuthorPosts