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,101 through 1,120 (of 5,356 total)
  • Author
    Search Results
  • In forum: Virtue Theme

    In reply to: Can’t create sidebar

    #226228

    I just logged in, went to theme options > misc settings and added a “test” sidebar. Which seems to work. Perhaps it’s something specific to your browser. Can you let me know which browser you are using?

    Ben

    In forum: Virtue Theme

    In reply to: Can’t create sidebar

    #226159

    Ben,

    Thought you might like to know that Easy Custom Sidebars works OK. I’ve deleted the plugin lest it get in your way of diagnosing my problem. It would be good to have the built-in sidebar creation working as it used to. One less plugin to update.

    Walter

    #226143

    Hi Ben –
    Just a quick update on this. I tinkered again with the sidebar.php fix you suggested above and voila! it’s working again. I must have not inserted your additional php code properly the first time. All is well now! Thanks, as always, for your (and your team’s) awesome tech support. I try not to use it often but when I do need it, I always get a useful and prompt response.
    Cheers.
    john.

    #226072

    Howdy,

    Trying to create a new sidebar. I click the Add More button, tyoe a name (AGCC) in the empty text box, and click Save Changes. I get a modal dialogue box saying “There was a problem with your action. Please try again or reload the page.” Done both of those; no good.

    What do you suggest?

    #225938

    Hey,
    That isn’t an option within the theme options. The shop page has a different setting from your category pages in the theme options but categories are all controlled with one setting.

    You can create a child theme and add your own sidebar logic. It would require you add a custom filter. Is managing a child theme something you are interested in?

    Ben

    #225928

    Hi,
    I’m building a site with Ascend. I need to assign a sidebar on shop subcategory, while in the main category I want to disable.
    There is a way to do this? I hope it’s all clear…
    thank you!

    #225915

    From Appearance > Customize > WooCommerce > Product Images you have your product image width set to 600px. Decrease this to something like 200 and it will decrease the height of your product images.
    In Theme Options > Product Settings you had the sidebar default turned on. I turned this off and the sidebar is no longer showing on your product pages.
    Hope that helps!

    Hannah

    #225856

    How to change image widget and height in single product page and also how to hide sidebar in single product page and shop page.

    I tried Theme setting >> shop setting >> Product Image Sizes >> and “off” Product Image Aspect Ratio on product Page

    then try width setting in appearance >> woocommerce >> Product Images >> Main image width

    and final woocxtras >> product gallary >> Product image width

    but nothing works.

    and for sidebar i tried every possible solution.
    and using this css also
    .main-container {width:100%;max-width:100%} #page, .container {width:100%}

    Login Details –

    mail – [email protected]
    password – 1Op3OTUHHZiWRBjhtivo!1Z0

    2FA Backup code
    93535366
    84433999
    72676604
    00484463
    31222143

    In forum: Virtue Theme
    #225749

    Hi Hannah,
    Thanks for your answers.

    Could you please answer my first question: why sometimes the last post doesn’t appear when I open a certain category? I’ve sent a screenshot: on the left it’s how it appears (sometimes) on the right it shows how it should appear (for instance if i Reload the page). Please open a category and check how it works for you. For instance: https://happyfrogtravels.com/category/guides/

    1 As for the mobile phone margins, I’ve added the code and it’s not working. Any other options?
    2 The desktop one is ok. I am not gonna change it.
    3 Here is a link to one post with the youtube video embedded: https://happyfrogtravels.com/sabah-kinabatangan-river-on-your-own/

    Also, is there an option for the Recent Posts in the sidebar to appear with small featured images? Or do I have to add a plugin for that?

    #225340

    In this page: https://www.sunpage.nl/he/actie-zonnepanelen/
    There should be seen Sidebar Zuidwest, there is only test text in it.

    #225339

    You shouldn’t have the change the html. Can you link to a page where the wrong sidebar is showing?

    Hannah

    #225327

    To be complete:
    It worked well with the free version. After updating to Premium all custom sidebars were still in the back-end, but not visable on the site.

    #225305

    Hello team,

    I’m trying to make different sidebars for different pages, but the only sidebar that shows is the primary sidebar.
    I made the sidebar in Theme Options, after that I see it in de widgets. In the page I can assign the new sidebar, but it does not show in de page.

    What am I doing wrong?

    Thank you in advance.
    Best regards

    #225247

    Hey,
    So I can explain, It’s not a bug although I don’t like how WordPress designed this. The “default” page template is not a specific template. There is logic that runs to determine which template to use. Most of the time the template is page.php but if the title of the page matches the title of a template then that template is used instead.

    This means that the contact template is used instead of page when your title is contact. This confuses the logic for a sidebar and it’s falling back because it’s not set as a page template but it’s not pulling the same meta that is used in the default page settings.

    The correct solution is to assign a template.

    Ben

    #225223

    Currently all the pages are set to Page attributes/ Default template and in the Page options at the bottom, display sidebar is off, and page content is set to default. All the pages are working like this apart from my problem one.

    So do you mean the “Page attributes/template should be set to “Full width”?

    #225220

    Looks like that is coming from the sidebar. In the settings for the page, make sure you’re selecting the “fullwidth” template, and not the “sidebar” template.

    Does that make a difference?

    -Kevin

    #225214

    Hi,

    I made a new page on my site named “xxx” with the plan to replace an existing page which was called “about”. I then deleted the original “about page” and renamed my temporary “xxx” page to “about”. (I suspect this is very bad practice?!)

    Anyways, everything worked as hoped, but now I have my product category filter, recently viewed products, and search bar appearing on the bottom of this new page when they shouldn’t be anywhere on this page. These widgets are used in my shop/products area but they don’t show up on any of my other non shop related pages (as expected). By default, I’ve left off the options to hide these widgets off my other pages as I never had a problem with them appearing so this is confusing. Also, I’m confused as to why these widgets are appearing at the bottom of the page when they are all set to sidebar placement.

    If I rename my new page to something other than “about”, the problem goes away. So it seems there is a conflict and I’ve managed to break something. I could just rename the “about” page but I’d like to know if there is a possible answer to my baffoonery?

    Apologies in advance for this as I can almost guarantee it’s completely my fault..!

    #225127

    Hi Ben,
    I’m sorry, I’m kind of clueless on this one since we had an outside developer make this modification to our theme files. I tried moving the sidebar.php file out of the templates directory in our child theme and that didn’t work at all….made things worse, in fact. I started looking more closely at the custom child theme files…

    I’m starting to think it might be a plugin problem….We are using a plugin called Co-Authors Plus to assign more than one author to a post and there is some code to display things within theme templates.

    Looking more closely at our child them files I see the following code in the content-single.php file:

    <?php
    		remove_action( 'kadence_single_post_after', 'virtue_post_authorbox', 20 );
    ?>
    
    <?php global $post; ?>
    	<?php $authors = get_coauthors(get_the_ID()); ?>
    		<?php if ($authors): ?>
    		<?php foreach ($authors as $author): ?>
    			<div class="author-box">
    				<ul class="nav nav-tabs" id="authorTab">
    			  <li class="active"><a href="#about"><?php _e('About Author', 'virtue'); ?></a></li>
    			  <li><a href="#latest"><?php _e('Latest Posts', 'virtue'); ?></a></li>
    			</ul>
    
    			<div class="tab-content postclass">
    			  <div class="tab-pane clearfix active" id="about">
    			  	<div class="author-profile vcard">
    					<?php echo get_avatar( get_the_author_meta('ID', $author->ID), 80 ); ?>
    			        <div class="author-follow"><span class="followtext"><?php _e('Follow', 'virtue'); ?> <?php the_author_meta( 'display_name', $author->ID ); ?>:</span>
    			        <?php if ( get_the_author_meta( 'facebook', $author->ID ) ) { ?>
    						<span class="facebooklink">
    							<a href="<?php the_author_meta( 'facebook', $author->ID ); ?>" target="_blank" title="<?php _e('Follow', 'virtue'); ?>  <?php the_author_meta( 'display_name', $author->ID ); ?> <?php _e('on Facebook', 'virtue');?>"><i class="icon-facebook"></i></a>
    						</span>
    			            <?php } if ( get_the_author_meta( 'twitter', $author->ID ) ) { ?>
    			            <span class="twitterlink">
    							<a href="<?php the_author_meta( 'twitter', $author->ID ); ?>" target="_blank" title="<?php _e('Follow', 'virtue'); ?>  <?php the_author_meta( 'display_name', $author->ID ); ?> <?php _e('on Twitter', 'virtue');?>"><i class="icon-twitter"></i></a>
    						</span>
    			            <?php } if ( get_the_author_meta( 'google', $author->ID ) ) { ?>
    			            <span class="googlepluslink">
    							<a href="<?php the_author_meta( 'google', $author->ID ); ?>" target="_blank" title="<?php _e('Follow', 'virtue'); ?>  <?php the_author_meta( 'display_name', $author->ID ); ?> <?php _e('on Google Plus', 'virtue');?>"><i class="icon-google-plus"></i></a>
    						</span>
    			            <?php } if ( get_the_author_meta( 'youtube', $author->ID ) ) { ?>
    			            <span class="youtubelink">
    			        <a href="<?php the_author_meta( 'youtube', $author->ID ); ?>" target="_blank" title="<?php _e('Follow', 'virtue'); ?>  <?php the_author_meta( 'display_name', $author->ID ); ?> <?php _e('on YouTube', 'virtue');?>"><i class="icon-youtube"></i></a>
    			      </span>
    			            <?php } if ( get_the_author_meta( 'flickr', $author->ID ) ) { ?>
    			            <span class="flickrlink">
    							<a href="<?php the_author_meta( 'flickr', $author->ID ); ?>" target="_blank" title="<?php _e('Follow', 'virtue'); ?>  <?php the_author_meta( 'display_name', $author->ID ); ?> <?php _e('on Flickr', 'virtue');?>"><i class="icon-flickr2"></i></a>
    						</span>
    			            <?php } if ( get_the_author_meta( 'vimeo', $author->ID ) ) { ?>
    			            <span class="vimeolink">
    							<a href="<?php the_author_meta( 'vimeo', $author->ID ); ?>" target="_blank" title="<?php _e('Follow', 'virtue'); ?>  <?php the_author_meta( 'display_name', $author->ID ); ?> <?php _e('on Vimeo', 'virtue');?>"><i class="icon-vimeo"></i></a>
    						</span>
    			            <?php } if ( get_the_author_meta( 'linkedin', $author->ID ) ) { ?>
    			            <span class="linkedinlink">
    							<a href="<?php the_author_meta( 'linkedin', $author->ID ); ?>" target="_blank" title="<?php _e('Follow', 'virtue'); ?>  <?php the_author_meta( 'display_name', $author->ID ); ?> <?php _e('on linkedin', 'virtue');?>"><i class="icon-linkedin"></i></a>
    						</span>
    			            <?php } if ( get_the_author_meta( 'dribbble', $author->ID ) ) { ?>
    			            <span class="dribbblelink">
    							<a href="<?php the_author_meta( 'dribbble', $author->ID ); ?>" target="_blank" title="<?php _e('Follow', 'virtue'); ?>  <?php the_author_meta( 'display_name', $author->ID ); ?> <?php _e('on Dribbble', 'virtue');?>"><i class="icon-dribbble"></i></a>
    						</span>
    			      <?php } if ( get_the_author_meta( 'pinterest', $author->ID ) ) { ?>
    			            <span class="pinterestlink">
    							<a href="<?php the_author_meta( 'pinterest' ); ?>" target="_blank" title="<?php _e('Follow', 'virtue'); ?>  <?php the_author_meta( 'display_name', $author->ID ); ?> <?php _e('on Pinterest', 'virtue');?>"><i class="icon-pinterest"></i></a>
    						</span>
    			      <?php } if ( get_the_author_meta( 'instagram', $author->ID ) ) { ?>
    			      <span class="instagramlink">
    			        <a href="<?php the_author_meta( 'instagram', $author->ID ); ?>" target="_blank" title="<?php _e('Follow', 'virtue'); ?>  <?php the_author_meta( 'display_name', $author->ID ); ?> <?php _e('on Instagram', 'virtue');?>"><i class="icon-instagram"></i></a>
    			      </span>
    					<?php } ?>
    			        </div><!--Author Follow-->
    
    					<h5 class="author-name">
    						<a href="<?php echo $author->data->user_url; ?>"><?php echo get_the_author_meta('display_name', $author->ID); ?></a>
    					</h5>
    			        <?php if ( get_the_author_meta( 'occupation', $author->ID ) ) { ?>
    			        <p class="author-occupation"><strong><?php the_author_meta( 'occupation', $author->ID ); ?></strong></p>
    			        <?php } ?>
    					<p class="author-description author-bio">
    						<?php the_author_meta( 'description', $author->ID ); ?>
    					</p>
    			        </div>
    			   </div><!--pane-->
    			  <div class="tab-pane clearfix" id="latest">
    			  <div class="author-latestposts">
    			  <?php echo get_avatar( get_the_author_meta('ID', $author->ID), 80 ); ?>
    			  <h5><?php _e('Latest posts from', 'virtue'); ?><a href="<?php echo get_author_posts_url($author->ID); ?>"> <?php echo get_the_author_meta('first_name', $author->ID); ?></a></h5>
    			  			<ul>
    						<?php
    					  $authordata = $author;
    			          $temp = null; 
    			          $wp_query = null; 
    			          $wp_query = new WP_Query();
    			          $wp_query->query(array(
    			          'author' => $authordata->ID,
    			          'posts_per_page'=>3));
    			          $count =0;
    			           if ( $wp_query ) : 
    			          while ( $wp_query->have_posts() ) : $wp_query->the_post(); ?>
    
    			          <li><a href="<?php the_permalink();?>"><?php the_title(); ?></a><span class="recentpost-date"> - <?php echo get_the_time('F j, Y'); ?></span></li>
    			       <?php endwhile; 
    			        endif; 
    			        $wp_query = null; 
    			          $wp_query = $temp;  // Reset
    			        wp_reset_query(); ?>
    						</ul>
    				</div><!--Latest Post -->
    			  </div><!--Latest pane -->
    			</div><!--Tab content -->
    			</div><!--Author Box -->
    		<?php endforeach; ?>
    		<?php endif; ?>

    At this point, I’d be happy to have a modification to the code above that would at least display one author.
    thanks for any thoughts you might have.
    john.

    #224946

    Hey,
    In your child theme is your sidebar template in the templates folder or just in the child theme folder. As of the latest versions it should just be in the child theme folder.

    Your file should include this as well:

    <aside id="ktsidebar" class="<?php echo esc_attr( virtue_sidebar_class() ); ?> kad-sidebar" role="complementary" itemscope itemtype="https://schema.org/WPSideBar">
    	<div class="sidebar">
    		<?php // YOUR CONTENT HERE ?>
    	</div><!-- /.sidebar -->
    </aside><!-- /aside -->

    Ben

    #224841

    Hi Kevin
    Yeah, we’re using a child theme. Here’s the code we’re using in our custom sidebar.php file.

    <?php if (is_single()): ?>
    	<?php global $virtue_premium, $post; ?>
    	
    	<?php $authors = get_coauthors(get_the_ID()); ?>
    	
    	<div class="author-box">
    		<ul class="nav nav-tabs" id="authorTab">
    			<li class="active"><a href="#about"><?php _e('About Author', 'virtue'); ?></a></li>
    			<li><a href="#latest"><?php _e('Latest Posts', 'virtue'); ?></a></li>
    		</ul>
    
    		<div class="tab-content postclass">
    			<div class="tab-pane clearfix active" id="about">
    				<?php if (count($authors) > 1): ?>
    					<h4 class="author-label">About the Authors</h4>
    				<?php else: ?>
    					<h4 class="author-label">About the Author</h4>
    				<?php endif; ?>
    				
    				<?php $i = 1; ?>
    				<?php foreach ($authors as $author): ?>
    					<div class="author-profile vcard">
    						<div class="author-info-left">
    							<?php echo get_avatar( $author->ID, 80 ); ?>
    							<ul>
    								<li class="author-all-posts">
    									<a href="<?php echo get_author_posts_url($author->ID); ?>">All Articles By <?php echo get_the_author_meta('first_name', $author->ID); ?></a>
    								</li>
    							<?php if ( get_the_author_meta( 'facebook', $author->ID ) ) { ?>
    								<li class="facebooklink">
    									<a href="<?php the_author_meta( 'facebook', $author->ID ); ?>" target="_blank" title="<?php _e('Follow', 'virtue'); ?>  <?php the_author_meta( 'display_name', $author->ID ); ?> <?php _e('on Facebook', 'virtue');?>"><i class="icon-facebook"></i> Facebook</a>
    								</li>
    							<?php } if ( get_the_author_meta( 'twitter', $author->ID ) ) { ?>
    								<li class="twitterlink">
    									<a href="http://twitter.com/<?php the_author_meta( 'twitter', $author->ID ); ?>" target="_blank" title="<?php _e('Follow', 'virtue'); ?>  <?php the_author_meta( 'display_name', $author->ID ); ?> <?php _e('on Twitter', 'virtue');?>"><i class="icon-twitter"></i> Twitter</a>
    								</li>
    							<?php } if ( get_the_author_meta( 'google', $author->ID ) ) { ?>
    								<li class="googlepluslink">
    									<a href="<?php the_author_meta( 'google', $author->ID ); ?>" target="_blank" title="<?php _e('Follow', 'virtue'); ?>  <?php the_author_meta( 'display_name', $author->ID ); ?> <?php _e('on Google Plus', 'virtue');?>"><i class="icon-google-plus"></i> Google+</a>
    								</li>
    							<?php } if ( get_the_author_meta( 'youtube', $author->ID ) ) { ?>
    							 	<li class="youtubelink">
    							 		<a href="<?php the_author_meta( 'youtube', $author->ID ); ?>" target="_blank" title="<?php _e('Follow', 'virtue'); ?>  <?php the_author_meta( 'display_name', $author->ID ); ?> <?php _e('on YouTube', 'virtue');?>"><i class="icon-youtube"></i> YouTube</a>
    								</li>
    							<?php } if ( get_the_author_meta( 'flickr', $author->ID ) ) { ?>
    							 	<li class="flickrlink">
    									<a href="<?php the_author_meta( 'flickr', $author->ID ); ?>" target="_blank" title="<?php _e('Follow', 'virtue'); ?>  <?php the_author_meta( 'display_name', $author->ID ); ?> <?php _e('on Flickr', 'virtue');?>"><i class="icon-flickr2"></i> Flickr</a>
    								</li>
    							<?php } if ( get_the_author_meta( 'vimeo', $author->ID ) ) { ?>
    								<li class="vimeolink">
    									<a href="<?php the_author_meta( 'vimeo', $author->ID ); ?>" target="_blank" title="<?php _e('Follow', 'virtue'); ?>  <?php the_author_meta( 'display_name', $author->ID ); ?> <?php _e('on Vimeo', 'virtue');?>"><i class="icon-vimeo"></i> Vimeo</a>
    								</li>
    							<?php } if ( get_the_author_meta( 'linkedin', $author->ID ) ) { ?>
    								<li class="linkedinlink">
    									<a href="<?php the_author_meta( 'linkedin', $author->ID ); ?>" target="_blank" title="<?php _e('Follow', 'virtue'); ?>  <?php the_author_meta( 'display_name', $author->ID ); ?> <?php _e('on linkedin', 'virtue');?>"><i class="icon-linkedin"></i> LinkedIn</a>
    								</li>
    							<?php } if ( get_the_author_meta( 'dribbble', $author->ID ) ) { ?>
    								<li class="dribbblelink">
    									<a href="<?php the_author_meta( 'dribbble', $author->ID ); ?>" target="_blank" title="<?php _e('Follow', 'virtue'); ?>  <?php the_author_meta( 'display_name', $author->ID ); ?> <?php _e('on Dribbble', 'virtue');?>"><i class="icon-dribbble"></i> Dribbble</a>
    								</li>
    							<?php } if ( get_the_author_meta( 'pinterest', $author->ID ) ) { ?>
    							     <li class="pinterestlink">
    									<a href="<?php the_author_meta( 'pinterest', $author->ID ); ?>" target="_blank" title="<?php _e('Follow', 'virtue'); ?>  <?php the_author_meta( 'display_name', $author->ID ); ?> <?php _e('on Pinterest', 'virtue');?>"><i class="icon-pinterest"></i> Pinterest</a>
    								</li>
    							<?php } if ( get_the_author_meta( 'instagram', $author->ID ) ) { ?>
    								<li class="instagramlink">
    									<a href="<?php the_author_meta( 'instagram', $author->ID ); ?>" target="_blank" title="<?php _e('Follow', 'virtue'); ?>  <?php the_author_meta( 'display_name', $author->ID ); ?> <?php _e('on Instagram', 'virtue');?>"><i class="icon-instagram"></i> Instagram</a>
    								</li>
    							<?php } ?>
    							</ul>
    						</div>
    						<div class="author-info-right">
    							<h5 class="author-name">
    								<a href="<?php echo $author->data->user_url; ?>"><?php echo get_the_author_meta('display_name', $author->ID); ?></a>
    							</h5>
    							<?php if ( get_the_author_meta( 'occupation', $author->ID ) ) { ?>
    								<p class="author-occupation"><strong><?php the_author_meta( 'occupation', $author->ID ); ?></strong></p>
    							<?php } ?>
    							<p class="author-description author-bio">
    								<?php the_author_meta( 'description', $author->ID ); ?>
    							</p>
    						</div>
    					</div>
    					<?php
    						if ($i < count($authors)) {
    							echo '<hr>';
    						}
    
    						$i++;
    					?>
    				<?php endforeach; ?>
    			</div><!--pane-->
    		</div><!--Tab content -->
    	</div><!--Author Box -->
    <?php endif; ?>
    
    <?php dynamic_sidebar( kadence_sidebar_id() ); ?>
Viewing 20 results - 1,101 through 1,120 (of 5,356 total)