• I want to create a custom public profile page for my shop customers. Has anyone done this before who can assist me please? I’ve searched MANY sites but to no avail. Any support would be much appreciated!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator bcworkz

    (@bcworkz)

    I haven’t done this specifically, but I’m sure I can come up with a solution. The specifics depend on who creates and maintains these pages and how they would be accessed in your site. You could simply write a bunch of posts or pages and assign a particular category so all profiles can be listed together as a sort of directory. No hacking required.

    Another possibility would be to use the existing author profile system, except in this case your customers would be authors that cannot actually create any posts or pages, but they can edit their profile. Minimal hacking to create a new author-like role with few capabilities.

    If you have more specific needs, things could get more involved.

    Thread Starter romualdv

    (@romualdv)

    I’ll explain in a bit more detail.

    The site is actually a wedding registry where clients register, create a wishlist of items and then a guest viewer will be able to buy items for specific couple’s registries.

    So basically it will be the guests (non registered visitors) who must be able to do a quick search for a couple’s registry and when found, click on it and be redirected to a little public profile page of the couple with only a profile pic, welcome message and a concatenated field of user_firstname . ” & ” . partner_firstname.

    I’ve created a profile page but its only for a logged in user – I dont know how to make it public. I have some code that I was working on if you would like to see? Just dont think it’s nicely done…

    Thread Starter romualdv

    (@romualdv)

    oh sorry – forgot to mention – this should be a dynamic profile page – I dont want to manually create a page for each new customer…

    Moderator bcworkz

    (@bcworkz)

    I don’t need the actual code, a summary of what it does would suffice. If you’d rather post the code than write a summary, that’s fine too. What you had in mind is all I’m looking for.

    Then again, taking a fresh look with no preconceptions can be good too. While some questions remain, my initial thought is to create a custom post type. You could work with the default post if this is the only content of the site. Either way, the underlying template and corresponding edit page can be set up so the necessary information can be easily entered and properly presented.

    A nice hack would be to auto-title the post with the couple’s first names, though handling duplicate titles could get ugly… multiple “Mark & Susan” couples end up with slugs like “mark-susan3”.

    There will be all sorts of details like that. Probably all will have reasonable solutions. The biggest challenge I see is how to easily populate the wish list. That would depend on where the items are coming from of course.

    As for the profile being visible to only logged in users, I don’t think it it’s worth fighting that one. The information presented there can easily be replicated on a front end template, such as the one for my CPT.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Custom public profile page’ is closed to new replies.