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

    What’s the difference between Portfolio Entry and Avia Framework post_types? Thanks!

    #333709

    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

    #333883

    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.

    #334536

    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

    #334550

    Arvish, I just want to know where is the Avia Framework post_type is being used, i.e. Layerslider?

    #334606

    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

    • This reply was modified 10 years, 2 months ago by Josue.
    #334679

    Thanks guys!

    #334691

    You are welcome, glad we could help :)

    Regards,
    Josue

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.