Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Raymond Hill

    (@waterstar)

    Figured out a solution…

    From what I was able to gather, even if the user has the capability to create new custom posts, if there isn’t a link in the admin submenu than wordpress will prevent the user from doing so.

    So, while show_in_menu adds a link for listing the existing custom posts, it doesn’t add a link to add new custom posts.

    [Code moderated as per the Forum Rules. Please use the pastebin]

    I hope this helps someone else out… sorry if it isn’t the clearest way of explaining things.

    I’m not sure of a way to do it using custom post types alone. But a mix of pages and posts could be as follow:

    A main page for branches that is /branches/
    Subpages for each branch /branches/london/

    Custom post type “Case Studies” would need hierarchical set to true. You’ll also need to set supports to include “page-attributes”.

    Then each time you add a case study you’ll be able to attach it to a branch page.

    Just a thought, I’m no pro at this. Just learning myself.

Viewing 2 replies - 1 through 2 (of 2 total)