-
Creating Post Creation Links to Custom Post Types
WordPress has an awesome feature that allows users to create an unlimited amount of custom post types to publish all different types of content. One example on the UK site is the Codex, our knowledge base powered by the Encyclopedia Pro plugin. We want users with authoring privileges to be able to post new articles to the Codex, but this isn’t possible from the default post-creation page.
This page was helpful in discovering how to form links that would publish to the encyclopedia custom post type. The link syntax is like:
/wp-admin/post-new.php?post_type=your_custom_post_type
Where “your_custom_post-type” is replaced with the slug of your custom post type. Find this slug by creating that type of post in the back end and looking in the URI in your browser.
Sorry, there were no replies found.
Log in to reply.