Tagged: 

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #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?

    #466593

    Hey 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!
    Yigit

    #467371

    Very 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

    #468039

    Hi!

    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,
    Yigit

    #503727

    Is 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 entries

    for example.

    #503750

    Hey!

    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

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.