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?
- What is singular.php?
- Page Template as Custom Post Type Archive
- Get sidebar parameters (before_widget, before_title, etc.) from within a widget
- Loading custom page template via plugin
- WordPress keeps fetching the archive page instead of the template page
- How to add custom template in plugin?
- How to use a dedicated template for the Custom Post Type from a plugin?
- How to sort list of custom posts to get view like a tree of posts under categories and their children’s categories?
- Custom post type archive and single.php files not working
- WordPress custom post type Single.php?
- Custom Post Types, Page Templates and Pagination. Why do I get a 404 Error?
- Control Custom Post Type template from a plugin
- Detect if 1st, 2nd or 3rd level custom page?
- Create second custom 404 page for selected post type
- is_page_template not working as expected
- Hyphens instead of Underscores in Post-type Archive Template Filenames when Post-type handle contains underscore
- How to create another version of the Category widget?
- Can I make WordPress use a custom template for a child page
- adding multiple sidebars on pages
- Display custom post data in sidebar w/ dropdown
- Create Template for Custom Post Type same like for Page
- How to load a template without it being assigned to a page/post?
- Custom template with CPT doesn’t display on frontend
- How to create Blog Post Specific Widget
- Custom Post Type with Templates using Meta Boxes?
- Posts are duplicating on wp_post_update
- How to make this menu drop down or like accordion
- Custom-Posttype & Custom Taxonomy WP_Query
- Page template with different page and post content
- Register/Get sidebar?
- customise template to only show custom post type entries
- How to render a custom post type template with custom fields using shortcode
- Hide a widget inside a div on specific type of post
- Can you target a widget_class in a register_sidebar?
- next_/previous_post_link() `in_same_category` appears to fail when true
- Want to be able to sign up subscribers as authors
- WordPress Custom Search by post_type
- Custom post type pages return 404 page?
- Add #sidebar-2 to a custom page template
- the_post_thumbnail call removing li in code
- Include php on a specific page template
- Page Template Dropdown For Custom Post Types
- why is the current page title being output?
- How to get dropdown instance value in WordPress custom 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 sidebar for custom post type
- Register_Sidebar overwriting itself and doesn’t exist in global $wp_registered_sidebars;
- Methods for development wordpress themes [closed]
- Can’t replace the default sidebar with a custom sidebar on Custom Post Type in Genesis
- 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
- Custom Post Type page template doesn’t show up
- 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?
- activate custom sidebar widgets
- Display ONE taxonomy and its assigned pages
- Images not load on custom post type sidebar, related posts
- Modify Custom Post Type Slug
- 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?
- Is there a way to create a sidebar of bullets
- How can I use a custom template to load custom post type posts based on a post_meta value
- Disable Sidebar on certain pages
- Showing Custom Post Type with his templates on a custom page template
- Displaying posts inside table having issues
- How to create sidebar from “scratch”?
- How to get sidebar widgets in leftsidebar template
- Show index and not the archive for “Dog Custom Post” with default slug
- I want to link an author to everything from any post type that they publish on the website
- Ordering Posts List By Taxonomy Terms?
- Loading a template for a URL pattern
- Custom Homepage As Single Page or Custom Post Type?
- Templates list in “Page Attributes” metabox is inaccurate
- Custom Post Type & Page Template
- How to use get_sidebar in plugin folder?
- wp_register_sidebar_widget in loop within a plugin?
- how to override menu widget?
- Displaying database table in backend of wordpress
- Filter CPT based on meta box value using Flexible Posts widget?
- What method should I use for a sidebar widget that reads latest posts?
- Creating Multiple Admin Widget Page with Calling One Sidebar
- Using custom post types within a section of a template
- Custom Post Type order Title ASC
- get tags from custom post type
- Radom post image/link based on custom taxonomy
- Add the title of a widget as an ID – for anchor links
- Page templates for custom post types
- How to display custom message for (Genesis) featured posts if no posts
- using a template for more then 1 page