We use 2 plugins for our clients that will automatically pull new YouTube videos into their website from their channel.
Neither will work correctly with Enfold.
The first is https://wordpress.org/plugins/youtube-channel-gallery/
This almost works very well but when you click on one of the thumbnails it activates a lightbox as well as playing on the page.
The second is a paid plugin that uses the new Google YouTube API V3.
http://codecanyon.net/item/wordpress-responsive-youtube-playlist-video-player/8645995
The conflict here maybe that you are also using this API?
So my question is are there any things I can “turn off” within Enfold (possibly a PHP mod) that would make either or both of these plugins function?
I will provide links in the “Private Content” box below.
BTW: I have confirmed it is the Theme. I de-activated all plugins but the one being tested.. same problem. Switched to a different theme and both plugins work fine.
Thanks.
Sorry but I do not read everything considering I had to copy the same path as in the original folders of the theme.
By cons, if we simply returns the fact to sort items in portfolio price range with custom fields, it does not work.
It’s mostly what I need at the base.
I also removed the “Add new or replace Advanced Layout Builder Elements from Child Theme” to be sure it does not create conflict.
So here’s what’s in my functions.php file in the child theme:
<?php
/*
* Add your own functions here. You can also copy some of the theme functions into this file.
* WordPress will use those functions instead of the original functions then.
*/
/*
* add option to edit elements via css class
*/
// add_theme_support('avia_template_builder_custom_css');
// enable custom fields for Portfolio items
add_filter('avf_portfolio_cpt_args', 'avf_portfolio_add_custom_fields', 1);
function avf_portfolio_add_custom_fields($args) {
$args['supports'] = array('title','thumbnail','excerpt','editor','comments', 'custom-fields');
return $args;
}
// alter the portfolio grid order
function custom_post_grid_query( $query, $params ) {
$query['orderby'] = 'meta_value';
$query['order'] = 'DESC';
$query['meta_query'] = array(array('key' => 'custom_price'));
return $query;
}
add_filter( 'avia_post_grid_query', 'custom_post_grid_query', 10, 2);
Thank you.
PS – The extension “WPML” can there be a conflict?
Hi, is it possible to add a thumbnail in search results on addition to the search list results ?
ie:
http://fritzimages.com/blog/?s=main
thanks
Please advise why we are not seeing images on the http://retrieverwebsolutions.co.uk/blackfrog/ page in development. Images are inserted to the relevant areas, options for thumbnails etc. we have tried all kinds of options, even for 7 thumbnails like the theme example but the main images shows, the thumbnails are transparent and do not move.
The images are shown spread out, we want them like the theme, all butted up against each other.
Hey!
I don’t think you can serve different thumbnail size for mobile devices unless you created a script specifically for that which will require major modifications on the theme templates and files. For this, you might need to hire a freelance developer. For further modifications, please visit Envato Studio or Werkpress.
Best regards,
Ismael
I’ve added thumbnails in Masonry gallery that open as videos in lightbox.
Is there a way to make the thumbnails smaller by either using a different form of gallery or adding extra code?
Thanks
Cheers Elliot!
Worked like a charm, just need to re-upload or use the thumbnail regeneration for those featured images.
Thanks again!
Hello Josue,
I know a few basics in programming, but I’m not a programmer.
That said, I am not able to display the prices in the portfolio boxes.
I tried to replace “custom_markup” with “custom_price” that I use in my custom fields, but in vain.
And what does ($ output. = “CUSTOM META HERE CODE”)?
What should I replace it with “custom meta code here”?
Note that I use a child theme and I added the command lines as mentioned in your answer.
I also replaced the lines requested in portfolio.php file I copied to my child theme.
Here’s the code displayed in my functions file:
<?php
/*
* Add your own functions here. You can also copy some of the theme functions into this file.
* WordPress will use those functions instead of the original functions then.
*/
/*
* add option to edit elements via css class
*/
// add_theme_support('avia_template_builder_custom_css');
// enable custom fields for Portfolio items
add_filter('avf_portfolio_cpt_args', 'avf_portfolio_add_custom_fields', 1);
function avf_portfolio_add_custom_fields($args) {
$args['supports'] = array('title','thumbnail','excerpt','editor','comments', 'custom-fields');
return $args;
}
// alter the portfolio grid order
function custom_post_grid_query( $query, $params ) {
$query['orderby'] = 'meta_value';
$query['order'] = 'DESC';
$query['meta_query'] = array(array('key' => 'custom_price'));
return $query;
}
add_filter( 'avia_post_grid_query', 'custom_post_grid_query', 10, 2);
// Add new or replace Advanced Layout Builder elements from Child Theme
add_filter('avia_load_shortcodes', 'avia_include_shortcode_template', 15, 1);
function avia_include_shortcode_template($paths)
{
$template_url = get_stylesheet_directory();
array_unshift($paths, $template_url.'/shortcodes/');
return $paths;
}
Again thank you for your help. :)
Hi,
How can I get thumnails in portfolio at the same height? See this page for example: http://wissekerketechniek.nl/nwcms/product/j-a-becker/
Portfolio grid is on size manually and image size 260×185
thanks in advance,
Ariane
Hey songjiekun!
Please add following code to Quick CSS in Enfold theme options under General Styling tab and adjust as needed
.news-thumb img, .news-thumb img { width: 40px; height: 40px; }
.news-thumb { width: 48px; height: 48px; }
strong.news-headline { font-size: 14px; }
then go to Appearance > Editor and open Functions.php file and find
$avia_config['imgSize']['widget'] = array('width'=>36, 'height'=>36); // small preview pics eg sidebar news
and change it to
$avia_config['imgSize']['widget'] = array('width'=>48, 'height'=>48); // small preview pics eg sidebar news
and regenerate thumbnails using this plugin – https://wordpress.org/plugins/regenerate-thumbnails/
Cheers!
Yigit
Thanks a lot for your help, Ismael, it worked!
I’d like to add some more information for those who want to remove unnecessary thumbnails. There are also thumbnails in config.php file in config-woocommerce folder:
$avia_config['imgSize']['shop_thumbnail'] = array('width'=>120, 'height'=>120);
$avia_config['imgSize']['shop_catalog'] = array('width'=>450, 'height'=>450);
$avia_config['imgSize']['shop_single'] = array('width'=>450, 'height'=>999, 'crop' => false);
And just one more question for undestanding. Most of my image sizes in my blog (with sidebar) are 1100x773px (3:2 ratio). If I want to make page loading faster for tablets and other small devices is it possible to use thumbnails instead of original images?
For example, I set thumbnail sizes to 845×563, 630×420, 345×230 etc, ratio is kept at 3:2. When I load a page on a device with possibility to see images in the blog with a maximum width 845px, a browser will load thumbnails with size 845px. And when the device can show images with a maximum width between 630 and 845 px, the browser will load and scale 845px. Is it possible or not?
Hi pixallus!
Please go to Appearance > Editor and open Functions.php file and find
$avia_config['imgSize']['widget'] = array('width'=>36, 'height'=>36); // small preview pics eg sidebar news
and change values as needed and then regenerate thumbnails using this plugin – https://wordpress.org/plugins/regenerate-thumbnails/
Best regards,
Yigit
Hi Kriesi Team!
First of all I want to say “Thumbs up” as I really like your theme and recommended it to a lot of people.
I want to ask how can I resize the width of the facebook like widget in the footer? I want the widget to be a bit wider. Right now it cuts some thumbnails and the “like” button.
Cheers
Herbert
hi,
I wish to use the Woocommerce product category image as the “list view thumbnail”, but NOT showing it when click into the category as a banner.
please help~ thank you
“latest news widget” thumbnail picture is too small. how to make it bigger? and the text size is also too small. how to resize the font size for “latest news”?
How can we increase the thumbnail size on the sidebar portfolio widget? Used some CSS height and width but the image is pixelated
thanks,
larry
Hi!
Try using this on functions.php:
function avia_change_image_size_array() {
global $avia_config;
$avia_config['imgSize']['widget'] = array('width'=>36, 'height'=>36); // small preview pics eg sidebar news
$avia_config['imgSize']['square'] = array('width'=>180, 'height'=>180); // small image for blogs
$avia_config['imgSize']['featured'] = array('width'=>1500, 'height'=>430 ); // images for fullsize pages and fullsize slider
$avia_config['imgSize']['featured_large'] = array('width'=>1500, 'height'=>630 ); // images for fullsize pages and fullsize slider
$avia_config['imgSize']['extra_large'] = array('width'=>1500, 'height'=>1500 , 'crop' => false); // images for fullscrren slider
$avia_config['imgSize']['portfolio'] = array('width'=>495, 'height'=>400 ); // images for portfolio entries (2,3 column)
$avia_config['imgSize']['portfolio_small'] = array('width'=>260, 'height'=>185 ); // images for portfolio 4 columns
$avia_config['imgSize']['gallery'] = array('width'=>845, 'height'=>684 ); // images for portfolio entries (2,3 column)
$avia_config['imgSize']['magazine'] = array('width'=>710, 'height'=>375 ); // images for magazines
$avia_config['imgSize']['masonry'] = array('width'=>705, 'height'=>705 , 'crop' => false); // images for fullscreen masonry
$avia_config['imgSize']['entry_with_sidebar'] = array('width'=>845, 'height'=>321); // big images for blog and page entries
$avia_config['imgSize']['entry_without_sidebar']= array('width'=>1210, 'height'=>423 ); // images for fullsize pages and fullsize slider
avia_backend_add_thumbnail_size($avia_config);
}
add_action( 'init', 'avia_change_image_size_array', 1);
Set the width and height of the thumbnail size that you want to remove to zero (0). If it doesn’t work, please use the plugin.
Regards,
Ismael
Hey!
Please install this plugin ( https://wordpress.org/plugins/simple-image-sizes/ ) then go to Settings > Media. Update the widget thumbnail size. Save changes then regenerate the thumbnails again. Make sure that you add the featured images using the Add feature media option of the theme instead of the default featured media box.
Cheers!
Ismael
Hi browntodde!
Thank you for using Enfold.
After you upload the background image, make sure that you select the Full size version of the thumbnail.
Cheers!
Ismael
Hi, Ismael!
Thanks for your response. But is it possible to do without plugin? I used Force Regenerate Thumbnails plugin to remove thumbnails and /* */ to prevent new thumbnails generation.
Best regards,
Evgeny
Hey Speedskater!
Thank you for using Enfold.
Please install this plugin then delete the thumbnails that you don’t need on Settings > Media: https://wordpress.org/plugins/simple-image-sizes/
Cheers!
Ismael
hello,
I have a problem after updating to the latest version enfold.
Lightbox does not work after the update.
Thumbnails are smaller and open up the same images.
Link to my site:
example – http://bit.ly/1BYgOwM
-
This topic was modified 11 years, 4 months ago by
osukaru.
Hi!
Thank you for using Enfold.
What do you mean by “Slider articles”? Can you please provide a link to the actual page with this element? A screenshot will help. If you’re referring to the blog posts featured image, you can still use the suggested plugin above. Look for the entry_with_sidebar size and entry_without_sidebar size thumbnails.
Regards,
Ismael
Hey Elliott,
Ok, tried that. Now it opens the same video thumbnail, not the corresponding video, in a lightbox. I need the video to come up in a lightbox like the sections below that second “Documentary” one.
Hey!
Try the following:
1. Install this plugin: https://wordpress.org/plugins/simple-image-sizes/
2. Go to Settings > Media
3. Change the portfolio image size (increase its width/height).
4. Regenerate the thumbnails by clicking the button at the bottom.
Cheers!
Josue
Hey slui!
Yes that is correct. Thumbnails will be displayed but when you click on the image and have it open in the magnific popup it will be the original. Let us know if you have any other questions.
Cheers!
Elliott
-
This reply was modified 11 years, 4 months ago by
Elliott.
This reply has been marked as private.
I have a recent posts widget in my footer
It shows the post and date, but the thumbnails for the photos in the blog are not showing up, any idea why
Thanks
Mike
Thanks for your help Josue !
After many try I was able to change the Individual Product image size but I was not able
to find how to change the size of the “Slider articles Thumbnail”.
Anybody have a hint ?
Alain
Hi,
I wanted to know when I have a portfolio matrix shown on a page are the images shown just a cropped version of the larger image. If not, does the portfolio matrix show a thumbnail first and then when you click on the actual image it loads the proper size image?
I’ve provided a URL on this.
Thanks.
sl