Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #341581

    Hi there,

    Firstly, once I’ve created a preferred blog template how do I turn that into the default post layout? I’m not sure what to do.
    Secondly, is it possible to choose for a particular side bar to show with a blog post that’s in a certain category?

    I’m using the enfold theme for a directory. It’s worked great so far but falls down when viewing ‘archived posts’ and posts themselves as the default blog sidebar is used.

    Would you consider making this more controllable in future Enfold versions, if this isn’t possible at the moment?

    Also, is it not possible for images to change size automatically to the default post image header size?

    Thanks,

    #342574

    Hi Krissie!

    1. To use a custom blog layout template, simply save your file as single-(post-type).php.
    For reference:
    http://codex.wordpress.org/Post_Type_Templates
    http://codex.wordpress.org/Template_Hierarchy

    2. For sidebars for particular posts in certain categories, create a page for the post, add the blog post using Avia Layout Builder, add a Dynamic Sidebar using Widget Area.

    Alternatively, you can look into third-party plugins.
    E.g https://wordpress.org/plugins/wp-custom-post-template/

    You can also vote for or post a feature request on our feature request page https://kriesi.at/support/enfold-feature-requests/.

    3. With regards to images, you can change image size on functions.php, find this code

    $avia_config['imgSize']['widget'] 		= array('width'=>48,  'height'=>48 );		// small preview pics eg sidebar news<br />
    $avia_config['imgSize']['related'] 		= array('width'=>128, 'height'=>80);		// small images for related items<br />
    $avia_config['imgSize']['portfolio'] 	= array('width'=>208, 'height'=>125);		// small preview pic for default portfolio (4 columns )<br />
    $avia_config['imgSize']['portfolio2'] 	= array('width'=>448, 'height'=>260);		// medium preview pic for 2 column portfolio and small 3d slider<br />
    $avia_config['imgSize']['portfolio3'] 	= array('width'=>288, 'height'=>170);		// medium preview pic for 3 column portfolio<br />
    $avia_config['imgSize']['page'] 		= array('width'=>608, 'height'=>200);		// image for pages and one column portfolio<br />
    $avia_config['imgSize']['featured'] 	= array('width'=>928, 'height'=>350);		// big images for fullsize pages and fullsize 2D & 3D slider<br />
    $avia_config['imgSize']['portrait'] 	= array('width'=>340, 'height'=>390);		// medium preview pic for portrait pictures

    You need to regenerate thumbnails once you edit the thumbnail sizes.

    Regards,
    Arvish

    #342646
    This reply has been marked as private.
    #343858

    Hi!

    Thank you for the info. Edit the post then look for Layout > Sidebar Setting. Select the widget area with the mentor search options. The category pages work as a default archive page. You can’t create pages for specific categories unless you removed any instances of the default category links and create your own category navigation. Honestly, we haven’t tested the plugin. Please contact the plugin author for more info.

    Best regards,
    Ismael

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