Phil Ewels
Forum Replies Created
-
Forum: Plugins
In reply to: [CPT Bootstrap Carousel] Suggestion: naming conventionsGreat suggestion, thanks! If you fancy submitting a pull-request on GitHub to make these changes I’d be happy to review & merge. The relevant code is here: https://github.com/ewels/CPT-Bootstrap-Carousel/blob/c18ae306459e7ee2bfbd973699229b2507dddadc/src/cptbc-init.php#L8-L21
Phil
Forum: Plugins
In reply to: [CPT Bootstrap Carousel] Problems with embebed videos in slideHi @snippet24,
The file listed in the screenshot is not part of this plugin. You can see the full source code here: https://github.com/ewels/CPT-Bootstrap-Carousel
Do you get any errors when you try to set a video as a carousel background? What URL are you trying to use?
Thanks,
Phil
Forum: Plugins
In reply to: [CPT Bootstrap Carousel] Custom buttonsHi @pjpops,
You can assign custom classes to the previous and next buttons in the Carousel settings page. I haven’t tried using Font Awesome, but I guess it should work..
Phil
Forum: Plugins
In reply to: [CPT Bootstrap Carousel] Image Aspect Ratio on iPadSure – in the settings page set “Use background images?” to “No”. Then the carousel height will auto-adjust as the screen size changes so that the full image is visible.
Phil
Forum: Plugins
In reply to: [CPT Bootstrap Carousel] How add class to img?Hi @ekam230,
It’s not possible to add classes to the image in the carousel (without editing the plugin code). However, you should be able to target it with your own custom CSS pretty easily.
The carousel should have the class
carousel
, so the CSS for the carousel images is.carousel img
. For example, the following should give the same effect as addingd-block
andw-100
to the image elements:.carousel img { display: block; width: 100%; }
I hope this helps!
Phil
- This reply was modified 5 years, 1 month ago by Phil Ewels.
- This reply was modified 5 years, 1 month ago by Phil Ewels.
It means it can’t be done without editing the plugin code?
Yes.
That is turning the excerpt into the_content?
Yes (as an option, opt-in).
Not so noobish after all! Basically, thanks for the feature request – a variant of it is already under consideration at https://github.com/ewels/CPT-Bootstrap-Carousel/issues/65
Sadly I can’t promise this any time soon though. I maintain this plugin in an ever shrinking slot of free time and don’t really do any web dev these days! But I think it’s a good idea, so if I do get a chance to sit down with the code it will be one of my top priorities.
Phil
- This reply was modified 5 years, 10 months ago by Phil Ewels.
Thanks for the suggestion! Yes, the plugin could support custom fields, however these would still need to be supported in the code that renders the output so I’m not sure that it would save very much work. All of the current customisation uses custom fields, it’s just that they are linked to admin UI interfaces.
Note that a previous suggestion may be a more elegant way to handle customisation of text effects, see https://github.com/ewels/CPT-Bootstrap-Carousel/issues/65
Forum: Plugins
In reply to: [CPT Bootstrap Carousel] How to change the font style in an excerptHi both,
Thanks for reporting this @caspersgrin and for the explanation @cwjordan. As you say – because there’s now separate settings I guess previous installations will now have to explicitly set “Show slide captions?” to “Show”.
Apologies for the disruption in service. I hope you have everything working now. Let me know if there’s anything that I can do to help.
Phil
Forum: Plugins
In reply to: [CPT Bootstrap Carousel] Carousel not apearingHi @devindr808,
Apologies for the very late reply, I only just saw this. It looks like you resolved your problem, but otherwise please see the FAQ on this topic:
Help! Nothing is showing up at all
- Is the plugin installed and activated?
- Have you added any items in the Carousel post type?
- Have you placed the [image-carousel] shortcode in your page?
Try writing the shortcode using the ‘Text’ editor instead of the ‘Visual’ editor, as the visual editor can sometimes add extra unwanted markup.
Good luck!
Phil
Forum: Plugins
In reply to: [CPT Bootstrap Carousel] How can i show 3 posts at once on the carouselHi @ssalipro,
Just add two more carousel images in the admin panel. See the screenshots in the readme for examples.
Phil
Forum: Plugins
In reply to: [CPT Bootstrap Carousel] Different image for mobileForum: Plugins
In reply to: [CPT Bootstrap Carousel] CPT Bootstrap CarouselHi @asmitarane,
As answered on GitHub – I haven’t heard anything to the contrary, so it should be, yes.
Phil
Hi Carla,
I’m afraid that this isn’t currently possible. However, it would be nice to have an
exclude
option to hide specific images like this. I’ve added an issue to the GitHub code about this: https://github.com/ewels/cpt-bootstrap-carousel/issues/88Note that I don’t really work with this plugin any more, so it could be a long time before it gets added, sorry!
Phil
Forum: Plugins
In reply to: [CPT Bootstrap Carousel] Button link on imageHi @kpcta,
I’m afraid that this is not currently possible with this plugin.
The code is available on GitHub if you’d like to fork and have a go yourself: https://github.com/ewels/cpt-bootstrap-carousel – if you get something working as an option then feel free to submit a pull request!
Cheers,
Phil
Forum: Plugins
In reply to: [CPT Bootstrap Carousel] Text not appear in mobileHi @sidneysu,
Sorry for my slow reply. The site seems to work fine for me, desktop and mobile. Are you still experiencing this problem? Could you post a screenshot or some more details please?
Cheers,
Phil