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: Page not Loading
March 1, 2016 at 1:51 am #83750Rev-slider settings. look in the sidebar at your loading options.
Ben
In forum: Virtue ThemeIn reply to: fullwidth feature image
I had it on 4 column and changed it to 3 col. but no difference. I really want one column with a large image at top and below that smaller image that go the width of the carousel on the bottom. I can’t get my smaller images that wide as the layout seems to want to have a sidebar.
In forum: Virtue ThemeTopic: Shop Page Sidebar on left
In forum: Virtue ThemeIn reply to: Animated Logo
In forum: Virtue ThemeFebruary 29, 2016 at 10:54 am #835501. Yes.
There is a filter on that function you can hook into. Just use this in your child theme:
add_filter('kadence_display_sidebar', 'kad_sidebar_on_custom_page'); function kad_sidebar_on_custom_page($sidebar) { if (is_page_template('page-bookings.php')) { return false; } return $sidebar; }2. yes thats the point of filters. ^
In general you don’t want to change functions. You only every want to hook into them.
Ben
In forum: Virtue ThemeIn forum: Virtue ThemeTopic: Animated Logo
In forum: Virtue ThemeTopic: WooCommerce Customisation
Some of these may be outside the scope of the theme but I thought I would ask just in case.
How do I move the sidebar from right to left in the shop page? http://www.rupertvamp.co.uk/shop
How do I slide between gallery images when clicking on them instead of lightbox? *Login to see link
How can I add a simple “<Home” hyperlink in the top left of the shop page and a “<BACK” hyperlink in the top left of the product page?
How do you disable auto carousel of the related shop products? They currently move automatically after a while.
THe password is “password”
In forum: Virtue ThemeHi Ben,
I need a custom page for bookings and created a childtheme of Virtue-Premium with special versions of
*- virtue_premium/page.php to mychildtheme/page-bookings.php for the content part
*- virtue_premium/base.php to mychildtheme/base-page-bookings.php for the whole HTML frameThat works fine, but …
The booking part gets only 9/12 width, leaving 3/12 to a sidebar, which I don’t want here.So I see there is a function in virtue_premium/lib/config.php
function kadence_display_sidebar() {….}
defining all standard theme page-template names for fullwidth pages
I want to override this function with my version including mine: ‘base-page-bookings’So I put a special version of function kadence_display_sidebar() in my childtheme
That gives an ugly Fatal Error: you can’t redeclare functions in phpWordPress in some core functions has a workaround, see wp-includes/pluggable.php
wrapping the function between the lines if: … endif:
if ( !function_exists(‘kadence_display_sidebar’) ) :
function kadence_display_sidebar() {….}
endif;
The function is loaded with the childtheme, and if so the theme does not try to redeclare the same one.I tried that and it works.
But I am changing a theme file, which is bad practice and will last only to the next theme update.
It should better be done within the theme, if you agree.A few inquieries:
1- Has Virtue a better solución for this?
2- Is it possible to make this change for this function, and maybe others, in the theme,
to allow childthemes override functions and hence have a more adaptable theme?
3- Do you think this change may affect in some way other things?
4- Do you have documentation for this, not childthemes in general, but specific hints for your theme
Which files to change, location of the file, aplicable links to codex …I googled a bit, most people say: you can’t redeclare functions in PHP, but this link gave me the hint:
*Login to see linkBest regards,
HugoIn forum: Virtue ThemeTopic: www.domain.com/tag to /tags
Hello all!
i’ve a question about the tag url in wordpress
how do i change /tag to /tags?
because this gives a diffrent ‘The right’ Layout to the posts.
/Tag shows: Full post article
/Tags shows: an excerpt only and a sidebar.Every tag under a post redirects to /tag so i want that to change into /tags!
Thank you very much!
indy dijkman
In forum: Virtue ThemeIn reply to: Can't display the sidebar on my account page!
February 27, 2016 at 3:51 pm #83384The my account page already gets a sidebar but only for the logged in user. For logged out it’s designed to be fullwidth and have optiojns to register or login.
You are adding this css:
@media (min-width: 992px){ .col-md-6, .col2-set .col-1, .col2-set .col-2, .span6 { width: 100%; } }Remove that! that would effect so many things poorly and it’s why your login and registration are on different lines.
Ben
In forum: Virtue ThemeFebruary 27, 2016 at 3:25 pm #83381Hey,
See here: http://docs.kadencethemes.com/virtue/#page_templatesA feature template means there would be options to add a slider, or image above the page title.
Showing a featured image can be done (using the feature templates) but you can’t add a link to a custom page through that method you would have to manually add the image into the page content and add a link.
Using the feature sidebar allows you to add a slider, video or shortcode above the page title and thus above the sidebar.
You can’t change the defualt it is default to page.php in wordpress. You can edit what that page looks like through a child theme but you can’t choose another template to be default.
Ben
In forum: Virtue ThemeFebruary 27, 2016 at 1:16 pm #83368Hi Ben,
I confused. Please explain the difference between templates.
Feature with sidebar template vs sidebar?
If I use feature image, how I can add link to it?
How I can make image on top and content with sidebar after that? Or video?
How I can change default template?
Thank you!In forum: Virtue ThemeHi Ben,
Please take a look at this link:
*Login to see link1) I can’t get the sidebar displayed on this my account page. I checked all my settings and I can’t figure out what the issue is.
2) I would like to have the Login and Register side by side. E.G. Login on the right side and Register on the left side. So, it is easier for the user to see both register and Login at the top of the page at the same time. Right now each field box is covering the entire page.
Thank you,
JayIn forum: Virtue ThemeHi Ben, thanks for you answer.
I followed the steps what you given. Still I cannot see the New font on Typography.When i manually add the query into CSS filed on Custom CSS Box, Font picks up and works.
The Steps in link says different and its not working. please help
/*
Theme Name: Virtue Premium Child
Theme URI: http://example.com/virtue-premium-child/
Description: Virtue Premium Child Theme
Author: John Doe
Author URI: http://example.com
Template: virtue_premium
Version: 1.0.0
Tags: light, dark, two-columns, right-sidebar, responsive-layout
Text Domain: virtue-child
*//* Theme customization starts here
————————————————————– */@font-face {
font-family: ‘futura_md_btmedium’;
src: url(‘http://www.finefarmer.com/wp-content/themes/virtue_premium_child/fonts/futura_medium_bt-webfont.eot’);
src: url(‘http://www.finefarmer.com/wp-content/themes/virtue_premium_child/fonts/futura_medium_bt-webfont.eot?#iefix’) format(’embedded-opentype’),
url(‘http://www.finefarmer.com/wp-content/themes/virtue_premium_child/fonts/futura_medium_bt-webfont.woff2’) format(‘woff2’),
url(‘http://www.finefarmer.com/wp-content/themes/virtue_premium_child/fonts/futura_medium_bt-webfont.woff’) format(‘woff’),
url(‘http://www.finefarmer.com/wp-content/themes/virtue_premium_child/fonts/futura_medium_bt-webfont.ttf’) format(‘truetype’),
url(‘http://www.finefarmer.com/wp-content/themes/virtue_premium_child/fonts/futura_medium_bt-webfont.svg#futura_md_btmedium’) format(‘svg’);
font-weight: normal;
font-style: normal;}
body, h1, h2, h3, h4, h5, #nav-second ul.sf-menu a, .kad-nav-inner .kad-mnav, .kad-mobile-nav .kad-nav-inner li a, .nav-trigger-case {
font-family: ‘futura_md_btmedium’ !important;
}In forum: Virtue ThemeIn reply to: Home Page Template
February 26, 2016 at 1:52 pm #83264Hey,
You wrote: “Issue : My home is not reflecting the page template I select.” – YES! That is correct. The home page does not use a page template. You control it from the theme options > home layout.If you would like to have a sidebar you set that in the theme options > home layout. First option 🙂
Ben
In forum: Virtue ThemeIn reply to: Template Editing Question
February 26, 2016 at 1:24 pm #83255Hey so page-sidebar.php is the template, for the main content is calls
<?php get_template_part('templates/content', 'page'); ?>Which is going to load this code from the templates/content-page.php file. You can see that here:
<?php while (have_posts()) : the_post(); ?> <?php the_content(); ?> <?php wp_link_pages(array('before' => '<nav class="pagination kt-pagination">', 'after' => '</nav>', 'link_before'=> '<span>','link_after'=> '</span>')); ?> <?php endwhile; ?>And so it’s looking for a post, looking for the content and checking for single page pagination.
Ben
In forum: Virtue ThemeIn reply to: Home Page Template
When you’re selecting the “Test Home” page as your home page, I believe it’s changing your settings to the default full width page template.
So I would try first selecting “Test Home” as your home page, then going back into the page template settings to confirm that your selection of the “sidebar” template is still present.
If not, you should be able to change it to the sidebar template that you want.
Give that a try and let me know what you find.
In forum: Virtue ThemeIn reply to: Incompatibility problem with the Yoast SEO plugin
February 26, 2016 at 12:31 pm #83237I feel I have to say something because I realize your seeing this work on a certain screen but as I said this isn’t an issue of SEO plugin, I don’t care what you use for SEO but as the developer I do understand how pagebuilder works and you can’t effectively have a sidebar and a fullwidth area. You would have to add the sidebar into the page builder through a column in pagebuilder.
So since I have not been able to communicate this you can move on and not take my word but as a simple test to show you what I mean open your site and just resize browser window…
Ben
In forum: Virtue ThemeTopic: Template Editing Question
Hi Ben and Hannah.
If I wanted to edit the file that delivers the main content in this page (which uses your Sidebar template), which file would that be please:
I’m trying to get my head around how WordPress delivers pages and how the page templates work in your theme, but it’s proving tricky for my fairly small brain…
p.s – Obviously I’d copy the file to the child theme before breaking it 🙂
-
AuthorSearch Results


