Hi there Enfold team!
I would like to do the following customizations to blog category results page (like this page https://crackerjackmarketing.com/blog/category/content-marketing/)
Remove the small thumbnail box beside the blog title
Remove the gray dashed line below the thumbnail box
Align left the blog posts results
Should look like this:
Looking forward to your response. Thank you!
-
This topic was modified 8 years, 2 months ago by
Archie.
I think this problem started with Enfold version 4.2, before that I didn’t notice this problem (I am using 4.2.2 now).
With updating to 4.2 I experienced the problem described here:
Basically there was a problem with the insta-pics when the photo size was set to thumbnail or small.
It could be solved by setting the photo size to large. This problem was fixed in Enfold version 4.2.1.
But it seems that it was just fixed by using always the large photo size independently of the setting.
Resulting the insta pics are slowing down the page considerably, which ruins completely my speed results I gained after applying the tips for Autoptimizer and Comet Cache as described in this helpful thread.
The insta-widget seems to have no effect on my mobile site (I have 99/100) but on desktop it slows down the site from about 94 to 69 (25 points!!).
This makes the widget basically unusable.
Please clarify the photo size in the insta widget and the massive impact on the page speed.
Hi Nikko and Rikard,
have found the options under related entries. Have marked post tags and thumbnails and post titel by default.
It must be worked, but it doesnt.
An issue i have. It post no post tags. Therefor i have added following to the function.php
function my_tags_shortcode() {
ob_start();
the_tags( ‘Tags: ‘, ‘, ‘, ‘<br />’ );
return ob_get_clean();
}
add_shortcode( ‘mytagshere’, ‘my_tags_shortcode’ );
With that shortcorde [mytagshere] it shows the tags.
So the question is, why works it with the tags not regulary? I dont know…but so it seems, no tags regulary –> no related posts :(
Thats sad, then this related entries looks nice…
Bert
Hi,
Please review the thread.
// https://kriesi.at/support/topic/show-excerpt-in-all-magazine-blog-list-with-read-more-link/#post-311683
Look for the following code around line 650:
if(empty($this->atts['thumbnails']))
{
$image = "";
$extraClass = "av-magazine-no-thumb";
}
Below, add the excerpt:
$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, '');
Best regards,
Ismael
Hi Rikard,
Thanks for the response. I just updated the version. It managed to make the menu appear. However, some of my sliders are still missing. also a lot of the format is out of sync.
I’ve highlighted some of the issues in the private content area. Its just some of the problems in the website. Could it be due to a conflict of plugins installed? this is the list of plugins i have installed. Thanks for the help
akismet anti-spam
caldera forms
easy updates manager
google analytics for wordpress by monsterinsights
hash link scroll offset
layerslider wp
regenerate thumbnails
tiny mce advanced
w3 total cache
wp smush
yoast SEO
Hey danielromanin,
Thank you for using Enfold.
Do you want to set the second option of the “Hover effect on Overview Pages” as default? You have to modify the config-woocommerce > admin-options.php file, look for this code around line 174:
$elements[] = array("slug" => "avia_product_hover",
"name" => "Hover effect on <strong>Overview Pages</strong>",
"desc" => "Do you want to display a hover effect on overview pages and replace the default thumbnail with the first image of the gallery?",
"id" => "_product_hover",
"type" => "select",
"std" => "",
"class" => "avia-style",
"subtype" => array("Yes - show first gallery image on hover" => 'hover_active', "No hover effect" => ''));
.
Set the “std” parameter to “hover_active”.
"std" => "hover_active",
Best regards,
Ismael
All that zero setting does is to stop the default WP thumbnails being created.
It appears there’s a slight conflict / confusion with using functions.php with remove_image_size and the plugin Simple Image Sizes.
I use that plugin to alter the default Enfold sizes for a couple of images. When it’s active, the remove_image_size instructions are ignored and the images are still created.
If I deactivate the plugin then the function instructions work, and the specified images are not created – but then I have no ability to alter the Enfold image sizes to what I want.
The plugin allows me to ‘delete’ each image size, such as entry_with_sidebar. But if I delete the sizes I don’t want, Enfold just adds them back in when I try to save the new settings.
To get the desired result, you need the necessary remove_image_size instructions in functions.php and then via the plugin, go and delete the sizes not needed in Settings > Media, then save – and they now stay deleted, and are not created on a new upload.
Case closed. I hope… :-)
I’m trying to use the post slider and blog grid features to display articles on my site.
When you click on the image or link, instead of going to the post, I want it to go to another link thats specified in a unique advanced custom field for each article. I made a child theme and set up the postslider php file but i cant figure out how to call up the custom field content.
i found two places that seem to control the link
$output .= $thumbnail ? “{$thumbnail}” : “”;
and
$output .= “<h3 class=’slide-entry-title entry-title’ $markup>“.$title.”</h3>”;
I thought I would replace the $link text above with something like the_field(‘press_link’);
but that isnt working
Also I can see that my edits have an affect on the post slider but is there something more i have to do to get them to affect the blog grid?
Any help I can get would be incredble!
I know it would be better for these to be links instead of posts but I’m ultimately going to apply this to existing site that has over 100 of these already built so I’m trying to work with the existing structure
Hi,
But when I upload a new image sized 700 x 467 px, the widget (36 x 36 px) and portfolio (495 x 400 px) images are still being created. Why, and how can I stop this happening?
Those are probably generated because the default thumbnails are still active. Please go to the Settings > Media panel. Set the thumbnail, medium and large thumbnail sizes to zero.
Best regards,
Ismael
This reply has been marked as private.
hi there,
the posts on my website don’t load anymore.
i can see the thumbnail but when i click on it there is just the preload picture all the time.
could you please help me.
thanks, verena
Hi,
The crop parameter for the “masonry” thumbnail is disabled by default so it maintains the aspect ratio of the image.
// https://developer.wordpress.org/reference/functions/add_image_size/
Set the image size by cropping the image and defining a crop position:
Please add this code in the functions.php file.
add_image_size( 'masonry', 705, 705, array( 'center', 'center' ) ); // crop from center
Save the file then regenerate the thumbnails. This will crop the images from the center.
Best regards,
Ismael
Hey,
is there any possibility to get a lightbox with an image preview of the next images?
Example: https://i0.wp.com/graphpaperpress.com/wp-content/uploads/2016/03/lightbox-gallery.jpg?resize=1000%2C806&ssl=1
I use the Enfold-Theme and the “gallery” element within my website.
Due to website design desicions I only whant to show the first image of the gallery on the main page. This can easily be done by setting the gallery-style (Setting: “Big image only, other images can be accessed via lightbox”).
However, if I click on the thumbnail I only see the first image and can click through the other. But I would rather like to see, f.e. the next ten image-thumbnails on the bottom of the lightbox.
Is there an easy way to get such a lightbox with the Enfold-theme?
Thanks in advance!
Hi,
Like others I have experienced the display bug with the Instagram feed widget.
To get that fixed, I have updated to 4.2.1, switched to small/large/thumbnail sizes in the Instagram widget option, but I still have that bug occurring.
Website is http://www.aquibikes.com
Screenshot: https://ibb.co/i0B0Tb
Any suggestion? Thanks ;)
Hi,
We would like to apologize for the delay.
Also – it crops the image to just a small portion of the original image. Usually a meaningless or unrecognizable one like the sky or something. Since the thumbnail image on the homepage is created from the featured image, I expected them to match exactly, or at least very closely.
The masonry element is using a distinct thumbnail called “masonry” which has a maximum width and height of 705px. This is why your images are cropped or resized.
Best regards,
Ismael
Sorry, my title is not worded very well and is confusing.
I don’t want to remove the existing widget and portfolio images from the database.
remove_image_size should stop the specified image sizes from being created when a new image is uploaded. The function does do this for all the other image sizes specified, i.e. shop_thumbnail is not created.
But the widget and portfolio sizes are still being created when the function should stop this, but it’s not working.
Hey zimbo,
You many need to regenerate thumbnails using – https://wordpress.org/plugins/regenerate-thumbnails/
Best regards,
Jordan Shannon
I have this code in my child theme functions.php file:
function ava_image_sizes() {
remove_image_size('widget');
remove_image_size('featured');
remove_image_size('featured_large');
remove_image_size('extra_large');
remove_image_size('gallery');
remove_image_size('portfolio');
remove_image_size('magazine');
remove_image_size('masonry');
remove_image_size('shop_thumbnail');
remove_image_size('shop_catalog');
remove_image_size('shop_single');
}
add_action( 'after_setup_theme', 'ava_image_sizes', 11 );
But when I upload a new image sized 700 x 467 px, the widget (36 x 36 px) and portfolio (495 x 400 px) images are still being created. Why, and how can I stop this happening?
Hi there,
I am using Enfold and polylang with 2 languages (German & English). The german pages are working fine, but when I switch to second language, the masonry is not working anymore. There are no thumbnails visible.
Details in the Private Content Box.
Link to Webpage: http://wp.design-apartment-kitzbuehel.com/
-
This topic was modified 8 years, 2 months ago by
diskoeln.
Hi!
I want my headers all look the same. When I use a H1 in a colour section it looks different from the one in a grid.
Please take a look at the Header “promotion SELLS” on the bottom of the home site.
http://sell.workbase.online/home-2/?preview_id=7988&preview_nonce=aaec487921&_thumbnail_id=-1&preview=true
I would like to have the look of the grid header, but also within a colour section. So e.g. “promotion” in small letters and “SELL” in big ones.
Hope, you can help.
Best regards,
Sonja
Hallo Team,
ich wollte mit Enfold einen “deutschen Shop” einrichten und bekomme nach dem einspielen in der Produktübersicht folgende Meldung:
Warning: Missing argument 3 for avia_woocommerce_gallery_thumbnail_description() in /www/htdocs/w00b5a07/wp-content/themes/enfold/config-woocommerce/config.php on line 1360
Warning: Missing argument 4 for avia_woocommerce_gallery_thumbnail_description() in /www/htdocs/w00b5a07/wp-content/themes/enfold/config-woocommerce/config.php on line 1360
Ich würde mich waaaahnsinig über einen Lösungsansatz bzw. eine gesamtheitliche Lösung freuen! ;-)
Es wurde vorher das Plugin “woocommerce germanized” aufgespielt!
Schöne Grüße
Mina
Thanks Victoria.
I have change the code according to this instructions but I still get the error text when I choose Small image in the instagram widget…
Best Regards
Charlotte
Please edit the framework > php > class-framework-widgets.php file, go to line 1671.
$image[‘thumbnail’] = str_replace( ‘s640x640’, ‘s160x160’, $image[‘thumbnail_src’] );
$image[‘small’] = str_replace( ‘s640x640’, ‘s320x320’, $image[‘thumbnail_src’] );
Replace it with:
$image[‘thumbnail’] = $image[‘thumbnail_src’];
$image[‘small’] = $image[‘thumbnail_src’];
It was indeed the plugin that forced the thumbnail and extra image in the post.
It’s resolved now.
Thanks for the help and apologies for the inconvenience.
Hi,
I would like to check the post but it doesn’t exist. Please provide another example. The single post template is using another thumbnail called “entry_with_sidebar” if the sidebar is enabled or the “entry_without_sidebar” if the sidebar is off.
Best regards,
Ismael
Hi,
Please add the following code in the functions.php file.
if(!function_exists('avia_post_nav_mod'))
{
function avia_post_nav_mod($same_category = false, $taxonomy = 'category')
{
global $wp_version;
$settings = array();
$settings['same_category'] = $same_category;
$settings['excluded_terms'] = '';
$settings['wpversion'] = $wp_version;
//dont display if a fullscreen slider is available since they overlap
if((class_exists('avia_sc_layerslider') && !empty(avia_sc_layerslider::$slide_count)) ||
class_exists('avia_sc_slider_full') && !empty(avia_sc_slider_full::$slide_count) ) $settings['is_fullwidth'] = true;
$settings['type'] = get_post_type();
$settings['taxonomy'] = ($settings['type'] == 'portfolio') ? 'portfolio_entries' : $taxonomy;
if(!is_singular() || is_post_type_hierarchical($settings['type'])) $settings['is_hierarchical'] = true;
if($settings['type'] === 'topic' || $settings['type'] === 'reply') $settings['is_bbpress'] = true;
$settings = apply_filters('avia_post_nav_settings', $settings);
if(!empty($settings['is_bbpress']) || !empty($settings['is_hierarchical']) || !empty($settings['is_fullwidth'])) return;
if(version_compare($settings['wpversion'], '3.8', '>=' ))
{
$entries['prev'] = get_previous_post($settings['same_category'], $settings['excluded_terms'], $settings['taxonomy']);
$entries['next'] = get_next_post($settings['same_category'], $settings['excluded_terms'], $settings['taxonomy']);
}
else
{
$entries['prev'] = get_previous_post($settings['same_category']);
$entries['next'] = get_next_post($settings['same_category']);
}
$entries = apply_filters('avia_post_nav_entries', $entries, $settings);
$output = "";
foreach ($entries as $key => $entry)
{
if(empty($entry)) continue;
$the_title = isset($entry->av_custom_title) ? $entry->av_custom_title : avia_backend_truncate(get_the_title($entry->ID),75," ");
$link = isset($entry->av_custom_link) ? $entry->av_custom_link : get_permalink($entry->ID);
$image = isset($entry->av_custom_image) ? $entry->av_custom_image : get_the_post_thumbnail($entry->ID, 'thumbnail');
$tc1 = $tc2 = "";
$class = $image ? "with-image" : "without-image";
$output .= "<a class='avia-post-nav-mod avia-post-{$key} {$class}' href='{$link}' >";
$output .= " <span class='label iconfont' ".av_icon_string($key)."></span>";
$output .= " <span class='entry-info-wrap'>";
$output .= " <span class='entry-info'>";
$tc1 = " <span class='entry-title'>{$the_title}</span>";
if($image) $tc2 = " <span class='entry-image'>{$image}</span>";
$output .= $key == 'prev' ? $tc1.$tc2 : $tc2.$tc1;
$output .= " </span>";
$output .= " </span>";
$output .= "</a>";
}
return $output;
}
}
Edit the includes > loop-portfolio-single.php file, look for this code around line 47.
echo '</footer>';
Below, add this code:
echo avia_post_nav_mod(false, 'portfolio_entries');
And then adjust the default style in the Quick CSS field.
#top .avia-post-nav-mod {
display: block;
position: relative;
height: 110px;
background: #aaa;
background: rgba(0,0,0,0.1);
color: #fff;
padding: 15px;
text-decoration: none;
z-index: 501;
-webkit-transform: translate3d(0,0,0);
}
.avia-post-prev {
left: 0;
border-top-right-radius: 4px;
border-bottom-right-radius: 4px;
width: 50%;
float: left;
}
This modification should work but it will require a few css adjustments. I’m sure you’ll be able to handle that.
Best regards,
Ismael
hi,there
i uesd the Enfold,when i upload a picture,the wordpress will generat different size image.but ,i only want to use one.
can you help me to prohibit generating redundant thumbnails?
Hi Omarkh101,
I don’t know. I’ve been using Enfold for about a year and a half. I’ve probably used it on about 8-10 websites. I have noticed a change in support more recently. Perhaps as the theme got more popular they started to get pressure to fill a quota or something. I’ve noticed it takes longer for someone to reply, and often the replies are shorter and ask something that was already addressed. Like they read it in a hurry and skimmed it. Made a quick reply to move on to the next ticket. Or maybe it’s just January…everyone working on their website and a big jump in volume.
If the change I made doesn’t work for you, maybe check out the other thread on this topic. There they recommended a plugin for resizing thumbnails. It wasn’t the fix for me, but it did seem like a useful thing to have!
Sorry to trouble you – I found the answer! I now see the first option dropdown and selected “Big image with thumbnails below.”
Am looking forward to your reply about the other questions though.
Thanks, LindaK
well, I thought I solved it..
I did what was in this thread: https://kriesi.at/support/topic/instagram-feed-showing-text-and-not-loading-images/#post-897766
And I changed the image size to large, then the images showed correctly. But even with the changes I made, when selecting small or thumbnail size it still shows just the rectangles.
So for me its good now, but the real problem isn’t solved.
Hi Support!
I purchased 1 year of support from 9/30/16 – 9/3017 but didn’t use it because the project died. I also purchased two licenses for Enfold. License # 358ffb86-81d6-4749-a82d-23467c9647cb and the other is Purchase code: feebec57-020e-4adf-b8a.
Is there any way I can receive some support now?
My first question is I cannot find where to insert Gallery with Preview into my page. I found Gallery but it is only displaying thumbnails without the preview. Am I doing something wrong?
Thanks!
LindaK