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

    Hi, i want to use Post Formats in my posts and was wondering how Enfold supports them…

    For example, how can i add my own templates to my child theme and where do i get the code from (Enfold files)?

    Also, unrelated: how do i disable the Portfolio post type?

    Thanks

    #771731

    Hey helderluis,

    Please refer to this post – https://codex.wordpress.org/Post_Types.
    You can copy enfold/single-portfolio.php file and enfold/includes/loop-portfolio-single.php files to your child theme and modify those files

    Best regards,
    Yigit

    #772366

    Hi, my main question was about POST FORMATS and not POST TYPES.

    I want to customise the Posts Formats available to choose form in the “Format” panel while editing a post:

    Format:

    • Standard
    • Link
    • Quote
    • Gallery
    • Video
    • Image
    • Audio

    My question is… does Enfold supports them? And if so where can i customise it’s templates?

    #772373

    Hi,

    Sorry, misread.
    Please add following code to Functions.php file of your child theme in Appearance > Editor

    add_action( 'after_setup_theme', 'av_new_post_formats', 11 );
    function av_new_post_formats(){
    	add_theme_support( 'post-formats', array('link', 'quote', 'gallery','video','image','audio', 'chat', 'status' ) );
    }

    Best regards,
    Yigit

    #772413

    OK, did that and that solved part of the problem that was… how to remove some Post Formats i don’t need. Thanks.

    Now, where can i customise the layout of each of the Post Formats?
    I’ve been pocking around the helper-post-format.php file but i’m not sure if that’s the right place.

    #772421

    Hey!

    You can simply remove post formats you would not like to use from the code i posted above.

    Yes, you should modify helper-post-format.php. Unfortunately such customization would be out of the scope of our support. If you need further assistance, please consider to hire a freelancer for the task :)

    Regards,
    Yigit

    #772423

    OK

    Thanks!

    #772425

    Hey!

    You are welcome!

    For your information, you can take a look at Enfold documentation here – http://kriesi.at/documentation/enfold/
    And if there are features that you wish Enfold had, you can request them and vote the requested ones here – https://kriesi.at/support/enfold-feature-requests/
    For any other questions or issues, feel free to post them here on the forum and we will gladly try to help you :)

    Best regards,
    Yigit

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Post Formats’ is closed to new replies.