-
AuthorPosts
-
March 30, 2017 at 11:36 am #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
April 4, 2017 at 1:13 pm #771731Hey 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 filesBest regards,
YigitApril 5, 2017 at 10:24 am #772366Hi, 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?
April 5, 2017 at 10:34 am #772373Hi,
Sorry, misread.
Please add following code to Functions.php file of your child theme in Appearance > Editoradd_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,
YigitApril 5, 2017 at 11:23 am #772413OK, 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.April 5, 2017 at 11:38 am #772421Hey!
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,
YigitApril 5, 2017 at 11:39 am #772423OK
Thanks!
April 5, 2017 at 11:44 am #772425Hey!
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 -
AuthorPosts
- The topic ‘Post Formats’ is closed to new replies.