Support » WordPress Mobile App » implement custom post types

  • glamglowing16

    (@glamglowing16)


    How can you implement custom post types and taxonomies within the WordPress mobile app, ensuring they are fully functional and editable from the app interface?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hello @glamglowing16

    I assume you are using the WordPress mobile app to manage a self-hosted WordPress site, and not one hosted on WordPress.com?

    To implement custom post types on a self-hosted site, you either have to create them yourself using PHP and the register_post_type function, or there are plugins that you can install on your WordPress site, that will allow you to create custom post types.

    You can find them by searching the plugin repository here for the keywords custom post types

    https://wordpress.org/plugins/search/custom+post+types/

    Hello @glamglowing16

    Certainly, implementing custom post types and taxonomies within the WordPress mobile app while ensuring full functionality and editability from the app interface involves a series of steps and considerations. Here’s a professional guide on how to achieve this:

    1. Understand Custom Post Types and Taxonomies: Before implementing custom post types and taxonomies, it’s crucial to have a clear understanding of what they are and how they work in WordPress. Custom post types are content types other than posts and pages, while taxonomies are used for categorizing content within these custom post types.
    2. Plugin Selection: Start by selecting a suitable plugin for creating custom post types and taxonomies. Popular choices include “Custom Post Type UI” and “Pods.” Install and activate the chosen plugin on your WordPress site.
    3. Creating Custom Post Types: Using the selected plugin, create your custom post types. Define the labels, capabilities, and other settings according to your specific requirements. Ensure that the custom post types are public and show_in_rest is set to true to make them accessible via the REST API, which the mobile app uses.
    4. Defining Taxonomies: After creating custom post types, define the taxonomies associated with them. Taxonomies can be hierarchical (like categories) or non-hierarchical (like tags). Set up labels, capabilities, and other taxonomy parameters as needed.
    5. API Configuration: To enable full functionality and editability from the mobile app, make sure your custom post types and taxonomies are registered with the WordPress REST API. Many custom post type plugins handle this automatically. Ensure that the API routes are correctly configured for your custom content.
    6. Testing and Validation: Before proceeding, thoroughly test your custom post types and taxonomies to ensure they are functioning as expected. Verify that they can be accessed, edited, and deleted using REST API requests. Also, check their display in the WordPress mobile app to confirm they are fully integrated.
    7. Security Considerations: Pay attention to security when implementing custom post types and taxonomies. Ensure that the necessary authentication and authorization mechanisms are in place to protect your content.
    8. User Training: If you have a team of users who will be using the mobile app to manage custom content, provide them with training and documentation on how to work with custom post types and taxonomies within the app.
    9. Maintenance and Updates: Regularly update your custom post type and taxonomy configurations as your site evolves. Stay informed about plugin updates and WordPress updates to ensure compatibility and security.
    10. Documentation: Document the custom post types and taxonomies you’ve created, along with any specific configurations, for reference and troubleshooting.

    If I understand the question correctly, the OP is looking for custom post type support within the app rather than how to create them on a website.

    Unfortunately, CPTs are not currently supported in the app. I have looked for the iOS app repo on GitHub to log a feature request and haven’t found one. The best workaround I can point you to is using a mobile browser.

    The best place to submit feature requests depends on which device you are using. There are different Github Issue Trackers for the WordPress iOS app and WordPress Android app.

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