In order to accomplish this you will need to also create a separate page template to use. You may need to double check your template head information.
Example:
<?php
/*
* Template Name: Your Template name
*/
?>
This has to be put at the top of the page template. Then within the custom page template you will need to call the custom sidebar that you have.
You will need to put this in the template where you want your sidebar to go:
<?php
if ! dynamic_sidebar( 'ourPat Sidebar' ) ) :
?>
You need to add widgets for items to show in this area. To add for this area add widgets to "ourPat Sidebar".
<?php
endif;
?>
Related Posts:
- Custom Post Type Data in Sidebar widgets?
- Including Custom Post Types in “Recent Posts” Widget
- Including Custom Post Type posts in a page template contextually (or should I widget?)
- Random image from tag/custom type on sidebar
- Adding sidebar to template creates horizontal gap the size of the side bar
- Filter widget outputs
- How to exclude categories from a sidebar with active widgets in it?
- Replace Content of Sidebar on Custom Post Type
- How do I get the posts from single page custom post type from a sidebar to display in a page?
- Show Custom Post Type meta boxes only on Page Edit
- Adding the_content() in custom template email
- Creating a Page Template to display all items from a Custom Post Type
- Why does my content disapear when I make a page to match an archive name?
- Can you target a widget_class in a register_sidebar?
- Custom Post Type Template Alternative
- General advice on addressing content-centric pages
- Set Custom Post Type in Widget Settings for use in Widget
- Fields for different parts of a page
- Copy Widget Settings because of changed IDs
- next_/previous_post_link() `in_same_category` appears to fail when true
- Multiple templates for single custom post type
- Want to be able to sign up subscribers as authors
- How do you create a custom template to display a category with an image and related posts below?
- WordPress Custom Search by post_type
- Pages Become “Archive” Instead of Using Page Template
- How can I set the page template of a new custom post type post?
- Custom post type pages return 404 page?
- Multiple single templates?
- Custom Sidebar only on single post
- Add #sidebar-2 to a custom page template
- the_post_thumbnail call removing li in code
- Custom URL redirect in WP
- how to set a WP Plugin’s url
- WordPress Picks Up Wrong Template for Custom Post Type Archive Page
- Associate page w/ specific single post template?
- Why isn’t a list of posts from my custom post type displaying in this widget?
- Include php on a specific page template
- get comments by current user inside page template
- page template for custom post type
- Page Template Dropdown For Custom Post Types
- why is the current page title being output?
- How to integrate single and archive templates for custom post type in any WordPress theme
- How to get dropdown instance value in WordPress custom Widget
- Add class to on sidebar widget
- providing access to post_id or post inside functions.php
- wp_get_canonical_url showing first url of the post for custom page
- Custom page for editing custom post type on frontend based on url
- Custom sidebar for custom post type
- Dynamic assign a custom template to custom post type posts
- How to get the current category with custom posts
- Post Query not working
- Register_Sidebar overwriting itself and doesn’t exist in global $wp_registered_sidebars;
- Methods for development wordpress themes [closed]
- How do I display child post types in the parent post type template
- display custom post type in widget aera
- Can’t replace the default sidebar with a custom sidebar on Custom Post Type in Genesis
- How can I modify a custom post type and custom page template for a child theme if all content seams to be handled by theme’s ‘native’ plugin?
- How to add page under a custom post type?
- Custom permalink structure for remote content pages
- Enabling permalinks disables custom page template
- Is there a way to dump all registered sidebar/widget?
- Custom Sidebar in Editor (not Widget) for Custom Post Type in Genesis
- Widgets not showing on sidebars
- Custom Post Type Specific Post Template
- Mixing Custom Post Types and Page Templates in WordPress 3.7.1
- Custom Post Type Template Insert not working properply
- Loop and add Specific Categories and Products Images
- custom post template ignored after altering permalinks
- Adding link to dashboard sidebar, nested under custom post type
- Custom Post Type page template doesn’t show up
- Truncate custom post type content
- Why is registering a sidebar for each page causing my sidebars to reset?
- How can I allow users to edit text that will be displayed on a custom post type archive page?
- Using get_terms() to list terms from one custom taxonomy AND from one specific built-in category
- activate custom sidebar widgets
- Display ONE taxonomy and its assigned pages
- Display custom post type from template
- Content not showing up when using custom template + sidebar
- Images not load on custom post type sidebar, related posts
- Problem with custom loop navigation inside the blog page
- WordPress giving me the index
- How to use pre_get_posts on archive page custom post type
- Can I automatically assign a page template to a custom post type (i.e page-slug.php file)
- How To Display Posts Of Custom Post Type At Page Template
- Virtual page and loading template
- Custom Post type dont use custom page template (slug is not right)
- How to change Elementor Template for Single Page Post on Load
- A certain theme is forcing it’s singular post layout
- How to create additional rendering for custom post types?
- Modify Custom Post Type Slug
- How do I find out which (page) template file my custom child post is looking for?
- WordPress Page hierarchy ( parent is singular of custom post types slug ) is returning not found
- How can I create a button that when clicked populates a div with a list of foods that are checked as a certain type of ACF?
- Custom post type not pulling CSS
- Custom Page Template – Widgets of wrong sidebar
- Is there a way to create a sidebar of bullets
- Set a template on a custom post in the plugin
- How can I use a custom template to load custom post type posts based on a post_meta value
- Disable Sidebar on certain pages
- How can I use one instance of page.php to display different custom post types?