What’s the difference between Portfolio Entry and Avia Framework post_types? Thanks!
Hi 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,
Ismael
Ismael, 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.
Hey!
Avia Framework post_type
is implemented in a similar way to Posts post_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_type
in your custom code and page templates, please consult the following examples on this page http://codex.wordpress.org/Post_Types
Cheers!
Arvish
Arvish, I just want to know where is the Avia Framework post_type is being used, i.e. Layerslider?
Hey!
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
Thanks guys!
You are welcome, glad we could help :)
Regards,
Josue