Hi everyone,
we are currentyl preparing our site for a relaunch with the Enfold Theme. But even with all plugins disabled there is this code which directs to a path for “skin.css” which doesn’t exist. Can you help us to correct this error?
window._layerSlider.showNotice('layerslider_2','jquery');
}
} else {
lsjQuery("#layerslider_2").layerSlider({sliderVersion: '6.7.1', type: 'fullwidth', responsiveUnder: 0, allowFullscreen: false, maxRatio: 1, parallaxScrollReverse: true, hideUnder: 0, hideOver: 100000, pauseOnHover: 'disabled', skin: 'outline', hoverPrevNext: false, navStartStop: false, showCircleTimer: false, thumbnailNavigation: 'disabled', allowRestartOnResize: true, skinsPath: 'http://our-domain.com/wp-content/www/htdocs/w018a9ba/'});
}
});
Thanks in advance!
Dear Enfold,
Could you please look at my screenshots and tell me what I’m doing wrong? :)
View post on imgur.com
Screen#1 = your default demo
Screen#2 = what I currently have
Kind regards.
Hi,
You can try this code on the functions.php file to set the og:image manually.
add_action('wp_head', 'ava_add_og_image');
function ava_add_og_image() {
if(has_post_thumbnail()) {
$featured_img_url = get_the_post_thumbnail_url(get_the_ID(),'full');
echo '<meta property="og:image" content="'.esc_url($featured_img_url).'" />';
}
}
I’m not sure why the image meta is not there on the home page.
Best regards,
Ismael
Hi Barbara,
Have you tried using this plugin?
It might help you.
Best regards,
Victoria
Working. But is there a way to display it the same way as the related posts are displayed. In a grid format using thumbnails
Hi,
Please try to add this code to the child theme functions.php to fix the issue:
add_filter('wpseo_twitter_image', 'avia_set_yoast_og_image', 10, 1);
add_filter('wpseo_opengraph_image', 'avia_set_yoast_og_image', 10, 1);
function avia_set_yoast_og_image($url)
{
if(empty($url) && has_post_thumbnail())
{
return get_the_post_thumbnail_url();
}
return $url;
}
Another user reported this as a bug to Yoast (see https://kriesi.at/support/topic/yoast-seo-premium-missing-facebook-preview-image/#post-1007741 ) and hopefully they’ll fix it soon.
Best regards,
Peter
Hi,
You should increase the size of the “entry_with_sidebar” thumbnail. That is the default size of the featured image in the single post page. After the adjustment, save it, update then regenerate the thumbnails. The regeneration button is located at the very bottom of the Settings > Media panel. Just select the “entry_with_sidebar” thumbnail in the “Thumbnail regeneration” list.
Best regards,
Ismael
Hey envisageiam,
You can add this code to the quick css field to show the images on mobile devices too:
@media only screen and (max-width: 767px){
.responsive #top #wrap_all .template-blog .blog-meta, .responsive #top #wrap_all .post_author_timeline, .responsive #top #wrap_all #main .sidebar {
display: block;
}
}
If you want to show the images above each post please try another blog style (i.e. “Single Author, big preview Pic (no author picture is displayed, feature image is big)”) because your current layout just supports small thumbnails on the left side.
Best regards,
Peter
Just to add I have not updated/re-created the contact forms as the sliders stopped working, contact forms disappeared and thumbnails went blank all at the same time so just want to check the issues are all not connected to a common problem before re-doing the contact forms
Thanks Belinda
Hi, how do I set it so the featured images that shows on my blog list to show on mobile as well? On mobile, I would like for the thumbnail image to be displayed above each post.
Hi there,
I want to contribute to the Romanian translation which is quite bad (probablly auto translate with google translate), but I receive 2 errors in Poedit (latest version ), that won’t let me compile the mo file.
1. Archives by Month:
!(duplicate message definition…)
and
2. Big image with thumbnails below
!(… this is the location of the first definition)
Could you help me solve those 2 errors in order to could correct and complete the translation?
Many thanks for your time,
Looking forward to hear news from you,
Yours,
Claudiu.
Hi,
these pages were the “featured” images:
Sorry for the confusion. Yes, that’s what I meant by “thumbnails”, the featured images. Did you try the plugin?
Best regards,
Ismael
Hi,
ENFOLD produces lots of thumbnails from images, that I do not need.
How can I remove OLD (!) unused image sizes in ENFOLD?
For future (!) uploads I found the plugin https://de.wordpress.org/plugins/simple-image-sizes/, where I set all those image sizes to length = 0 and width = 0, which I don’t need. That works well for new (!) uploads: those images sizes are now not created, when I look at my FTP.
But is there a method or script or something like that to delete unused image sizes from past uploads (except of deleting them manually from FTP)?
Thanks.
I thought the images that are being cut off on the top of these pages were the “featured” images:
On this one, the featured image at the top had so much cut off, I inserted the actual image further down in the article just so people could see the whole thing: https://www.magnificentu.com/nutrition-herbs-aromatherapy-flower-essences-natures-natural-healers/
And another one: https://www.magnificentu.com/spring-equinox-celebration-rocked/
I think the ones on the blog pages I showed you looked OK. Those, I thought, were the thumbnails.
Hi,
This is the default events template code, we didn’t modify it. However you can add this functiobn to your child theme functions.php to activate the lightbox for the featured image
function custom_tribe_event_featured_image( $featured_image ){
if( is_single() ){
$post_id = get_the_ID();
$size = 'full';
$image_src = wp_get_attachment_image_src( get_post_thumbnail_id( $post_id ), $size );
$featured_image = '';
if ( !empty( $image_src ) ) {
$featured_image = '<a href="'. $image_src[0] .'" title="'. get_the_title( $post_id ) .'" rel="lightbox"><img src="'. $image_src[0] .'" title="'. get_the_title( $post_id ) .'" class="alignleft" /></a>';
}
}
return $featured_image;
}
add_filter( 'tribe_event_featured_image', 'custom_tribe_event_featured_image');
Best regards,
Peter
Hi,
That is the default size of the entries’ thumbnail (845x321px). You can increase the size with the Simple Image Sizes plugin. Go to the Settings > Media and then look for “entry_with_sidebar” thumbnail. Adjust the width and height, update, save and then regenerate the posts thumbnails.
Best regards,
Ismael
Hey you wonderful supporters,
I am trying to build a lightbox gallery and am stuck with two problems:
1. I wish to open the gallery in a lightbox when the user clicks on a thumbnail picture, however, I don’t want the thumbnail pic itself to be included in the lightbox view. So, technically I wish to start the gallery view with the ‘second image’. Is that possible to achieve with on-board tools, or do I need to get an additional lightbox-plugin?
Visual explanation:
https://ibb.co/eppk2U
https://ibb.co/eqRUwp
https://ibb.co/gM3W99
2. I need the images in the lightbox to be crisp and sharp. By default, the images are downscaled to fit into the browser window. That’s ok and makes sense at first. However, many lightbox views on other websites (e.g. Flickr), offer a second click that zooms to a 100% view (and make the user scroll a bit down to see the rest of the image – but that’s desired here). It is usually indicated by a magnifying glass icon. Can you guide me how to realize that in Enfold?
Visual explanation:
https://ibb.co/jzhKwp
https://ibb.co/d1Xmbp
I tried for some time but couldn’t solve it. Maybe someone else is smarter than me… I am grateful for a hint in the right direction! Thanks in advance!
Shaoxuming
-
This topic was modified 7 years, 6 months ago by
shaoxuming.
Hi,
This issue pops up if WordPress can’t generate thumbnails (i.e. see https://wordpress.stackexchange.com/questions/192524/add-media-only-shows-full-size-under-attachment-display-settings ). I installed the wordpress health checker plugin (to check the server environment) and I think the GD image module is missing or not activated. Please contact the server administrator/host and ask him to activate the module (otherwise wordpress can’t process images or generate thumbnails).
Best regards,
Peter
Hi,
Please add this code to your child theme:
function avia_display_image_copyright( $atts )
{
$atts = shortcode_atts(array('id' => ''), $atts);
$copyright_text = '';
if(!empty($atts['id']))
{
$copyright_text = get_post_meta($atts['id'], '_avia_attachment_copyright', true );
}
else
{
if(has_post_thumbnail())
{
$post_thumbnail_id = get_post_thumbnail_id();
$copyright_text = get_post_meta($post_thumbnail_id, '_avia_attachment_copyright', true );
}
}
return $copyright_text;
}
add_shortcode( 'av_display_image_copyright', 'avia_display_image_copyright' );
You can then use this shortcode:
[av_display_image_copyright]
to display the copyright information of the featured image. If you want to display the copyright information of another image (which is not the featured image) you can use this code:
[av_display_image_copyright id=852]
and replace 852 with the (attachment) id of the image.
Best regards,
Peter
Hi Team Kriesi,
is ist possible to show copyright-info for images inside a post and for the post thumbnail?
thanks in advance.
A client has asked for updates to their website, which I last worked on two years ago, apparently with Enfold 4.0.2 (or maybe it was upgraded to that in the meantime).
The client is seeing errors associated with WooCommerce in their store product pages. I found several threads that refer to these errors that recommend upgrading Enfold to 4.0.5…
And I see that 4.0.5 included an update specific to WooCommerce compatibility…
I’ve tried updating the theme to the latest (4.4.1), but it breaks styling in several parts of the site. So, I’d like to update to 4.0.5 to see if that resolves the error and doesn’t break any styling.
Can you provide me a link to download that version? Can you recommend (and provide a link to) a more recent version that would be backwards compatible with the 4.0.2 styles and editor?
Thanks!
Hey emanuelecocchiaro,
Thank you for using Enfold.
You need to adjust the thumbnail size for the archive pages. Please edit the archives.php file, look for this code around line 56:
'class' => 'avia-builder-el-no-sibling'
Below, add these codes:
'preview_mode' => 'custom',
'image_size' => 'full',
Default “image_size” value is set to “portfolio”, which has a dimension of 495x400px.
Best regards,
Ismael
Hi,
I have created a portfolio page with a masonry, and everything works fine as you can see in the following link. All the thumbnails look the same and we are able to see the entire dress
Different is when you go inside a single category page where images are cropped and some of them (random) are taller
https://www.pennyblackragusa.it/portfolio_voci/gonne/
How can I fix the masonry in the category page in order to look like the main page I showed you?
Thanks for your reply
Hello,
I added the code below to my Enfold theme last year (October 2017) to add the “Don’t display image on single post” check box to a specific post type (“person”). As of last week, it seems that the check box is no longer saving as “checked”. My goal is to have a feature image selected for each person post so that another page listing all “person” post types will display the image, but I’m using a different version of the image / layout in the post itself. Any insight into why this might have stopped working? I’m running WordPress 4.9.8.
Thanks!
Hannah
add_filter( 'admin_post_thumbnail_html', 'mmx_cpt_featured_image_meta');
function mmx_cpt_featured_image_meta( $content ) {
global $post, $post_type;
if( $post_type == "person" ) {
$text = __( "Don't display image on single post", 'avia_framework' );
$id = '_avia_hide_featured_image';
$value = esc_attr( get_post_meta( $post->ID, $id, true ) );
$selected = !empty($value) ? "checked='checked'" : "";
$label = '</div><div class="av-meta-extra-inside"><label for="' . $id . '" class="selectit"><input '.$selected.' name="' . $id . '" type="checkbox" id="' . $id . '" value="1" > ' . $text .'</label>';
return $content .= $label;
}
return $content;
}
?>
Hi,
Please try to set featured images for your products and then add this code to the quick css field:
#top .inner_product .thumbnail_container {
display: none;
}
to hide the featured images on the shop/products overview page.
Best regards,
Peter
Hi Rekard,
We have installed and tried this plugin (regenarate thumbnails), but it seems does’nt work : http://www.keystone-europe.com/wp-content/uploads/2018/09/problem-attachment-display-settings-2.jpg
Can you try to use correctly this plugin or find another solution please ?
Thanks a lot for your help,
Best regards,
Ramses Team from France
Oh of course. You upload the image as the video thumbnail and add the link to the image. Hahaha :)
Hi,
Is it possible to have a thumbnail show up when you text a link? Some links from other websites or blogs will have a thumbnail when I text the link via SMS or Facebook Messenger. Want to know if I can do that with Enfold theme. Below is what shows up right now when I sent a text to a friend (bottom of the conversation):
View post on imgur.com
Hi,
Thanks for that, I get the same problem on my end. Could you try regenerating the images using this plugin to see if that helps please? http://wordpress.org/extend/plugins/regenerate-thumbnails/
Best regards,
Rikard
I have a Web in 3 languages https://arturolaime.com and my logo on the header is not being shown on some pages in German and in Spanish. It looks broken. I tried to regenerate Thumbnails, but that didn’t work. The Logo is always shown properly in the original language (English) I’m using the WPML plugin. Please, I would appreciate some help.