Skip to:
Content
Pages
Categories
Search
Top
Bottom

Adding pages and slugs


  • 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)

  • @mercime
    Participant

    @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)
  • The topic ‘Adding pages and slugs’ is closed to new replies.
Skip to toolbar