Title: Full width post template
Last modified: July 29, 2020

---

# Full width post template

 *  Resolved [jordkellett](https://wordpress.org/support/users/jordkellett/)
 * (@jordkellett)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/full-width-post-template-2/)
 * Hi
 * I’ve created a custom post type for “training” and would like to pull in a generic
   page template rather than the blog template which will not allow me to remove
   elements such as the page title and sidebar.
 * I’m currently running salient as my main theme on this website.
 * I’d appreciate and help that can be provided on this matter.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ffull-width-post-template-2%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Contributor [Michael Beckwith](https://wordpress.org/support/users/tw2113/)
 * (@tw2113)
 * The BenchPresser
 * [5 years, 10 months ago](https://wordpress.org/support/topic/full-width-post-template-2/#post-13186038)
 * Hi [@jordkellett](https://wordpress.org/support/users/jordkellett/)
 * This is not anything that we have any UI/settings created for, but I know it’s
   possible as a whole if you’re willing to do a little bit of grunt work for it.
 * First up is [https://make.wordpress.org/core/2016/11/03/post-type-templates-in-4-7/](https://make.wordpress.org/core/2016/11/03/post-type-templates-in-4-7/)
   on how to set a template file as being available for the sidebar dropdown selection
   like you probably recognize from pages.
 * I would suggest probably duplicating the archive.php file from your hopeful parent
   theme into your child theme. Then add the extra parts from the link above to 
   it. Lastly, you’ll need to edit that archive.php file to remove the parts you
   don’t want. Based on the thread title, I assume you don’t want a sidebar for 
   this one, so that’d be the first thing to remove. You’ll also likely need to 
   add some extra CSS to make the markup in this new template file stretch to 100%
   of the content area.
 * I can’t say how easy or hard this will be as I’m not familiar with the Salient
   theme.
 * Hopefully this provides some ideas though, to get you going.

Viewing 1 replies (of 1 total)

The topic ‘Full width post template’ is closed to new replies.

 * ![](https://ps.w.org/custom-post-type-ui/assets/icon-256x256.png?rev=2744389)
 * [Custom Post Type UI](https://wordpress.org/plugins/custom-post-type-ui/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/custom-post-type-ui/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/custom-post-type-ui/)
 * [Active Topics](https://wordpress.org/support/plugin/custom-post-type-ui/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/custom-post-type-ui/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/custom-post-type-ui/reviews/)

## Tags

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

 * 1 reply
 * 2 participants
 * Last reply from: [Michael Beckwith](https://wordpress.org/support/users/tw2113/)
 * Last activity: [5 years, 10 months ago](https://wordpress.org/support/topic/full-width-post-template-2/#post-13186038)
 * Status: resolved