Ganesh Paygude
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Getting WordPress to work with Bootstrap carousel<div class=”container col-xs-6 col-sm-4″>
<div class=”carousel slide” id=”featured”><ol class=”carousel-indicators” style=”bottom:-50px;”>
<?php
$args = array( ‘category_name’ => ‘frontpage’, ‘posts_per_page’ => 1 );
$my_query = new WP_Query( $args );
$banner_count = 0;
while ( $my_query->have_posts() ) : $my_query->the_post();if( $banner_count == 0 ){
$active_item=”active”;
}
else
{
$active_item=””;
}
?>
<li style=”background-color:#ccc;” data-target=”#featured” data-slide-to=”<?php echo $banner_count; ?>” class=”<?php echo $active_item; ?>”>
<?php $banner_count++; endwhile; ?><div class=”carousel-inner”>
<?php $my_query = new WP_Query( $args );
$banner_count = 0;
while ( $my_query->have_posts() ) : $my_query->the_post();
if( $banner_count == 0 ){
$active_item=”active”;
}
else
{
$active_item=””;
}
?>
<div class=”item <?php echo $active_item; ?>”>
“><?php the_post_thumbnail(); ?>
</div>
<?php $banner_count++; endwhile; ?></div><!– carousel-inner –>
<span class=”glyphicon glyphicon-chevron-left”> </span>
<span class=”glyphicon glyphicon-chevron-right”> </span>
</div><!– carousel –>
</div><!– container –>`Forum: Fixing WordPress
In reply to: Getting WordPress to work with Bootstrap carouselHello jtm12 Please try the below updated code it will definitely help you:
<div class=”container col-xs-6 col-sm-4″>
<div class=”carousel slide” id=”featured”><ol class=”carousel-indicators” style=”bottom:-50px;”>
<?php
$args = array( ‘category_name’ => ‘frontpage’, ‘posts_per_page’ => 1 );
$my_query = new WP_Query( $args );
$banner_count = 0;
while ( $my_query->have_posts() ) : $my_query->the_post();if( $banner_count == 0 ){
$active_item=”active”;
}
else
{
$active_item=””;
}
?>
<li style=”background-color:#ccc;” data-target=”#featured” data-slide-to=”<?php echo $banner_count; ?>” class=”<?php echo $active_item; ?>”>
<?php $banner_count++; endwhile; ?><div class=”carousel-inner”>
<?php $my_query = new WP_Query( $args );
$banner_count = 0;
while ( $my_query->have_posts() ) : $my_query->the_post();
if( $banner_count == 0 ){
$active_item=”active”;
}
else
{
$active_item=””;
}
?>
<div class=”item <?php echo $active_item; ?>”>
“><?php the_post_thumbnail(); ?>
</div>
<?php $banner_count++; endwhile; ?></div><!– carousel-inner –>
<span class=”glyphicon glyphicon-chevron-left”> </span>
<span class=”glyphicon glyphicon-chevron-right”> </span>
</div><!– carousel –>
</div><!– container –>`Forum: Plugins
In reply to: [W3 Total Cache] There is no output on the screen?Can you Please Tell which type of output do you want on the screen ?
Forum: Plugins
In reply to: [WP eCommerce] how to add Per Product Add-onsUse Product Variations:
https://docs.woothemes.com/document/product-variations/Each accessory can be a variation and the price can be updated.
Forum: Fixing WordPress
In reply to: Adding categories and pagesCan Your Please Share Website link.
Forum: Networking WordPress
In reply to: How set on wp mu to read same content for site1 and mobile site2This plugin will useful for your requirement:
Forum: Themes and Templates
In reply to: [Pinnacle] Changing Header1 font colour for different pagesJust add below code in your css file
h1.kad-call-title{
color:#000;
}
change color code with your.Forum: Themes and Templates
In reply to: Stretched images and removal of meta slider?Go to Your Home page in Content Editor you will get the Meta slider Shortcode:[metaslider id=41] just remove this and update the page.
Forum: Themes and Templates
In reply to: [Theme: Graphene] Adding a photo gallery to my siteIf you want to use plugin for Gallery then go with:NextGEN Gallery
https://www.ads-software.com/plugins/nextgen-gallery/Forum: Themes and Templates
In reply to: 2 nav menus out of 3 showing same contentI WordPress admin goto \\
Appearance->Menus then click on manage location from here you can assign menu.
Forum: Themes and Templates
In reply to: Menu and header positionJust add the below lines in your theme css file:
.top-bar {
position: fixed !important;
}Forum: Themes and Templates
In reply to: [Pinnacle] WidgetCan you please check your sidebar.php file whether you have called right dynamic sidebar over their.
Forum: Themes and Templates
In reply to: [Sporty] Update of theme without childthemeIf you update the theme your custom things will be get overrided so its better to make child theme first add all the custom changes files in child theme and then go for update.
Just add below CSS in css file:
.widget-title a{
color: #FF33FF!important;
}Forum: Themes and Templates
In reply to: How to center footerJust add this below code in CSS file.
body #horizontal-menu-wrap {
float: none;
width: auto;
display: inline-table;
vertical-align: top;
}body #footer-banner {
text-align: center;
}