The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Showing products from another DB using WP-Permalinks and PageTemplate? (1 post)

  1. chinesedom
    Posted 3 years ago #

    Hi guys,

    would love to get your help with this.

    My IS situation:
    So I have my users create their own product. Lets say its an outfit containing a tie, a shirt and a shoe. I allow them to save this outfit. My script saves the picture and some more info about the outfit in a database which is not connected to wordpress. In my DB each outfit has it own unique ID. It also has a name.

    My TO BE situation:
    Firstly I want the name and ID in that outfit to be put into the URL.
    So I the user will be able to link to his newly created outfit.
    The desired URL schema is:
    or :
    Secondly I want to use wordpress page- or post-templates to display the outfit picture.

    - I dont want to create a page/post for each outfit.
    - Each outfit is not stored as a page or post in wordpress database.

    What I did find so far:
    I found a mod rewrite tool http://www.generateit.net/mod-rewrite/
    I read those http://codex.wordpress.org/Function_Reference/register_post_type
    and http://codex.wordpress.org/Template_Hierarchy docs but dont get anywhere.

    Any tips?

Topic Closed

This topic has been closed to new replies.

About this Topic