Support » Plugin: Text Control » Adding to custom post

  • Hi Frank
    Can I use the code below in your plugin to add the functionality to a custom post?

    add_meta_box('textcontroldiv',__('Text Control', 'textcontrol'),'tc_inside_the_textcontrol_box','my_custom_post','advanced');

    Or perhaps it would be better to add somewhere else code that would replace the function tc_add_custom_box?
    In the theme’s functions.php?


Viewing 1 replies (of 1 total)
  • Plugin Author Frank Bueltge


    Currently is the plugin not ready for CPT, but you can enhance this with your custom code. Maybe I will release a new version with a option for custom post type.

    Use a custom plugin, not the functions.php of the theme – is not fine, but it works.

Viewing 1 replies (of 1 total)
  • The topic ‘Adding to custom post’ is closed to new replies.