Skip to main content
added 106 characters in body
Source Link

Any ways I could show Custom Post Type's Content with such URL? E.g: (www.mydomain.com/view-promotion/christmas-promotion)

  • view-promotion is page name
  • christmas-promotion is the custom post type's post name

Currently this URL (www.mydomain.com/view-promotion/christmas-promotion) is automatically changed to (www.mydomain.com/promotion/christmas-promotion) where (promotion) is the post_type.

I am trying to have the view-promotion (Page Template) to show content by using custom post type name.

Any ways I could show Custom Post Type's Content with such URL? E.g: (www.mydomain.com/view-promotion/christmas-promotion)

  • view-promotion is page name
  • christmas-promotion is the custom post type's post name

Currently this URL (www.mydomain.com/view-promotion/christmas-promotion) is automatically changed to (www.mydomain.com/promotion/christmas-promotion) where (promotion) is the post_type.

Any ways I could show Custom Post Type's Content with such URL? E.g: (www.mydomain.com/view-promotion/christmas-promotion)

  • view-promotion is page name
  • christmas-promotion is the custom post type's post name

Currently this URL (www.mydomain.com/view-promotion/christmas-promotion) is automatically changed to (www.mydomain.com/promotion/christmas-promotion) where (promotion) is the post_type.

I am trying to have the view-promotion (Page Template) to show content by using custom post type name.

edited tags
Link
Pieter Goosen
  • 55.4k
  • 23
  • 115
  • 209
Source Link

Custom Wordpress URL

Any ways I could show Custom Post Type's Content with such URL? E.g: (www.mydomain.com/view-promotion/christmas-promotion)

  • view-promotion is page name
  • christmas-promotion is the custom post type's post name

Currently this URL (www.mydomain.com/view-promotion/christmas-promotion) is automatically changed to (www.mydomain.com/promotion/christmas-promotion) where (promotion) is the post_type.