Tagged: Images
-
AuthorPosts
-
June 30, 2015 at 8:41 am #466212
Hello, i’ve upgraded from Display theme to Enfold theme my site, when i open the home page, the page title become “MaidenConcerts.it – Info e news sugli Iron Maiden |” is possible to remove the | only from the home page?
PS: i have another question, what is the correct size of the preview images on the blog articles?
June 30, 2015 at 6:04 pm #466593Hey heavymetaller!
Please add following code to Functions.php file in Appearance > Editor
add_filter('avf_title_tag','avia_new_title'); function avia_new_title() { if(is_front_page()) { $title = get_bloginfo('name'); } return $title; }
You can find image sizes in Functions.php file
$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_config['imgSize'] = apply_filters('avf_modify_thumb_size', $avia_config['imgSize']);
If you would like to change them, please do not forget to regenerate thumbnails using this plugin afterwards – https://wordpress.org/plugins/regenerate-thumbnails/
Cheers!
YigitJuly 2, 2015 at 9:48 am #467371Very good! Thank you!
Now is possible, on the blog posts, to put the post title BEFORE the blog title?
Now is something like this:
Blog Title | Post Title
To make the theme more SEO i need to change it to:
Post Title | Blog Title
Is possible?
Thank you
July 3, 2015 at 3:08 pm #468039Hi!
Please add following code to Functions.php file as well
add_filter('avf_title_tag','avia_new_title_blog'); function avia_new_title_blog() { if(is_single()) { $title = get_the_title(). ' | ' get_bloginfo('name'); } return $title; }
Regards,
YigitSeptember 15, 2015 at 9:53 pm #503727Is it possible to replace image thumbnail sizes in a child theme’s functions.php?
$avia_config[‘imgSize’][‘entry_with_sidebar’] = array(‘width’=>845, ‘height’=>321); // big images for blog and page entries
replaced with
$avia_config[‘imgSize’][‘entry_with_sidebar’] = array(‘width’=>845 , ‘height’=>442); // big images for blog and page entriesfor example.
September 15, 2015 at 10:49 pm #503750Hey!
Please add following code to Functions.php file of your child theme in Appearance > Editor
add_filter( 'avf_modify_thumb_size', 'enfold_customization_modify_thumb_size', 10, 1 ); function enfold_customization_modify_thumb_size( $size ) { $size['entry_with_sidebar'] = array('width'=>845, 'height'=>442); return $size; }
Best regards,
Yigit -
AuthorPosts
- You must be logged in to reply to this topic.