Phil Ewels
Forum Replies Created
-
Forum: Plugins
In reply to: [CPT Bootstrap Carousel] Incompability with "CM Tooltip Glossary"Hi there,
This is more of a query for CM Tooltip Glossary than it is for this plugin, it’s that functionality that isn’t working rather than the carousel. I suspect that it’s due to the code from shortcodes being protected from this behaviour. That’s usually a good thing – it prevents one plugin from accidentally breaking another.
Your best bet is to contact the authors of that plugin though, they’ll know best how to tackle this. If you figure it out, it would be great if you post the answer here though 🙂
Cheers,
Phil
Forum: Plugins
In reply to: [CPT Bootstrap Carousel] Image SizeHi Kathy,
The Bootstrap carousel resizes to fit the container that it’s within, so it depends on the theme..
Phil
Forum: Plugins
In reply to: [CPT Bootstrap Carousel] Disable animation not workingNo worries – just made the change in github so it will go out with the next release. Thanks for reporting it!
https://github.com/ewels/cpt-bootstrap-carousel/commit/b0603c8dcd9093db2f0d7b2f062a11786d8042bfPhil
Forum: Plugins
In reply to: [CPT Bootstrap Carousel] Disable animation not workingYup, just had a look – the offending code is here:
https://github.com/ewels/cpt-bootstrap-carousel/blob/master/trunk/cptbc-settings.php#L303-L306This is part of the data cleanup – if you add a text string in that box instead, the
absint()function will return0, so I replace0with the default value.I don’t think I’ll bother to fix this if that’s ok, but feel free to convince me otherwise if you think I should!
Phil
Forum: Plugins
In reply to: [CPT Bootstrap Carousel] Disable animation not workingHi John,
Apologies, this is probably a bug in the code where it thinks that the variable hasn’t been set. Variables set to
0can evaluate as beingfalse, giving this kind of behaviour.I’m not sure that this is a huge problem as I don’t think that many people can tell the difference between 0 delay and a 1ms delay 🙂 Feel free to add it as a bug though, and I’ll get to it when I can:
https://github.com/ewels/cpt-bootstrap-carousel/issuesPhil
Forum: Plugins
In reply to: [CPT Bootstrap Carousel] White Space between imagesGreat, sorry for the delay in replying – glad you got it sorted!
Phil
Forum: Plugins
In reply to: [CPT Bootstrap Carousel] Slider not sliding…Ah ok, this is a more complicated problem – the carousel is now sort of working (the images swap when you click the arrows), but don’t animate. This is usually due to some kind of Javascript conflict or something.
No easy answer this time sorry – I’d try removing all other javascript includes from your pages apart from jQuery and bootstrap and seeing if it works. Then, add them back one at a time.
The markup looks right anyway, so I think the plugin is working. If in doubt try posting on stack overflow or somewhere – many minds are better than my one 🙂
Good luck!
Phil
Forum: Plugins
In reply to: [CPT Bootstrap Carousel] Slider not sliding…Hi Shaun,
A look at the Chrome developer console on your site shows the error
Uncaught TypeError: undefined is not a functioncoming fromtheme.js, line 4. That’s this code:$('.dropdown').on('show.bs.dropdown', function(e){WordPress sites run jQuery in a so called “no-conflict” mode, where the dollar symbol isn’t used. As such, javascript doesn’t recognise the
$(and breaks. This haults the execution of all javascript on the page, including the carousel.You can either do a find and replace, switching
$(forjQuery(, or you can wrap your code so that the dollar signs work. See this WordPress docs page for more information.Hope that helps! Nice site, looks good! 🙂
Phil
Forum: Plugins
In reply to: [CPT Bootstrap Carousel] Calling the captionHi Alex,
Not really – the plugin is designed specifically to produce the HTML output for the Bootstrap Carousel. Producing markup different to this is outside of it’s remit really.
I’d recommend writing a custom post type yourself, or using the Types plugin or something..
Hope this helps,
Phil
Hi crazyrawkr,
I think this is to do with the animation changing the way that the font is anti-aliased. It’s probably only visible for you because you’re using a custom font.
I think that adding the following CSS should solve your problem:
html { -webkit-font-smoothing: antialiased; }(taken from this post).
Hope that helps!
Phil
Forum: Plugins
In reply to: [CPT Bootstrap Carousel] Adding CSS to slideHi Alex,
If I understand your question correctly, then I’m afraid the short answer is no. You’re going to have to use some JS.
The good news is that the carousel comes with events which allow you to trigger actions (such as making elements on the page transparent) when the slides change. So shouldn’t be too difficult hopefully..
I hope this helps!
Phil
Forum: Plugins
In reply to: [CPT Bootstrap Carousel] adding category to the do_shortcode breaksAh ok great, thanks for letting us know!
Phil
Forum: Plugins
In reply to: [CPT Bootstrap Carousel] adding category to the do_shortcode breaksHi ukkpower,
When you say no output, you mean absolutely no HTML produced by the shortcode at all? Are there any PHP warnings or error messages?
This isn’t a general problem as it works on my system, so maybe try using different category names and combinations of images to see if you can get any output..
Phil
Forum: Plugins
In reply to: [CPT Bootstrap Carousel] Carousel not working on iOSHi BatchHeader,
Typically your best bet will be to use an emulator. Googling for iOS emulator should get you somewhere. Once you have a setup, have a look at the bootstrap docs page carousel: http://getbootstrap.com/javascript/#carousel
If that’s working, but your carousel is not, then it could be a lot of things. Feel free to post more specific problems if you need more help, or try stack overflow for general bootstrap queries.
Phil
Forum: Plugins
In reply to: [CPT Bootstrap Carousel] Carousel White SpaceHi Mcadieux,
It looks like the entire carousel is wrapped in
<code>tags. I suspect that this is because you copied the shortcode from the documentation along with it’s formatting.If you go to the page where you have the shortcode and view the raw HTML content (top right tab of the editing panel) try to find the shortcode and make sure that it’s the only content on it’s line – no
<code>tags! 🙂Hope this helps..
Phil