Phil Ewels
Forum Replies Created
-
Forum: Reviews
In reply to: [CPT Bootstrap Carousel] Good jobGreat! As the images can be targeted by CSS already, I don’t think that I’ll add this to the main plugin code. Nice that you have it working as you want it though! 🙂
Forum: Reviews
In reply to: [CPT Bootstrap Carousel] Good jobThanks neecride.
You can get at the images in the carousel without adding any new classes, just use
.carousel-inner .item imgPhil
Forum: Plugins
In reply to: [CPT Bootstrap Carousel] Page is skewed when no carousel itemsOops, missed this on the release sorry. Marked as an issue on github so will get cleared up on the next round.
Forum: Plugins
In reply to: [CPT Bootstrap Carousel] 1.8.1 PHP noticeI’m not able to replicate this behaviour, so closing for now..
Forum: Plugins
In reply to: [CPT Bootstrap Carousel] Help on Setting up CarouselClosing due to inactivity.
Forum: Plugins
In reply to: [CPT Bootstrap Carousel] Make script block optional via settingsTo follow up – I just released an update on wordpress.org, so you can update through normal procedures to get this now.
Phil
Forum: Plugins
In reply to: [CPT Bootstrap Carousel] Links Disappear When Using Background ImagesTo follow up – I just released an update on wordpress.org, so if you update through the normal procedures it should be fixed.
Cheers,
Phil
Forum: Plugins
In reply to: [CPT Bootstrap Carousel] Links Disappear When Using Background ImagesHi sambgeorge,
You’re completely correct – this is a bug, apologies. I’ve just pushed a fix to the beta which should make it work for you:
https://github.com/ewels/cpt-bootstrap-carouselPhil
Forum: Plugins
In reply to: [CPT Bootstrap Carousel] Categories not workingResolved by e-mail.
Forum: Plugins
In reply to: [CPT Bootstrap Carousel] Make script block optional via settingsHi studio4,
Thanks for the feedback – you’ll be pleased to hear that I have actually already implemented exactly this feature! It’s in the beta version of the next release, available on github: https://github.com/ewels/cpt-bootstrap-carousel
In that version there is an option in the settings as to whether to use the javascript or not.. I really need to release it soon, I keep telling people to use the beta. I’ll try to find time when I can 🙂
Phil
Forum: Plugins
In reply to: [CPT Bootstrap Carousel] Replacing carousel control buttonsNo problem – thanks for letting me know.
Phil
Forum: Plugins
In reply to: [CPT Bootstrap Carousel] Categories not workingHi jakzodiac,
I’m not sure why this isn’t working for you, to be honest this kind of thing is difficult to debug without being able to sit down on your computer myself 🙂
I’d recommend trying out the beta code for the new version, which has quite a few updates: https://github.com/ewels/cpt-bootstrap-carousel
I really must get around to releasing this soon. Let me know if it helps..
Phil
Forum: Plugins
In reply to: [CPT Bootstrap Carousel] Replacing carousel control buttonsThis is purely a CSS / templating issue. Site looks nice! You need to get the carousel to display within some kind of container
<div>which has the width of the page content, then it will be limited to that width, with the arrows on top of the image. Next, you’ll want to add some CSS specific to wider screens with some negative margins to move the arrows outside of that div (probably cleaner ways to do this, but that should work). You’ll probably want to hide the grey shadow too.If you’re using bootstrap, check out the grid system, which does most of this layout stuff for you.
I think that should do it! Let me know if you run into any problems.
Phil
Forum: Plugins
In reply to: [CPT Bootstrap Carousel] Replacing carousel control buttonsHi there,
This is kind of a CSS issue, rather than anything to do with the plugin; stack exchange and other sites might give you a better response. I’ll see what I can do though. Is your site live somewhere? It’s pretty difficult to advise without seeing the context that the carousel is in. It certainly sounds like what you’re proposing should be possible though.
Do you know about CSS media queries? There’s a good article on css-tricks about them which is worth googling if not (apologies, on my phone with dodgy wifi currently).
Cheers,
Phil
Forum: Plugins
In reply to: [CPT Bootstrap Carousel] Uncaught TypeError: undefined is not a functionHi Sapientum,
Looking at your rendered source, it looks like the bootstrap javascript isn’t being included. From
functions.rtfmy guess would be that it’s because of the line:if (function_exists('wpbootstrap_scripts_with_jquery')) {The
function_existsfunction is used to make sure that things are defined before you execute them. Here, you’re defining the function after the if statement though. So, when it gets to the if statement the function doesn’t exist yet, and so it’s never defined. If you either get rid of this if block or make itif (!function_existsI think you should be ok..Let me know if that does the trick!
Phil