Skip to:
Content
Pages
Categories
Search
Top
Bottom

Adding pages and slugs

  • Avatar of tdepole
    tdepole
    Participant

    @tdepole

    I want to add a page that is tied to a user’s profile page. I noticed that URL structure works like this

    `http://site.com/members/{user_name}/profile/change-avatar/`
    will use the template file located
    `theme_root/members/single/profile/change-avatar.php`

    Is there a way to add another custom template and slug like this
    `http://site.com/members/{user_name}/profile/edit-bio/`
    will use the template file located
    `theme_root/members/single/profile/edit-bio.php`

Viewing 1 replies (of 1 total)
  • Avatar of @mercime
    @mercime
    Keymaster

    @mercime

    You would want to look at how creating pages, slugs, along with front-end posting are done within the member’s profile section in theBuddyBlog plugin. It’s a bit more than what you need, but you’ll get the drift when you look at the code.

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.