Title: the wordpress way
Last modified: August 22, 2016

---

# the wordpress way

 *  [Robbert89](https://wordpress.org/support/users/robbert89/)
 * (@robbert89)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/the-wordpress-way/)
 * Hello all,
 * My name is Robbert (from Holland) and i am kind of new to WordPress.
    When i 
   started building my first WordPress theme i encountered the follow problem.
 * [ILLUSTRATION OF MY PAGE](http://s10.postimg.org/fl6g9h7i1/expl_dub_slug.png)
 * What is the right way to build this page in WordPress without using double slugs
   and without using any hard-coded content, widgets or plugins?
 * Cant seem to figure out what the “WordPress way” is to do this.
 * Can anyone tell me how to solve this?

Viewing 5 replies - 1 through 5 (of 5 total)

 *  [catacaustic](https://wordpress.org/support/users/catacaustic/)
 * (@catacaustic)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/the-wordpress-way/#post-5417478)
 * You can [create your own theme](http://codex.wordpress.org/Theme_Development),
   and make it look like whatever you want it to.
 *  Thread Starter [Robbert89](https://wordpress.org/support/users/robbert89/)
 * (@robbert89)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/the-wordpress-way/#post-5417521)
 * I understand, but how do i prevent the use of double slugs?
    I made a setup of
   a page where i use custom post type and some orther dynamic content. The problem
   here is that my CPT and my Page use the same slug.
 *  [catacaustic](https://wordpress.org/support/users/catacaustic/)
 * (@catacaustic)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/the-wordpress-way/#post-5417533)
 * You can’t avoid that. If you have a post that uses `this-page-name` and a post
   that uses `this-page-name` you can’t have them the same because you can’t have
   two URL’s the same. Just to say, but a custom post type should have and use it’s
   own URL structure, like if your CPT is called as `foocpt` the URL woudl be `/
   foocpt/page-name`.
 *  Thread Starter [Robbert89](https://wordpress.org/support/users/robbert89/)
 * (@robbert89)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/the-wordpress-way/#post-5417652)
 * Ok, i understand.
    But then, how do i build a page like [this](http://s10.postimg.org/fl6g9h7i1/expl_dub_slug.png)
 * Most of the times you need dynamic text and a CPT on the same page.
    That must
   be possible to do right?
 *  [catacaustic](https://wordpress.org/support/users/catacaustic/)
 * (@catacaustic)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/the-wordpress-way/#post-5417667)
 * It is. And there’s a few ways of doing it. You can add text content using the
   standard editor in your CPT, or add in another editor (or plain text) area and
   save that with the CPT, or you can set up a template file that drags in the required
   info, or you can set up a shortcode to display the info… and that’s just what
   I can think of off the top of my head.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘the wordpress way’ is closed to new replies.

## Tags

 * [slugs](https://wordpress.org/support/topic-tag/slugs/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 2 participants
 * Last reply from: [catacaustic](https://wordpress.org/support/users/catacaustic/)
 * Last activity: [11 years, 8 months ago](https://wordpress.org/support/topic/the-wordpress-way/#post-5417667)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
