Viewing 1 reply thread
  • Author
    Posts
    • #1416
      Jason
      Keymaster

      A practice I have is to have a list of definitions in my theme/functions.php for things like post types, taxonomies, etc.. For example:
      define ('PROJECT_TYPE', 'projects');

      That way, if there’s any issue, I can quickly change the custom post type access name in one place. No problem. With Piklist, however, this doesn’t work. When making a metabox, for example, the post types are listed in the “Post Type” meta of the comments, and the values are taken literally.

      It would be great to have a constant syntax, something like:
      Post Type: {PROJECT_TYPE}, {ANOTHER_TYPE}

      Thanks!

    • #1419
      Kevin
      Keymaster

      Jason-

      I like the idea, we will add it to our discussions!

      Thanks,

      Kevin

Viewing 1 reply thread
  • You must be logged in to reply to this topic.