This support ticket is created 5 years, 5 months ago. There's a good chance that you are reading advice that it now obsolete.
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.
I have created a post type called Articles. This post type is supposed to have a sidebar. This would be fine if I wanted to use the Appearance Widgets > Default sidebar. But now that I have created the Custom post type there is nowhere for me to add the dynamic sidebar that I have created.
Is there a way for me to tell my Custom post type that is should be using the dynamic sidebar
Hello. Thank you for contacting the Toolset support.
Well - sidebars are not controlled by Toolset as Toolset will have only effect on the the_content() part (the body) part. Sidebars are controlled using your theme settings or you need to manage it on your own.
That makes sense. I think I need to register the sidebar to use on my custom posts by adding some code to functions.php - along the lines of the link below
hidden link
Do you have a snippet of code avaliable that I would need to use to register a sidebar with a Toolset Custom Post Type (created with Types)?
Well - we do not have such code snippets but you can check with your theme author or theme support as this needs custom programming which is beyond the scope of our support policy.
Or
Try to follow the following tutorials:
=> hidden link
=> hidden link
=> hidden link
Thanks Minesh - I have already registered the custom sidebar using functions.php. But in order to render the custom sidebar in my custom posts, I need to edit the "Articles post" file. But because I have created the Articles Post type using Toolset Types it is not available to edit so I cant add my sidebar?
Well - in this case, I think you need to create a single PHP template for your post type and style the PHP template as required and place the sidebar within this single PHP post type template.