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'

Home / Forums / Search / Search Results for 'sidebar'

Viewing 20 results - 1,981 through 2,000 (of 5,356 total)
  • Author
    Search Results
  • #164777

    I want customers to be able to choose to just look at either Bowls or green items

    In this case, you can use the theme filter but its only designed to filter what is on the page. It won’t work like a menu and filter if you have more the one page of products. It also won’t filter more than one thing. You couldn’t look at green bowls for example just one filter option. So the theme filter is only designed for small stores where you are just filtering through a few categories.

    If you want to be able to choose what options are available to filter by allowing for multiple filters to be running at the same time you need to use a plugin and set that up through the product attributes not categories.

    In terms of a sidebar you can add to the top of your shop page by using a plugin like this: https://wordpress.org/plugins/widgets-on-pages/

    Ben

    #164448

    Hi,

    Thanks for a great theme I’ve had no problems with so far 🙂 I’m working on a staging site and it renders fine in Chrome, but I’ve started trying other browsers and Firefox and IE completely mess up the background image. The image appears to be rendered separately for the header, sidebar and main page, producing very ugly breaks/repeats.I’m happy with the repeat at the bottom as most pages are not that long, but it just looks terrible in Firefox etc.

    Site address:

    I’ve obviously searched the forum and tried full width in page builder (I’ve only used it for one page anyway) to no avail.

    Any help most appreciated.
    Thanks,

    Angela

    In forum: Ascend Theme
    #164325

    Hey,
    1. Click your name in this forum. Is that what you mean?

    2. There isn’t a built-in option to achieve this. You would need to add your products using a shortcode in a sidebar page template.
    https://docs.woocommerce.com/document/woocommerce-shortcodes/

    Hannah

    #164318

    Hi Kadence team

    1.where is the TOPIC STARTED button place? (all my forum history)

    2. How to set different sidebar for different product archive pages?

    In forum: Virtue Theme

    In reply to: Hide Metaboxes

    #163997

    Hi Ben,

    Thanks. I tried changing it to remove_filter( 'cmb2_admin_init', 'bfc_current_courses_metaboxes', 60 ); but that didn’t work. Here is my code:

    Add to theme options (adds switch under Theme Extensions):

    function bfc_custom_theme_extensions() {
    	
    	$staff_metabox = array(
        	'section_id'=> 'theme_extensions',
            'id'=>'bfc_staff_metabox',
    		'type' => 'switch', 
    		'title' => __('Additional Staff Details', 'virtue'),
    		'subtitle' => __('Turn On/Off additional staff details references.', 'virtue'),
    		'default' => 0,
    		'required' => array('kadence_staff_extension','=','1')
    	);
    	
    	Redux::setField('virtue_premium', $staff_metabox);
    	
    }
    
    add_action( 'after_setup_theme', 'bfc_custom_theme_extensions', 1);

    Metaboxes:

    function bfc_current_courses_metaboxes() {
    	$prefix = 'ums_one_';
    	$all_terms_clean = get_all_terms();
    
    	$kt_staff_listing = new_cmb2_box( array(
    		'id'         => 'additional_staff_details',
    		'title'      => __('Additonal Staff Details', 'virtue'),
    		'object_types'      => array( 'staff' ), // Post type
    		'priority'   => 'high',
    	) );
    	$kt_staff_listing->add_field( array(
    		'name'    => __('Curriclum Vitae', 'virtue'),
    		'desc'    => __('', 'virtue'),
    		'id'      => $prefix . 'curriculum_vitae',
    		'type' => 'file',
    		'options' => array(
    			'wpautop' => false,
    			'media_buttons' => true,
    			'textarea_rows' => 3,
    			'teeny' => true,
    		),			
    	) );
    	$kt_staff_listing->add_field( array(
    		'name'    => __('Selected Publications', 'virtue'),
    		'desc'    => __('', 'virtue'),
    		'id'      => $prefix . 'publications',
    		'type'    => 'wysiwyg',
    		'options' => array(
    			'wpautop' => false,
    			'media_buttons' => false,
    			'textarea_rows' => 3,
    			'teeny' => false,
    		),
    	) );
    	$kt_staff_listing->add_field( array(
    		'name'    => __('Additional Publications', 'virtue'),
    		'desc'    => __('', 'virtue'),
    		'id'      => $prefix . 'additional_publications',
    		'type'    => 'wysiwyg',
    		'options' => array(
    			'wpautop' => false,
    			'media_buttons' => false,
    			'textarea_rows' => 3,
    			'teeny' => false,
    		),			
    	) );
    	$kt_staff_listing->add_field( array(
    		'name'    => __('Education', 'virtue'),
    		'desc'    => __('', 'virtue'),
    		'id'      => $prefix . 'education',
    		'type'    => 'wysiwyg',
    		'options' => array(
    			'wpautop' => false,
    			'media_buttons' => false,
    			'textarea_rows' => 3,
    			'teeny' => false,
    		),			
    	) );
    	$kt_staff_listing->add_field( array(
    		'name'    => __('Research Interests', 'virtue'),
    		'desc'    => __('', 'virtue'),
    		'id'      => $prefix . 'research-interests',
    		'type'    => 'wysiwyg',
    		'options' => array(
    			'wpautop' => false,
    			'media_buttons' => false,
    			'textarea_rows' => 3,
    			'teeny' => false,
    		),			
    	) );
    	$kt_staff_listing->add_field( array(
    		'name'    => __('Current Courses', 'virtue'),
    		'desc'    => __('', 'virtue'),
    		'id'      => $prefix . 'current-courses',
    		'type'    => 'wysiwyg',
    		'options' => array(
    			'wpautop' => false,
    			'media_buttons' => false,
    			'textarea_rows' => 3,
    			'teeny' => false,
    		),			
    	) );
    	$kt_staff_listing->add_field( array(
    		'name'    => __('Faculty Research Blog', 'virtue'),
    		'desc'    => __('Start typing the name of the taxonomy term in which you would like to select the most recent 5 posts from.', 'virtue'),
    		'id'      => $prefix . 'recent_posts',
    		'type'    => 'select',
    		'options' => $all_terms_clean,
    		'attributes' => array(
    			'data-maximum-selection-length' => '1',
    		),			
    	) );
    	$kt_staff_listing->add_field( array(
    		'name'    => __('In The Media', 'virtue'),
    		'desc'    => __('Please list no more than 5 current/highlighted media articles.', 'virtue'),
    		'id'      => $prefix . 'media',
    		'type' => 'wysiwyg',
    		'classes' => 'double-arrows',
    		'options' => array(
    			'wpautop' => false,
    			'media_buttons' => false,
    			'textarea_rows' => 1,
    			'teeny' => false,
    		),			
    	) );
    }
    
    add_filter( 'cmb2_init_before_hookup', 'bfc_current_courses_metaboxes', 21 );

    Adds the metaboxes to the Staff page.

    Code to remove the metaboxes if switch if off:

    function bfc_remove_metaboxes() {
    	
    	$options_slug = get_option(OPTIONS_SLUG);
    	
    	if(isset($options_slug['bfc_staff_metabox']) && $options_slug['bfc_staff_metabox'] == '0') {
    		remove_filter( 'cmb2_admin_init', 'bfc_current_courses_metaboxes', 60 );
        }
    }
    
    add_action( 'after_setup_theme', 'bfc_remove_metaboxes', 60);

    I have tried changing the priority but that doesn’t seem to help either. I have several other functions that run based on the switch (such as showing the content on the Staff page, content-singlestaff.php) but those all work as expected. Just in case, here is the code for that:

    if(isset($options_slug['bfc_staff_metabox']) && $options_slug['bfc_staff_metabox'] == '1') : ?>
    
    	<div id="content" class="container">
        <div class="row single-article">
         
         <aside id="ktsidebar" class="col-lg-3 col-md-4 kad-sidebar additional-info" style="float: right;">
         	<div class="col-1-4">
    			<div class="staff-img thumbnail alignleft clearfix">
    				<?php the_post_thumbnail( 'large' ); ?>
    			</div>
    		</div>
    		<?php
    		if ( ! empty( $telephone ) ) { ?>
    			<div class="field"><i class="icon-mobile"></i> <a href="tel:<?php echo esc_html( strip_tags( $telephone ) ); ?>"><?php echo esc_html( $telephone ); ?></a></div>
    			<?php
    		}
    		if ( ! empty( $email ) ) { ?>
    			<div class="field"><i class="icon-envelope"></i> <a href="mailto:<?php echo esc_html( $email ); ?>"><?php echo esc_html( $email ); ?></a></div>
    			<?php
    		}
    		if ( ! empty( $address ) ) { ?>
    			<div class="field"><i class="icon-map-marker" style="float: left; margin-right: 2px;"></i> <?php echo wp_kses_post( $address ); ?></div>
    			<?php
    		}
    		if ( ! empty( $cv ) ) { ?>
    			<div class="field"><i class="icon-profile" style="float: left; margin-right: 2px;"></i> <a href="<?php echo wp_kses_post( $cv ); ?>" target="_blank">Curriclum Vitae</a></div>
    			<hr>
    			<?php
    		}
    		if ( empty( $cv ) ) { ?>
    			<hr>
    			<?php
    		}
    		if ( ! empty( $education ) ) { ?>
    		 <div class="field"><h3>Education</h3>
    			<?php echo wp_kses_post( $education ); ?></div>
    			<hr>
    			<?php
    		}
    		if ( ! empty( $research ) ) { ?>
    		 <div class="field"><h3>Research Interests</h3>
    			<?php echo wp_kses_post( $research ); ?></div>
    			<hr>
    			<?php
    		}
    		if ( ! empty( $courses ) ) { ?>
    		 <div class="field"><h3>Current Courses</h3>
    			<?php echo wp_kses_post( $courses ); ?></div>
    			<hr>
    			<?php
    		}
    		if ( ! empty( $blog ) ) { ?>
    		 <div class="field"><h3>Faculty Research Blog</h3>
    		 
    			<?php
    
    			// WP_Query arguments
    			$args = array (
    				'post_type'              => 'post',
    				'update_post_term_cache' => false,
    				'no_found_rows'          => true,
    				'posts_per_page'         => 5,
    			);
    			
    			$recent_post_term = get_post_meta( $post_id, 'ums_one_recent_posts', true );
    			
    			if ( $recent_post_term && ! empty( $recent_post_term ) ) {
    				$args['tax_query'] = array(
    					'relation' => 'OR',
    					array(
    						'taxonomy' => 'category',
    						'field'    => 'term_id',
    						'terms'    => $recent_post_term,
    					),
    					array(
    						'taxonomy' => 'post_tag',
    						'field'    => 'term_id',
    						'terms'    => $recent_post_term,
    					),
    				);
    			}
    			
    			$recent_posts_query = new WP_Query( $args );
    
    			// The Loop
    			if ( $recent_posts_query->have_posts() ) {
    			while ( $recent_posts_query->have_posts() ) {
    				$recent_posts_query->the_post(); ?>
    					<ul class="single-arrow">
    						<li>
    							<a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>"><?php the_title(); ?></a>
    						</li>
    					</ul>
    			<?php  }
    				}
    
    			// Restore original Post Data
    			wp_reset_postdata();
    			?>		
    		</div>
    			<hr>
    			<?php
    		}
    		if ( ! empty( $media ) ) { ?>
    		 <div class="field"><h3>In The Media</h3>
    			 <?php echo wp_kses_post( $media ); ?></div>
    			<?php
    		}
    		?>

    If the ‘bfc_staff_metabox’ is turned off, the additional fields do not show (as intended). When on, they do. However, when switched off, the metaboxes should not show on Staff custom-post type in WP Admin (prior to the update this worked fine).

    Additionally, prior to the update, class' => 'double-arrows worked but now does not. It should add a class to the

    if ( ! empty( $media ) ) { ?>
    		 <div class="field"><h3>In The Media</h3>
    			 <?php echo wp_kses_post( $media ); ?></div>
    			<?php
    		}
    		?>

    section but does not. I also tried classes' => 'double-arrows but that doesn’t work either.

    Thank you for all the help – I really appreciate it!!

    In forum: Virtue Theme

    In reply to: Full Width Screen

    #163669

    Hey,
    It sounds like you’re not using a fullwidth page template and the space your talking about is your sidebar. please post a link when asking for support.

    Ben

    #163519

    Hi again, Hannah.

    Regarding this topic and your advice,

    2. In mobile view, I would like to place the language selection flags between the logo and the hamburger menu (a plugin called taptap). As shown in this image:

    https://imgur.com/uq7Lbpw

    I would like to add it as a widget in my header but I can’t seem to find where to do this. In the widgets section, there is a topbar/sidebar/footer option but I cannot seem to find how to add the language switcher to my header. Could you offer a bit of advice as to where in the settings I can add it? Thanks very much.

    Park

    #163517

    Hello Kevin,
    Thank you it works very well, i didn’t see that but i still have a problem. I’m using woocommerce brands and had to put it in the sidebar.
    <aside id=”ktsidebar” class=”<?php echo esc_attr(ascend_sidebar_class()); ?> kad-sidebar”>
    <div class=”sidebar”>
    <?php dynamic_sidebar( ascend_sidebar_id() ); ?>

    <?php $brands_terms =get_terms(‘product_brand’);
    if(!empty($brands_terms)){
    echo'<section id=”woocommerce_product_categories-5″ class=”widget-2 widget woocommerce widget_product_categories”>’;
    echo'<div class=”widget-inner”>’;
    echo'<h4 class=”widget-title”><span>Nos marques</span></h4>’;
    echo'<ul class=”product-categories”>’;
    foreach ($brands_terms as $brand) {

    echo ‘<li class=”cat-item”>term_id,’product_brand’).'”>’.$brand->name.’ ‘.’‘;
    # code…
    }
    echo’‘;
    echo'</div></section>’;
    }
    ?>

    </div><!– /.sidebar –>
    </aside><!– /aside –>

    So now, each time i display a sidebar in the content single product, it displays the menu brands. Is there a solution for that ?
    Thank you in advance.

    In forum: Virtue Theme
    #163163

    Hi there.

    I would like to make my sidebar menu highlight the active page.

    You can view the sidebar here:

    Right now I have this code:

    li.current-menu-item {
    background: #e02129;
    color: #ffffff;
    }

    Which works fine on the sub menu items like Standard Bins but if you choose a parent level it highlights the entire section. Example:

    Is there a way to fix this so it only highlights the active item?

    Thanks

    #163100

    Hi There,

    Hope you can help.

    I’m needing to create a completely blank page template so no header, footer, sidebar or any applied plugins, essentially a blank canvas.

    I need all your Virtue premium wonderfullness for the rest of the site but need a blank page to apply some custom work for a landing page.

    I have tried plugin called Blank Slate and creating a custom php file with only <?php /* Template Name: Custom Blank Page */ ?> in the themes/virtue_premium folder, but still get header, footer and sidebar.

    Your assistance would be much appreciated as always,

    Mark.

    #162984

    Having same issue, Virtue Premium theme not giving an option for left sidebar – I’m trying to do the left side-bar site wide. What’s the custom CSS I should use for this please?

    #162676

    In mobile view, when I add product in to shopping cart it doesn’t show in the shopping cart. After page refresh it will show added items.

    #162642

    Hey,
    I’m not seeing a sidebar on your blog page.

    When I switched, it showed more than one for the most recent posts

    More than one image? Where were they showing? What do you have the post summary set to from Theme Options > Blog Options?

    Hannah

    #162632

    Hannah, the widget area is great, but the blog is all messed up now.

    Before I switched to the premium theme I had a feature image for each post. When I switched, it showed more than one for the most recent posts. Now there is none at all, and I’m bak to the sidebar in the page, which I do not want. But when I swicth to full-width page, all my posts disappear. I really hope you an help me tonight so this will look right tomorrow.

    #162516
    This reply has been marked as private.
    #162501

    Hey John,
    If you wanted to go the page builder route and still have a full-width image you could create a row for your image, then create another row with a long right column that would function as your sidebar. Does that make sense?

    Looks like your homepage is using a flex slider and your other pages are using the kadence slider. Each slider will scale down a bit differently. If you’re using the featured page template for your pages you should see an option to use the flex slider. Otherwise, we can provide css to adjust your slider text only in mobile.

    Hannah

    #162481
    This reply has been marked as private.
    #162290
    This reply has been marked as private.
    In forum: Virtue Theme

    In reply to: Sidebars 101

    #162186

    Hello Mark,

    1. You can set the front page to be fullwidth in Theme Options> Home Layout.

    2. You need to use the “fullwidth” template when creating pages to make get rid of the sidebar.

    3. Primary Sidebar is always the default, so you simply need to edit the widget within the Primary Sidebar in Appearance> Widgets.

    Hopefully this is helpful!

    -Kevin

    In forum: Virtue Theme

    Topic: Sidebars 101

    #162182

    HI Ben and Hannah and Kevin

    How do I set the default page in my site to go to full width?
    How do I set no sidebar on the site entirely?
    How do I set the site to default to sidebar x or y instead of primary?

Viewing 20 results - 1,981 through 2,000 (of 5,356 total)