Forums

Custom theme-specific URLs (1 post)

  1. Mat Pinheiro
    Member
    Posted 1 year ago #

    I'm developing a WordPress theme and I need to have a custom URL for some kind of content.

    For example, I need to have a page to show some article details. Now, i've created a page template called "Article", and so i've to create a new page and give it the page template "Article" (I get the url http://mydomain.com/article?id=123) It works fine, but now i'm having dozens of this pages, and it's a mess to create them all on every installation of this theme, so i want to do it in my theme code.

    I saw something near that on BuddyPress, where you can use /member/ and it redirects to a member page. I just wanna know how to do so.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags