Phil Ewels
Forum Replies Created
-
Forum: Plugins
In reply to: [CPT Bootstrap Carousel] Uncaught TypeError: undefined is not a functionThanks chef1974 – a good suggestion! I don’t think that the OP has modified the plugin javascript though, and that uses
jQueryall of the way through instead of$so your wrapper shouldn’t make any difference to the problem (though these things are often worth a try anyway!).Phil
Forum: Plugins
In reply to: [CPT Bootstrap Carousel] Carousel just disappeared!Hi SunnyOz,
Apologies for the slow reply – wordpress.org seems to be really sporadic with which support threads it notifies me about, so I only just saw your post.
Anyway, glad you managed to figure out how to fix it! Your problem with the categories sounds strange, I’ve not run into any problems like that myself – as you say, if there are no images in the category then the carousel won’t show, but if the images are properly added to the category then it should work. Sorry to cover the obvious, but you’re sure that it’s carousel categories that are being used, not post categories or anything? The images show up when you restrict to that category in the wordpress admin?
Sorry I can’t be more help at this point – it’s difficult to know what’s wrong when it works at my end 🙂 Let me know if I can do anything else..
Phil
Forum: Plugins
In reply to: [CPT Bootstrap Carousel] Uncaught TypeError: undefined is not a functionHmm, this sounds like a jQuery / TWBS javascript import error as you say. What do your
<head>includes look like on the rendered page? Are both files being correctly linked to / loaded in the correct order? Does the#cptbc_933element actually exist?Forum: Plugins
In reply to: [CPT Bootstrap Carousel] Uncaught TypeError: undefined is not a functionHi Sapientum,
I can’t see a screenshot.. Any chance you could paste in the error text?
Cheers,
Phil
Forum: Plugins
In reply to: [CPT Bootstrap Carousel] CPT Bootstrap Carousel in WidgetHi kismo,
By default, WordPress doesn’t evaluate any dynamic content (such as shortcodes) inside widgets. Thankfully, there are plenty of plugins available which will change that for you.
I haven’t tested it myself, but I think that the Shortcode Widget plugin should do what you want.
Hope this helps!
Phil
Hi Rex,
Good to hear from you! When you say that the WordPress website will have “all of the relevant information”, do you know what format that will be in?
My gut feeling is that it’ll be more trouble than it’s worth to try and use this plugin. It’s really designed to slide images and as such doesn’t really have easy tools for manipulating the display of text.
There are other plugins that do this kind of thing though. For example, Text Slider might work?
Hope that helps 🙂 Good luck!
Phil
Forum: Plugins
In reply to: [CPT Bootstrap Carousel] CPT Bootstrap large images not centeredThat sounds like you have some conflicting CSS (such as padding or a margin) which is pushing the edge of the image back. Almost impossible to diagnose without seeing the page though. Do you have a link?
For reference, none of this topic actually relates to the plugin by the way. All that the plugin does is generate the HTML markup for the Bootstrap Carousel with the images supplied (so that you don’t have to write the HTML yourself). While I’m happy to try and help, the problem is generic enough that you can also ask at places like Stack Overflow where there are many more people on hand to offer advice..
Phil
Forum: Plugins
In reply to: [CPT Bootstrap Carousel] CPT Bootstrap large images not centeredI’m sorry siemslikelynn – without a link to see your setup it’s almost impossible to diagnose what’s wrong. If you have a link showing the problem I’d be happy to have a look.
The only time that I’ve ever seen a grey bar is when the images are too small. If your source images are bigger then the carousel then there must be something specific to your setup which is making them too narrow (such as conflicting CSS rules or so on). Apologies if my earlier reply came across a bit tetchy, it was the end of a long day.
Phil
Forum: Plugins
In reply to: [CPT Bootstrap Carousel] CPT Bootstrap large images not centeredHi daeruin,
It sounds like it will be the same problem – 1000px isn’t really that wide, according to these stats 99% of people’s computers run with a resolution of more than 1000px width. If your carousel is the full width of the browser and people have the window full screen, you’ll be coming up short.
The solution is the same as described above – either try to find some bigger images or use the new ‘background images’ feature, which will stretch them to the correct width.
Hope this helps anyway, I’ll look into writing a new FAQ on this topic for the next release..
Cheers,
Phil
Hi Carlo,
Yup – you can use the
do_shortcodefunction to insert the carousel into a php file. See the FAQ for more information (Can I insert the carousel into a WordPress template instead of a page?).Hope this helps!
Phil
Forum: Plugins
In reply to: [CPT Bootstrap Carousel] Carousel breaks after last imageInteresting, thanks for letting me know.. WooCommerce must be doing something to one of the pre-post hooks I imagine.
Phil
Forum: Plugins
In reply to: [CPT Bootstrap Carousel] Disable auto playHi there,
Yup – just set the interval to 0, that should do the trick.. (Sorry, this isn’t very obvious currently, the upcoming release has help text explaining this).
Phil
Forum: Plugins
In reply to: [CPT Bootstrap Carousel] Carousel breaks after last imageAh ok, interesting. Yes on closer inspection it looks like your theme is wrapping all newlines in
<p>tags. Do you have something in your theme’sfunctions.phpfile which might be doing this?Forum: Plugins
In reply to: [CPT Bootstrap Carousel] Carousel breaks after last imageSame cause – it looks like something is conflicting with your javascript. I’m afraid that there’s no easy solution, just deactivating all plugins and then switching them back on until it breaks again. The markup being generated by the plugin looks fine, so that’s not causing the problem.
Phil
Forum: Plugins
In reply to: [CPT Bootstrap Carousel] Error in first carouselHi dahl1103,
This carousel only works if you are already using the Bootstrap CSS / Javascript framework. Your site isn’t using this, and including the files will probably have all sorts of unintended consequences for the design.
Sorry for the bad news!
Phil