Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #391085

    Hi Guys – I did a bit of searching before I decided to use your theme for this. I’d like to add custom post types to my site runnning the Enfold theme.

    I have 2 custom post types
    1. Places
    2. People

    I’d like the to have the places archive feed using this Enfold blog template
    http://awesomescreenshot.com/01f4cbxndf

    I’d like to have the People archive feed using this Enfold blog template
    http://awesomescreenshot.com/0db4cby21e

    Can you let me know if this is possible?

    Also I’d like to include the Avia Layout Editor in the Custom Post Types.

    Cheers

    #391614

    Hi ShortieD!

    See here for getting our settings to display on custom post types, https://kriesi.at/support/topic/add-builder-to-other-custom-post-types/.

    And try adding this to the bottom of your functions.php file for the archive layouts.

    add_filter( 'avf_blog_style', 'enfold_customization_archive_style' );
    function enfold_customization_archive_style( $style ) {
    	if ( is_post_type_archive( 'people' ) ) { $style = 'multi-big'; }
    	if ( is_post_type_archive( 'places' ) ) { $style = 'single-small'; }
    	return $style;
    }

    Cheers!
    Elliott

    #392866

    Thanks Elliott – I will give this a go and let you know how ti turn out. cheers

    #392868

    Thanks Elliott – brilliant this almost works – I just want to :
    – get rid of the author avatar next to the post on the ‘places’ archive -have a look here.
    – how do I change the title ‘archives’ to Places?

    see page here
    http://sdtest.info/ntq/places/

    Cheers

    #393047

    Hi!

    Please add following code to Quick CSS

    .post-type-archive-places .blog-meta, .post-type-archive-places .post_author_timeline {
    display: none;
    }

    Best regards,
    Yigit

    #393052

    Hi!

    To change the archive title add at the bottom of functions.php:

    
    add_filter('avf_which_archive_output', 'my_avf_which_archive_output', 10, 1);
    
    function my_avf_which_archive_output ($output)
    {
    	if ( is_post_type_archive('places') ) $output = 'Places';
    	
    	return $output;
    }
    

    Try to use the following, if the code above does not work:

    
    .archive .blog-meta {
        display: none !important;
    }
    
    or if you want it only on places archive
    

    .post-type-archive-places .blog-meta {
    display: none !important;
    }
    `

    Best regards,
    Günter

    #394120

    For this one

    .post-type-archive-places .blog-meta, .post-type-archive-places .post_author_timeline {
    display: none;
    }

    It worked and I also added

    .big-preview {
    padding: 0 50px 10px 0px;
    }

    to make the featured image flush against the left of the page

    – the code to replace Archives worked and I also added this for the other Custom Posts types to=.

    Thanks guys

    #394252

    Hey!

    Glad we could help you. Enjoy the theme.

    Best regards,
    Günter

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Custom post types to look like small and large Enfold Blog feed’ is closed to new replies.