No custom template is necessary.
Copy sidebar-primary.php
to your child theme. Change first line to:
if ( is_page_template( 'templates/full-width.php' ) || is_single() ) {
Go to Customize -> Additional CSS, and add:
.single-post #main {
width: 100%;
float: none;
}
Done.
Related Posts:
- custom single.php not working
- How to display different single post template based on author?
- Custom Post Templates
- How to save template data into wp_post table (post_content column)
- 1 post, 2 templates
- How to detect single.php (but not single-portfolio.php)?
- Post/Page Preview Template
- Custom Single Post By Category
- Using single.php from plugin folder instead of default template folder
- How to get Images included in Post
- Custom permalink structure only for default posts
- Related Posts by Multiple Tags?
- How do I create a link that will always show the latest post?
- My ‘post attributes’ is missing from my WordPress install
- posts page – different lengths of excerpt
- Post X of Y in single.php / sidebar.php
- HTML code in Custom field
- Forcing oembeds to top of post
- Accessing $post variable from template part
- How to have different content in the loop and single
- Single.php Active Category Class
- how to show all post in my page-grid.php template page
- Use template of parent category for single post sub-categories
- loop not displaying posts on custom template page
- How to add shortcode tags in single.php [closed]
- get_terms parent for current product only
- Including text at the end of every post
- Adding variable for post title so post template can include auto-generated link to view on external website.com/{post title}
- How only display all post related to category
- Is it possible to have two different previews of a post (ie. two templates for one post)?
- how load content as pop-up using ajax
- Disable single post page
- how to know if the post has pagination () or not
- Remove arrows from previous and next link
- Display page content AFTER a loop of posts
- Different template for posts of all subcategories of category
- “next_posts_link” and “previous_posts_link” display me NOTHING
- How to disable single post view in wp
- Add code just after Post content
- Single post as homepage?
- Pagination on single post page?
- Templating of a specific post ID
- Restrict post navigation to current sub menu
- Category Template: Need to display different content on first page of archives
- Change post_date to post_modified date on post template?
- Can’t get the_content of the parent page from its single post?
- What part of template to edit to remove category name from the top of posts?
- Show all posts in sidebar in single.php
- How can I pass the ID of a post to a page template by clicking a url?
- How to show single post page as home page
- Using wp_list_categories like the the_category (showing just current categories of a post)
- How can I make a post that belongs to a category or have specific tags, display different from the other single posts?
- Display all posts that were published before full post on single.php
- Using custom post template
- What is the filter or hook to add admin controls to posts on the front end?
- Setting posts_per_page for taxonomy term template
- Switch to page template when using post permalink
- Genesis + Ajax + Jquery | Failling to call action
- Add Read More Tag to a post content (Single.php)
- Get Page ID of blog homepage
- Send post id through ajax and get the post content back
- If in_category not working for multiple single.php pages
- custom post template file not shown, instead all the time 404.php
- How to create new post content templates for my users?
- Single.php – Get Current Parent Category
- How to create a template for Pages?
- How do I stop the loop from repeating in my category template?
- Insert sometext after first h3 in content
- posts not showing on index.php
- Thumbnail Image to go in the post aswell
- Add get_the_tags() to Single Posts section via functions.php
- Is it possible to customize the post according to post format in single.php?
- Multiple comment forms on a single page
- Hide a specific post from a page template
- Tell WP to use a specific template file in posts
- Post type no single page
- How to make different custom post layouts?
- Single Post in Tab/Slider
- Why won’t pagination work?
- Is it possible to give the user the chance to select between two single template files to use in a post?
- Create a custom posts page
- how to set social icons to product / post template (Auros theme)? [closed]
- How to identify and hide/remove an element from a WordPress page [closed]
- wordpress posts template remove default template from menu
- Force a specific template as default
- Defined function isn’t showed on page
- showing posts of an specific category in admin custom menu with style of admin posts section
- get_previous_post() while accounting for sticky posts
- Give posts a particular template based on the assigned category
- Display a post via template
- Single post full screen template not inheriting WordPress role permission
- How to set a certain Custom Template to a Single Blog Post
- List all native posts in template page?
- Sidebar on single.php not showing up
- How to Featured content with images in home page?
- wp-link-pages in header and footer of the post
- Post Templates and Post ID’s
- How do I disable the “by author” hyperlink on posts?
- Trying to query all posts in category 4
- Changing wp_link_pages() to “Next Page” and “Previous Page” buttons?