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: Ascend Theme
Topic: sidbar area first on mobile
Hi, it is possible to change view on mobile. I have menu on widget sidebar section and on mobile its display after content. I want to make sidebar area first before content.
In forum: Membership ForumsIn reply to: Edit a template page
August 11, 2017 at 12:35 pm #154533ok, I updated the function to
add_filter('kadence_sidebar_id', 'custom_event_sidebar_id'); function custom_event_sidebar_id($sidebar) { if(is_singlular('event') ) { $sidebar = 'sidebar1'; } return $sidebar; }Ben
In forum: Ascend ThemeIn reply to: Sidebar issues
1. Be sure that you’re assigning the correct sidebar to the page that you want it to appear on. Also, it appears that you’re on an old version of the theme. Any reason you haven’t updated?
2. This can be done with some CSS. Try adding this to Theme Options> Custom CSS:
.above_footer_outer { display: none; } .shop .above_footer_outer { display: initial !important; }Let me know if that works, and be sure to get on the latest version of the theme before we test any further.
-Kevin
In forum: Ascend ThemeTopic: Sidebar issues
Hi,
I’m trying to add a product filter widget into the sidebar on my shop page only. However I can only get the widget to show in the ‘header’ and ‘above footer widget area’ locations. I can force it into the sidebar if I change the default widget area to ‘above footer area’ in the shop archive settings in theme options. This then creates an issue where I have this widget showing in two locations; the sidebar and above the footer.Couple of questions…
1. Can someone let me know why I can’t get the widget to show in the sidebar area? It doesn’t seem to matter which widget I choose, the issue isn’t isolated to my product filter. I’ve tried some random widgets and they are also not showing in the sidebar.
2. I am happy to have the widget showing in both the sidebar and above footer area, but I only want this in the shop page. Is it possible to disable the above footer widget area on all other pages apart from the shop?
I can supply screenshots if that makes it easier. Website is currently being developed at http://www.mmphotos.co.uk if you want to visit the site.
Thanks in advance.
MattIn forum: Virtue ThemeIn reply to: Podcast not showing in main blog
In forum: Ascend ThemeTopic: Filter above content
August 10, 2017 at 12:53 am #154340Hi there
Just wondering if you know how I could put a filter above the content on a shop archive page. I see you recommended YITH WooCommerce Ajax Product Filter which seems to do the job in a sidebar but I would like it to be at the top of the content rather to the side if that is possible.
Any ideas?
Thanks very much
KirianneIn forum: Membership ForumsIn reply to: Edit a template page
Yes, Sidebar1 is created in theme options > misc setting
The functions.php in my Child Theme look like this:
<?php
//
// Recommended way to include parent theme styles.
// (Please see http://codex.wordpress.org/Child_Themes#How_to_Create_a_Child_Theme)
//
add_action( ‘wp_enqueue_scripts’, ‘theme_enqueue_styles’ );
function theme_enqueue_styles() {
wp_enqueue_style( ‘parent-style’, get_template_directory_uri() . ‘/style.css’ );
wp_enqueue_style( ‘child-style’,
get_stylesheet_directory_uri() . ‘/style.css’,
array(‘parent-style’)
);
}
//
// Your code goes below
//add_filter(‘kadence_sidebar_id’, ‘custom_event_sidebar_id’);
function custom_event_sidebar_id($sidebar) {
if(is_single(‘event’) ) {
$sidebar = ‘sidebar1’;
}
return $sidebar;
}In forum: Membership ForumsIn reply to: Edit a template page
August 9, 2017 at 10:49 am #154265So now I have created a sidebar named sidebar1 but it doesn’t, work… 😐
Where did you create it? Sidebar1 would be the first custom sidebar you create in the theme options > misc settings.
– Do I still need the single-event.php file?
no.Ben
In forum: Membership ForumsIn reply to: Edit a template page
In forum: Membership ForumsIn reply to: Edit a template page
Thank you so much for your reply!
I am so not a hacker… Here’s the functions.php file – where exactly do I put the code?
I get red error-lines when I try…<?php
define( ‘OPTIONS_SLUG’, ‘virtue_premium’ );
define( ‘LANGUAGE_SLUG’, ‘virtue’ );
load_theme_textdomain(‘virtue’, get_template_directory() . ‘/languages’);
/*
* Init Theme Options
*/
require_once locate_template(‘/themeoptions/framework.php’); // Options framework
require_once locate_template(‘/themeoptions/options.php’); // Options framework
require_once locate_template(‘/themeoptions/options/virtue_extension.php’); // Options framework extension
require_once locate_template(‘/kt_framework/extensions.php’); // Remove options from the admin
/*
* Init Theme Startup/Core utilities
*/
require_once locate_template(‘/lib/utils.php’); // Utility functions
require_once locate_template(‘/lib/init.php’); // Initial theme setup and constants
require_once locate_template(‘/lib/sidebar.php’); // Sidebar class
require_once locate_template(‘/lib/config.php’); // Configuration
require_once locate_template(‘/lib/cleanup.php’); // Cleanup
require_once locate_template(‘/lib/custom-nav.php’); // Nav Options
require_once locate_template(‘/lib/nav.php’); // Custom nav modifications
require_once locate_template(‘/lib/metaboxes.php’); // Custom metaboxes
require_once locate_template(‘/lib/gallery_metabox.php’); // Custom Gallery metaboxes
require_once locate_template(‘/lib/taxonomy-meta-class.php’); // Taxonomy meta boxes
require_once locate_template(‘/lib/taxonomy-meta.php’); // Taxonomy meta boxes
require_once locate_template(‘/lib/comments.php’); // Custom comments modifications
require_once locate_template(‘/lib/post-types.php’); // Post Types
require_once locate_template(‘/lib/Mobile_Detect.php’); // Mobile Detect
require_once locate_template(‘/lib/aq_resizer.php’); // Resize on the fly
require_once locate_template(‘/lib/revslider-activate.php’); // Plugin Activation
/*
* Init Shortcodes
*/
require_once locate_template(‘/lib/kad_shortcodes/shortcodes.php’); // Shortcodes
require_once locate_template(‘/lib/kad_shortcodes/carousel_shortcodes.php’); // Carousel Shortcodes
require_once locate_template(‘/lib/kad_shortcodes/custom_carousel_shortcodes.php’); // Carousel Shortcodes
require_once locate_template(‘/lib/kad_shortcodes/testimonial_shortcodes.php’); // Carousel Shortcodes
require_once locate_template(‘/lib/kad_shortcodes/testimonial_form_shortcode.php’); // Carousel Shortcodes
require_once locate_template(‘/lib/kad_shortcodes/blog_shortcodes.php’); // Blog Shortcodes
require_once locate_template(‘/lib/kad_shortcodes/image_menu_shortcodes.php’); // image menu Shortcodes
require_once locate_template(‘/lib/kad_shortcodes/google_map_shortcode.php’); // Map Shortcodes
require_once locate_template(‘/lib/kad_shortcodes/portfolio_shortcodes.php’); // Portfolio Shortcodes
require_once locate_template(‘/lib/kad_shortcodes/portfolio_type_shortcodes.php’); // Portfolio Shortcodes
require_once locate_template(‘/lib/kad_shortcodes/staff_shortcodes.php’); // Staff Shortcodes
require_once locate_template(‘/lib/kad_shortcodes/gallery.php’); // Gallery Shortcode
/*
* Init Widgets
*/
require_once locate_template(‘/lib/premium_widgets.php’); // Gallery Widget
require_once locate_template(‘/lib/widgets.php’); // Sidebars and widgets
/*
* Template Hooks
*/
require_once locate_template(‘/lib/custom.php’); // Custom functions
require_once locate_template(‘/lib/authorbox.php’); // Author box
require_once locate_template(‘/lib/breadcrumbs.php’); // Breadcrumbs
require_once locate_template(‘/lib/template_hooks.php’); // Template Hooks
require_once locate_template(‘/lib/custom-woocommerce.php’); // Woocommerce functions
/*
* Load Scripts
*/
require_once locate_template(‘/lib/admin_scripts.php’); // Icon functions
require_once locate_template(‘/lib/scripts.php’); // Scripts and stylesheets
require_once locate_template(‘/lib/custom_css.php’); // Fontend Custom CSS
/*
* Updater
*/
require_once locate_template(‘/lib/wp-updates-theme.php’);
new WPUpdatesThemeUpdater_647( ‘http://wp-updates.com/api/2/theme’, basename( get_template_directory() ) );
/*
* Admin Shortcode Btn
*/
function virtue_shortcode_init() {
if(is_admin()){ if(kad_is_edit_page()){require_once locate_template(‘/lib/kad_shortcodes.php’); }}
}
add_action(‘init’, ‘virtue_shortcode_init’);
In forum: Membership ForumsIn reply to: Edit a template page
August 7, 2017 at 11:20 am #154005Hey,
You shouldn’t edit a template for this.Just use a function in your child theme functions.php file to filter which sidebar is used. For example:
add_filter('kadence_sidebar_id', 'custom_event_sidebar_id'); function custom_event_sidebar_id($sidebar) { if(is_single('event') ) { $sidebar = 'sidebar1'; } return $sidebar; }Ben
In forum: Virtue ThemeIn reply to: Posts with no sidebar by default?
In forum: Virtue ThemeI know when we write a post they are set to have a sidebar by default and we have the option to make it full width without a sidebar.
I’m using a directory plugin that creates it’s listings as Posts. The Listings have their own sidebar, so it ends up producing a 3 column post because it is using the 2 from the listing and the 1 theme sidebar.SO, is there a way to have the theme post layout be defaulted to full width no sidebar, instead of with sidebar default that it is now?
In forum: Membership ForumsTopic: Edit a template page
Hi!
I have created a single-event.php, a page copied and renamed from single.php. The plugin Quick Event Manager recognize this page, so all I have to do now is start editing…All I want is to put a different sidebar on single-event.php compared to single.php – Where do I do that? I have no clue… When I open the file all I find is this:
<?php get_template_part(‘templates/content’, ‘single’); ?>Can someone help me with this? I use Virtue Premium,
Thank you!!
/Åsa
In forum: Virtue ThemeIn reply to: OS X El Capitan css / layout issue
In forum: Virtue ThemeTopic: style post in side bar
Hi Guys
Can I style the post to match the 3 columns outside of the sidebar? So that the sidebar only shows one post, and matches the size and height of the 3 columns before the sidebar.
Thanks for your help-
CarrieIn forum: Pinnacle ThemeHi Ben,
It took some time but indeed it’s the WPML Multilingual CMS that prevents the deleting of a picture. I can’t deactivate it permanently as otherwise all the picutes on the shop staring page and in the sidebar are doubled (the German and English version of them).As for the 2 plugins: we have a rather poor pagespeed and I got the recommendation to run both of the caching tools. Now I just deactivated W3 Total cache and only run Autoptimize.
Thank you again
AngelikaJuly 27, 2017 at 10:00 am #153100My posts now is like: *Login to see link
I want to modify them like this: *Login to see link
1. header menu with a little transparent.
2. full-width image but also a sidebar below.
How to do that ?In forum: Virtue ThemeTopic: reorder content for mobile
In forum: Virtue ThemeJuly 25, 2017 at 4:55 pm #152959Don’t add this to your child theme css file:
#content .main { float: none !important; }that would break your sidebar
Just remove the css from your theme options > advanced settings.
If you want the sidebar on the left then you just select that in your theme options > main settings.
Ben
-
AuthorSearch Results


