WordPress.org

Ready to get started?Download WordPress

Forums

Custom Post Type UI
[resolved] Set up 'pseudo' directories (2 posts)

  1. snewdel
    Member
    Posted 1 year ago #

    0 down vote favorite

    I apologize if this has been answered, but I wasn't able to formulate my question to get a search hit.

    I have a WP install residing in a root, i.e. http://mydomain.com. There is a small set of pages related to my Iphone app. I am working on the Android version and am trying to anticipate how I will need to structure the website to promote the Android version when it launches.

    Even though WP is in the root, I would like the links to be mydomain.com/apps/iphone/screenshots vs mydomain.com/screenshots as they are now, so that in the future I can have /mydomain.com/apps/android/screenshots without needing to maintain 2 separate installations of WP.

    In addition, I am using the WPML plug-in to localize the site, and that does its own magic by prepending a country specific sub-directory to the URL query's tail.

    I am quite experienced with WP, but haven't had a scenario like this before.

    It looks like this plug-in is exactly what I need, but I am having issues using it to model what I want.

    Do I first create a taxonomy called 'apps/iphone-ipad' or 'apps' and a child 'iphone-ipad' and then add a custom post type?

    Thanks for any help!

    Stan
    Thank you!

    http://wordpress.org/plugins/custom-post-type-ui/

  2. Michael Beckwith
    Member
    Plugin Author

    Posted 1 year ago #

    Not quite sure how I'd go about this. I know that our plugin simply does the registering for the post types/taxonomies. However, what you do with them after that is up to the user.

    That said, I think to accomplish what you'd need, it'd be a case of either hierarchical post types, so that you could get parent/child relationships going, or fiddling with the Rewrite API. It also could potentially be done via your mention of taxonomies as well. I can't say for certain one way or another without actually trying to solve it.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.