Hi,
I need to be able to change the transition speed of the carousel.
By this, I mean how fast it actual slides (not the interval)
If you could help point me in the right direction, it’d be much appreciated.
]]>I assume the plugin works great, it’s just my 4.3.1 version of WP doesn’t work with it. Whenever I put all the code and information in, it just vertically displays the number of images (1. 2. 3. 4.) followed by the images themselves (vertically of course). Nothing moves, nothing is clickable, and it’s obviously not in slider or carousel format.
https://www.ads-software.com/plugins/agnosia-bootstrap-carousel/
]]>As the title says..
I’m want to know how to make the image title link to a certain page… instead of the attachment page… Could I use .htaccess for this? or is there a way to do this in the code?.
-Thanks in advance
https://www.ads-software.com/plugins/agnosia-bootstrap-carousel/
]]>Thanks for this plugin.
I enjoy it a lot, but would really like to see …
1. A settings screen to edit default options, so I don’t have to repeat the same attributes in every shortcode,
and/or
2. A UI somewhere on the edit screen to generate and insert the correct shortcode, so I don’t have to remember all the attributes.
Unfortunately I’m not a strong enough programmer to contribute myself, and I’m not sure how easily and lightly this could be done. However, it would make the plugin easier to use, and as such a better fit for clients’ sites.
https://www.ads-software.com/plugins/agnosia-bootstrap-carousel/
]]>the carousel is not automatically starting to rotate through the images when the page loads – it will only begin rotating through once the left or right arrow has been clicked.
https://www.ads-software.com/plugins/agnosia-bootstrap-carousel/
]]>Hi,
placing shortcode into single.php to show different gallery in each post.
I need to directly step by step. Thank you
https://www.ads-software.com/plugins/agnosia-bootstrap-carousel/
]]>Would it be possible to use something like [gallery type="carousel" category="forslider"]
instead of [gallery type="carousel" ids="61,60,59"]
?
https://www.ads-software.com/plugins/agnosia-bootstrap-carousel/
]]>Not being an expert in Bootstrap or WordPress I had to google myself out of existence looking for something that this plugin does just “right out of the box”. Maybe this is not the place to do this but, I don’t care. Agnosia Bootstrap Carousel is awesome!
https://www.ads-software.com/plugins/agnosia-bootstrap-carousel/
]]>I can’t find the plugin after it’s been activated for the network.
https://www.ads-software.com/plugins/agnosia-bootstrap-carousel/
]]>I’m working on a temnplate for use with a gallery post format. I’d like to use do_shortcode to present a gallery that is compatible with this plugin, but I can’t seem to get it to work. Here’s what I’ve tried:
<?php echo do_shortcode('[gallery type="carousel"]'); ?>
This will create the HTML for the gallery, but the image tags are missing. Incidentally, if I add the ids
attribute to the gallery short tag, then it will work, but then I’d have to get the Id numbers every time, and I’m not sure how to do that.
Does anybody have any ideas how to fix this?
https://www.ads-software.com/plugins/agnosia-bootstrap-carousel/
]]>Hi there,
Great plugin! I am using it successfully, but with a couple issues and I cannot find out if it is due to the theme I’m using or what.
I am using the Woothemes Canvas theme
This issue is that the link=file option in shortcode is not working. Here is my shortcode: [gallery type="carousel" link="file" ids="19,20,21,22,23"]
I am using the Twitter Bootsrap CSS plugin to provide all bootstrap files. Could this be part of the issue?
Check out the site at https://logicode/gallery
I noticed in the class.php file in the plugin directory there is no href around the generated carousel images. how do you create the link to file then?:
/**
* Get HTML-formatted image for a carousel item.
*
* @param array $post A WordPress $post object.
* @return string HTML result.
*/
private function get_img( $post ) {
extract( $this->attributes );
$output = '';
$image = wp_get_attachment_image_src( $post['ID'] , $size );
$output .= '<img alt="' . $post['post_title'] . '" src="' . $image[0] . '" />';
$output = apply_filters( 'agnosia_bootstrap_carousel_img', $output, $image[0], $this->attributes, $post );
return $output;
}
Thanks a million!
https://www.ads-software.com/plugins/agnosia-bootstrap-carousel/
]]>Hello. Thank you for your very useful plugin!
I wanted to replace “<” and “>” by glyphicon as in Examples Bootstrap, because otherwise “laquo” and “raquo” are not always well positioned in height. In addition, it is faster to retrieve css styles Bootstrap directly without having to change …
I did not find how to do with presentation options you offer. So I added a little script to bottom of page to replace elements with jQuery:
<script type="text/javascript">
$(document).ready(function() {
$('a.carousel-control.left').html('<span class="glyphicon glyphicon-chevron-left"></span>');
$('a.carousel-control.right').html('<span class="glyphicon glyphicon-chevron-right"></span>');
});
</script>
It works, but it may not be the best solution … If you have a better solution would be good.
https://www.ads-software.com/plugins/agnosia-bootstrap-carousel/
]]>hello,
i installed everything included bootstrap and jquery
it works fine but the slideshow does not start
and i noticed i had “undefined” error in javascript console
jQuery(document).ready( function() { jQuery(‘#agnosia-bootstrap-carousel’).carousel( { interval : 5000 , pause : “hover” } ); } );
plz help me out
thx
https://www.ads-software.com/plugins/agnosia-bootstrap-carousel/
]]>Shows images in vertical row, html-style–no carousel, no nothin. Both Safari and Chrome, yes javascript enabled.
https://www.ads-software.com/plugins/agnosia-bootstrap-carousel/
]]>Hi,
placing shortcode into single.php to show different gallery in each post.
Placing the shortcode outside the the_content():
tag
Could you help me?
Hola,
gracias por este fantastico plugin.
Necesito colocar el carrusel en el archivo single.php para que cada post muestre automaticamente las imagenes de su galería nativa.
No hay problema cuando el shortcode es cargado dentro de <?php the_content(); ?>
pero quiero colocar el carusel fuera del editor de articulos y no encuentro cómo hacerlo.
He probado poniendo el shortcode de este modo:
<?php //echo do_shortcode('[gallery type="carousel" ids="323,321" size="full"]'); ?>
pero, lógicamente, todos los posts muestran siempre las imagenes 323,321
Puedes darme alguna pista? Gracias de antemano.
s.
https://www.ads-software.com/plugins/agnosia-bootstrap-carousel/
]]>Since the 3.7.1 Agnosia doesn’t work anymore.
https://www.ads-software.com/plugins/agnosia-bootstrap-carousel/
]]>I used your agnosia plugin – then wound up basically rewriting it.
Thought I would return the favor by sharing the revamped code with you.
<?php
/**
* @package Bootstrap_Carousel
* @version 0.3
*/
/*
Plugin Name: Bootstrap Carousel
Plugin URI: https://www.ads-software.com/extend/plugins/agnosia-bootstrap-carousel/
Description: A gallery replacment shortcode that generates HTML and javascript for a Bootstrap style Carousel
Author: William Staves
Author URI: https://pacecommunications.com/
Version: 0.2
*/
add_shortcode( 'bootstrap_carousel', 'pi_bootstrap_carousel_gallery_shortcode' ); /* Add custom shortcode */
add_shortcode( 'pi_bootstrap_carousel', 'pi_bootstrap_carousel_gallery_shortcode' ); /* Add custom shortcode */
function pi_bootstrap_carousel_gallery_shortcode( $attr )
{
static $instance = 0;
$instance++;
extract( shortcode_atts( array(
'ids' => '',
'name' => 'agnosia-bootstrap-carousel_'.$instance,
'width' => '',
'height' => '',
'indicators' => 'before-inner',
'control' => true,
'interval' => 5000,
'pause' => 'hover',
'titletag' => 'h4',
'title' => true,
'text' => true,
'wpautop' => true,
'containerclass' => '',
'itemclass' => '',
'captionclass' => '',
), $attr ) );
if( $interval == '0' )
$interval = false;
$control = ( bool ) $control;
$title = ( bool ) $title;
$text = ( bool ) $text;
$wpautop = ( bool ) $wpautop;
$images = explode( ',', $ids );
$unsorted_posts = get_posts( array(
'post__in' => $images,
'post_type' => 'attachment',
'posts_per_page' => -1
) );
//assert image order
$posts = array( );
foreach ( $images as $image_id )
{
foreach ( $unsorted_posts as $i => $post )
{
if( $post->ID == $image_id )
{
$posts[] = $post;
unset( $unsorted_posts[$i] );
}
}
}
$output = '';
if( is_array( $posts ) and !empty( $posts ) )
{
/* Define width of carousel container */
$container_style = '';
if( $width )
$container_style = 'style="width: '.$width.'"';
$item_style = '';
if( $height )
$item_style = 'style="width: '.$height.'"';
//Loop once to build panels and indicators
$indicators_html = '<ol class="carousel-indicators">';
$panels = '';
foreach ( $posts as $i => $post )
{
$class = '';
if( $i == 0 )
$class = 'active ';
//build indicators
$indicators_html .= '<li data-target="#'.$name.'" data-slide-to="'.$i.'" class="'.$class.'">';
//build inner panels
$image = wp_get_attachment_image_src( $post->ID, 'full' );
$panels .= '<div style="z-index:90;" class="'.$class.'item '.$itemclass.'" data-slide-no="'.$i.'" '.$item_style.'>';
$panels .= '<img alt="'.$post->post_title.'" src="'.$image[0].'" />';
if( $title || ($text && !empty( $post->post_excerpt )) )
{
$panels .= '<div class="carousel-caption '.$captionclass.'">';
if( $title )
$panels .= '<'.$titletag.'>'.$post->post_title.'</'.$titletag.'>';
if( $text )
{
if( $wpautop )
$panels .= wpautop( $post->post_excerpt );
else
$panels .= $post->post_excerpt;
}
$panels .= '</div>';
}
$panels .= '</div>';
}
$indicators_html .= '';
/* Initialize carousel HTML. */
$output = '<div style="z-index:100;" id="'.$name.'" class="carousel slide '.$containerclass.'" '.$container_style.'>';
/* Try to obtain indicators before inner. */
if( $indicators == 'before-inner' )
$output.=$indicators_html;
/* Initialize inner. */
$output .= '<div class="carousel-inner">'.$panels.'</div>';
/* Try to obtain indicators after inner. */
if( $indicators == 'after-inner' )
$output.=$indicators_html;
if( $control )
{
$output .= '<a href="#'.$name.'">?</a>';
$output .= '<a href="#'.$name.'">?</a>';
}
/* Try to obtain indicators after control. */
if( $indicators == 'after-control' )
$output.=$indicators_html;
/* End carousel HTML. */
$output .= '</div>';
/* Obtain javascript for carousel. */
ob_start();
?>
<script type="text/javascript">
jQuery(document).ready(function() {
jQuery('#<?php echo $name ?>').carousel({interval: <?php echo ($interval === false) ? 'false' : $interval ?>, pause: "<?php echo $pause ?>"});
jQuery('#<?php echo $name ?>').swipe({
//Generic swipe handler for all directions
swipe: function(event, direction, distance, duration, fingerCount) {
if (direction == 'left')
jQuery('#<?php echo $name ?>').carousel('next')
else if (direction == 'right')
jQuery('#<?php echo $name ?>').carousel('prev')
},
//Default is 75px, set to 0 for demo so any distance triggers swipe
threshold: 0
});
});
</script>
<?php
$script = ob_get_contents();
ob_end_clean();
$output.=$script;
}
return $output;
}
[Moderator Note: Please post code or markup between backticks or use the code button. Or better still – use a pastebin. Your posted code may now have been permanently damaged by the forum’s parser.]
https://www.ads-software.com/plugins/agnosia-bootstrap-carousel/
]]>I’ve added for a customer project an additional Attribute called ‘size’ to the shortcode.
The new size attribute refer to the wp build-in function “wp_get_attachment_image_src()” which is currenty fixed with “full”.
Maybe this is an usecase for another user? I can send you the source file if you let me know your email address.
https://www.ads-software.com/plugins/agnosia-bootstrap-carousel/
]]>Hi the transition between slides is jumpy. I’m using 4 images of exactly the same height, 584px and each time they transition from one image to another there’s a little shrink that occurs. It’s making for a very jumpy site – not good at all.
Can you help?
Sandbox: https://www.mbcsolutions.net/thesis
Bootstrap: Twitter Bootstrap Plugin (from iControlWP)
Cheers,
John
https://www.ads-software.com/plugins/agnosia-bootstrap-carousel/
]]>It seems the shortcode provided for your plugin is not working with roots. When I add it to a page with the IDs I just get a gallery of the images with those IDs not a carousel. Do you have any insight?
https://www.ads-software.com/extend/plugins/agnosia-bootstrap-carousel/
]]>Looks like very nice plugin!
I get the following: Uncaught TypeError: Object [object Object] has no method 'carousel'
it happens on line with this when I inspect the source code of a website: jQuery(document).ready( function() { jQuery('#agnosia-bootstrap-carousel').carousel( { interval : 5000 , pause : "hover" } ); } );
I just installed this plugin on WordPress 3.6-RC1.
Thanks for looking into this!
https://www.ads-software.com/extend/plugins/agnosia-bootstrap-carousel/
]]>Hi I am just about brand new to wordpress and coding in general but I am working my way up the learning curve.
I am using the Agnosia Bootstrap Carousel by AuSoft to make a carousel for my home page and I really like it but Im having trouble with one part.
There is a gray bar at the bottom that is normally used to display the title of the image being shown, but I have the titles disabled. The bar is still there and sticks out past the right side of the image. The left side lines up perfectly, but the right side sticks out about 20 px further than the edge of the picture. the scroll button on the right seems to be missing the edge as well. I tried fooling with the images I was using to see if that worked (making them smaller and larger and going from jpeg to png) but cant get it to change at all.
you can see my page here 2ndstorygoods.us (its really rough right now)
Any help is really appreciated!
Thanks
Brandon
https://www.ads-software.com/extend/plugins/agnosia-bootstrap-carousel/
]]>