I am trying to put a portfolio type on a page for the purpose of having the layout of Pages ie; sidebar widgets
I tried making the portfolio type be the menu item in the menu, but the Portfolio Types layout does not include sidebar widgets like the regular Pages do.
I tried putting a shortcode from WordPress.org on the page, but this showed the text of the shortcode instead of embedding the portfolio type.
Please help. tell me what I need to do to get this to happen. There are tons of oprions on this theme but I can’t seem to find how to do this.
Virtue Premium
This portfolio type:
*Login to see link
To show it’s 3 sliders/carousel on this page:
*Login to see link
What about displaying no sidebar on a particular product category? Is there a way to specify a new template for particular product caqtegories, like you can for post categories?
Andrew
Because that isn’t an open plugin I can’t see what code it’s adding. therefore I don’t now why or how it would be effecting the sidebar. It’s really strange that the plugin would have any code that would effect it. Regardless I’m going to suggest you just use https://wordpress.org/plugins/woosidebars/
Instead of the themes way to manage sidebars.
Ben
*Login to see link
How can I change what is displayed when clicking the Facebook share button in the sidebar. Right now it shows two columns, with the word blog and text, Visit the post for more. I´d like to add text and an image. What page is it connected to?
Many, many thanks!
This reply has been marked as private.
You can just use a plugin like this: https://wordpress.org/plugins/woosidebars/
Or you can use widget logic to have certain widget hide or show based on the category: https://wordpress.org/plugins/widget-logic/
Ben
Hi Hannah,
Ever since I switched my logo layout to widget, nothing is showing up on mobile devices except for the menu and sidebar. Can you please help.
http://www.twopeasinthepantry.com
Hey,
So we are talking about the pinnacle:social widget right? Just adding the icon links in your sidebar or something. You can get your profile links for each social site and add those to each link box in the widget… for example our Instagram link is: https://instagram.com/kadencethemes/
Ben
Hi Ben and Hannah,
I would like to have a different sidebar for certain product categories. Do you know the best way to do this?
Andrew
Hi,
I’m using Virtue Premium with WPML and WooCommerce.
Everything is working fine except the page for a category of products in the second language. It doesn’t load the css, sidebars or navigation:
*Login to see link
*Login to see link
I changed the theme, and with twentyfifteen the issue disappears.
I would be grateful if you could shed some light on the matter.
Thanks!
Irene
Thanks Hannah worked a treat!!
one more thing how can I set my sidebar on the same page to display my custom slider I created named sidebar 2?
I was able to set this for my product pages but cant find the same setting option for this page?
Fitz.
Hi,
I have the done the same. Even after selecting a user defined sidebar, on the page, I see only the primary sidebar.
Eg
a. I have set the page template as “sidebar”
b. I have selected a user defined sidebar “HouseSpecial Sidebar”
I still see Primary Sidebar only. I have provided the login credentials separately. You can login to check.
Thanks
Hey Kumar,
with pages you just need to select the sidebar page template. Then you will see the sidebar option to choose which one you want to show.
http://docs.kadencethemes.com/virtue/#sidebarpage
Ben
Hi,
I am not able to change the sidebar and set to user defined. It is always showing only Primary Sidebar. Can you please help ?
*Login to see link
Thanks
Hey,
1. You can add this css in your custom css box in the theme options:
.sidebar .widget_grid_widget ul {
margin: 0;
}
2. You can add some padding:
.kad-sidebar .sidebar {
padding-bottom: 30px;
}
Ben
Hey,
Portfolio posts are not designed or have options for a sidebar.
So if your wanting to use a child theme to override the layout just understand that this isn’t what they were designed for.
You will need two custom functions. The first will turn on a sidebar for portfolio posts:
function kad_sidebar_on_portfolio_page($sidebar) {
if (is_singular('portfolio')) {
return true;
}
return $sidebar;
}
add_filter('kadence_display_sidebar', 'kad_sidebar_on_portfolio_page');
The second will set the sidebar id for portfolio posts:
add_filter('kadence_sidebar_id', 'psingle_sidebar_id');
function psingle_sidebar_id($sidebar) {
if (is_singular('portfolio')) {
return 'sidebar2';
}
return $sidebar;
}
Both functions would go in your child theme functions.php file.
You can’t add more value options to the meta box fields and since the output is just a simple list I recommend you just add that list right into the post content and not in the meta boxes if you need to have more options.
Ben
Hello,
*Login to see link
How can I center the instagram widget in the sidebar?
And adjust the cellpadding at the bottom of the sidebar? I would like the orange background color to go past the last image.
many, many thanks!
related to this, i did find the correct call function:
<?php
dynamic_sidebar( kadence_sidebar_id(‘portfolio’) ); ?>
but this seems to just pull in the main sidebar, not the custom one.
also one other query relating to portfolio, i would ideally like to be able to add more than one hyperlink in the options. is there a way to add more fields for these? I am unsure how to go about that. this is partly why i am trying to deploy a sidebar.
J
hi guys
i havent been able to manage to get my custom sidebar displaying in single portfolio pages.
I have created the sidebar titled ‘portfolio’ but i cant figure out how to deploy this, have tried editing the template for single-portfolio…. obviously a custom function is needed, can you help?
thanks
J
So if your in the admin, and you click on pages and edit one. Right below the content of the page you should see sidebar options.
If you don’t try clicking the “screen options” tab in the top right corner.
Ben