-
AuthorPosts
-
October 9, 2014 at 1:36 pm #333195
What’s the difference between Portfolio Entry and Avia Framework post_types? Thanks!
October 10, 2014 at 7:36 am #333709Hi David!
Thank you for using Enfold.
Are you referring to the Portfolio Items? This is a custom post type. If you want to know more about the subject, please refer to wp codex: http://codex.wordpress.org/Post_Types
Best regards,
IsmaelOctober 10, 2014 at 3:47 pm #333883Ismael, thanks for the reply. I understand post types. I wanted to see how Avia Framework post_type is used since it appears when assigning a post type.
October 12, 2014 at 6:58 pm #334536Hey!
Avia Framework
post_typeis implemented in a similar way to Postspost_type.For example, the portfolio post type in Enfold is named “portfolio” and is declared in ~/themes/enfold/includes/admin/register-portfolio.php
To learn how to use
post_typein your custom code and page templates, please consult the following examples on this page http://codex.wordpress.org/Post_TypesCheers!
ArvishOctober 12, 2014 at 9:34 pm #334550Arvish, I just want to know where is the Avia Framework post_type is being used, i.e. Layerslider?
October 13, 2014 at 4:36 am #334606Hey!
I see what you are referring to, here’s a explanation on that custom post type purpose:
* Create a hidden post type that allows us to save the template snippets to a post that cant be deleted.
* Prevents accidental removal and also helps when exporting/importing data since post meta data is stored in the wordpress xml, other than the options table/config-templatebuilder/avia-template-builder/php/storage-post.class.php
Regards,
Josue-
This reply was modified 11 years ago by
Josue.
October 13, 2014 at 7:49 am #334679Thanks guys!
October 13, 2014 at 8:15 am #334691You are welcome, glad we could help :)
Regards,
Josue -
This reply was modified 11 years ago by
-
AuthorPosts
- You must be logged in to reply to this topic.
