Support » Plugins » Hacks » Extend Custom Post Types

  • Hi guys,

    I purchased a theme from some provider. It came per-packaged with a few custom Custom Post Types.

    My Questions: Without editing the plugins or exporting theme from the:
    wp-content/themes/purchasedtheme/includes/some-cpt.php

    1. Is there a way to extend the Custom Post Types from the functions.php file?
      • I basically want to add additional meta fields to the custom post types and also add dashicons. Can I do that in a functions.php away from the included Custom post types? It it good practice?.

    I do not want to move theme from their current location for the sake of the theme. I might have to update the theme and if I die, perhaps the next person may not understand what I did.

    If there

Viewing 1 replies (of 1 total)
  • Hello @archie22is,

    I see you want to add custom fields for the existing custom post types probably without writing any codes hacks. If am right then you can adopt some third party plugin to add those field from out-of-the-box .

    One of the popular plugin for this is Advance Custom Fields . You can conditionally create and assign the fields on various registered post types that you have.

    Hope this helps resolving your query.

    Thanks

Viewing 1 replies (of 1 total)
  • The topic ‘Extend Custom Post Types’ is closed to new replies.