Notice: These forums are now retired and closed. For active support, please Submit a Ticket or visit our official WordPress.org community pages.
Kadence Theme | Kadence Blocks | Starter Templates | WooCommerce Email Designer | Ascend | Virtue | Pinnacle
Search Results for 'sidebar'
-
AuthorSearch Results
-
In forum: Virtue Theme
In reply to: Is Virtue Premium bbPress compatible?
Hi Ben,
I am not sure what you are looking at but here is the link to the page with the sidebar problem:
http://ckingsensors.com/ckingforums/forums/The side bar is on the left side below the forum section.
I would like to move it to the right side of the forum and not below it.
Yes, I added the piece of code you sent. Here is how I did it:
Appearance –> editor –> open functions.php in my child theme and add the code.I copied the code from the forum and not the email.I don’t see any difference.
Thanks,
JayIn forum: Virtue ThemeIn reply to: Is Virtue Premium bbPress compatible?
January 26, 2015 at 3:39 pm #28674Hey,
I’m seeing a normal page. You have a sidebar though. did you add the function in your child theme?Ben
In forum: Virtue ThemeIn reply to: Gallery, icon & search bar
In forum: Virtue ThemeIn reply to: Is Virtue Premium bbPress compatible?
Hi Ben,
Yes, I had copied from the email but this time I copied from the forum.
I don’t get the error message but I still don’t see any change. Please see the link below. The sidebar is screwed up.
http://ckingsensors.com/ckingforums/sensor-forums/
Thanks,
JayIn forum: Virtue ThemeIn reply to: Is Virtue Premium bbPress compatible?
Hi Ben,
Thanks for the code. I added it to the functions.php of my Virtue Premium Child but I got an error message.
Here is what I have in my functions.php:<?php
//Add your custom functions here.
add_filter('kadence_display_sidebar', 'bbpress_sidebar');
function bbpress_sidebar($sidebar) {
if (is_bbpress()) {
return false;
}
return $sidebar;
}Here is the error message I get when I click on “update file”:
Parse error: syntax error, unexpected ‘function’ (T_FUNCTION) in /home3/cking/public_html/ckingforums/wp-content/themes/virtue_vendor_child/functions.php on line 4What is the issue?
Thanks.
In forum: Virtue ThemeIn reply to: Is Virtue Premium bbPress compatible?
January 26, 2015 at 12:21 pm #28637It’s compatible but there isn’t anything in the theme that will enhance it like the theme does with woocommerce. You would be using the standard bbpress styles. And if you want to control the sidebars you have to use a function. So say you want the form pages to be fullwidth (no-sidebar) you would add this in your child theme functions.php file:
add_filter('kadence_display_sidebar', 'bbpress_sidebar'); function bbpress_sidebar($sidebar) { if (is_bbpress()) { return false; } return $sidebar; }Ben
In forum: Virtue ThemeIn reply to: Gallery, icon & search bar
In forum: Virtue ThemeIn reply to: Page width too narrow
In forum: Virtue ThemeIn reply to: Gallery, icon & search bar
In forum: Pinnacle ThemeIn reply to: Custom carousel
January 25, 2015 at 11:34 pm #28555you can change the sidebar background with this css:
aside.col-lg-3.col-md-4 .sidebar { background: #fff; padding: 10px; }Ben
In forum: Virtue ThemeIn reply to: Pagebuilder box size and Boxed Layout Style
January 25, 2015 at 10:15 pm #285381. You would have to set your own text length and add your own read more link.
As for getting the same size you can set a min-height in your widget settings with pagebuidler. Just click on attributes. In the css section addmin-height: 400px;for example, that will make sure that each is at-least 400px high.2. You can use css:
#ktsidebar .sidebar { padding: 20px; border: 1px solid #eee; }3. Are you talking about the width the of the content including the sidebar or just the part left of the sidebar?
Ben
In forum: Virtue ThemeHi,
I have a couple of questions and would appreciate your help.
Please take a look at this link : *Login to see link
1) The text boxes have different sizes depending on the size of the text in each box. How do I enforce the same same for all four boxes? I would like to reduce to an excerpt for each box to make all the boxes the same size and by clicking “read more” link the reader can go to the respective page.
2) Quesition the sidebar: how do put the siderbar also in a box so the page looks nicer?
3) Question on the body layout: I would like to make the size of the body layout box wider. How do I change the width of the box?
Thank you!
JayIn forum: Virtue ThemeIn reply to: Gallery, icon & search bar
In forum: Pinnacle ThemeIn reply to: Custom carousel
Thank you so much Ben.
I could work out 1,4,and 5 questions.But still I would like to ask some questions to you.2. I added the CSS but it still show as two line.http://2islandtravellers.com/thereasonwhy
Can I show within one line like ‘January 2015 (2)’?3.Sorry could you explain how to make multiple blog pages? I couldn’t find how I can set it up.
Another additional question:
・How can I get rid of the one of ‘Read more’tag in Recent posts keeping the ‘Read more’tag of home page and blog page?
http://2islandtravellers.com/thereasonwhy・Where can I change the background colour of sidebar ?
I really appreciate your help!
In forum: Virtue ThemeIn reply to: bbpress sidbar
January 24, 2015 at 9:33 pm #28471ok it’s just a matter of changing the conditional statement.
so instead of
is_singleyou can useis_singular('post')so the function would be:
add_filter('kadence_sidebar_id', 'post_sidebar_id'); function post_sidebar_id($sidebar) { if (is_singular('post')) { return 'sidebar2'; } return $sidebar; }and yes, you can’t copy code from an email it won’t work right.
Ben
In forum: Virtue ThemeIn reply to: bbpress sidbar
Sorry it was my fault. Should not copy code from Emails?!?
The code has no errors anymore, but this solution does not work.
At the moment I still can not set different sidebars in wordpress and bbpress.
Primary should go to bbpress and sidebar2 to wordpress.
Topics in bbpress are posts, too. And so the primary sidebar in bbpress is changed to sidebar2 😉In forum: Virtue ThemeIn reply to: bbpress sidbar
In forum: Virtue ThemeIn reply to: bbpress sidbar
January 24, 2015 at 1:10 am #28425ok, You can add this function once you update to 2.8.0
add_filter('kadence_sidebar_id', 'post_sidebar_id'); function post_sidebar_id($sidebar) { if (is_single()) { return 'sidebar2'; } return $sidebar; }that will override the theme and set all your posts to the same sidebar. Assuming you create “sidebar2”
Ben
In forum: Pinnacle ThemeIn reply to: Custom carousel
Hi Ben,
Thank you so much for sorting it out!Actually, I have some more questions about blog layout.
http://2islandtravellers.com/blog1, How can I change Author name depending on posts?
2, How can I show post count number in sidebar next to the writing ? I don’t want to show the number below the each date and categories like my link at the moment.
3, Is there any way I can make drop down categories inside categories? In my case, I would like to make 2 main categories which is my blog and my husband blog.I am going to write Japanese and he write English, so want to separate category. Then I would like to create another categories in my blog category and his category as dropdown.
4, Is it possible to fix the size of featured images of each blog? I prefer the images are all same size.
5, How can I change the size of blog title?Sorry for the lots of questions. Thank you for your help!
In forum: Virtue ThemeIn reply to: bbpress sidbar
If you want bbpress specific you can either let the primary be your bbpress and use custom for everywhere else or hook into the sidebar templates with your child theme and add a custom call to a custom widget area.
Hi Ben,
I can define the primary for bbpress and the custom sidebar for the few pages and archives in virtue settings. No problem!
But for all the blog entries I have to define the sidebar for each article. Would be difficult to do this for all my blog-entries…
Is there a other way to set a custom sidebar in all articles.Thanks
Matthias -
AuthorSearch Results


