questus
Forum Replies Created
-
Forum: Plugins
In reply to: [Carousel Slider] Post dates are wrongThis is a fascinating solution, and I can imagine a variety of slider customisations that might be possible.
The “add_filter” directive replaces the declaration in class-carousel-slider-shortcode.php ? Although the specific function of the “10” and “3” parameter I am not sure of. Used for $id and &posts maybe?
And in place of ‘# modify $html in some way’, the use of the output buffer function with an alternate to the post-carousel.php could be used similarly?
… of course, if I was more familiar with php, some of these points might be more obvious.
Forum: Plugins
In reply to: [Carousel Slider] Post dates are wrongWell, that may well be a trickier one.
A bit out of my current scope of knowledge, but if I think of something, I’ll post it.Forum: Plugins
In reply to: [Carousel Slider] Post dates are wrongG’day Nat,
Sorry to barge in, but I was curious, and had a look.I picked a post at random on the carousel, “Lunch with Slow Food’s Carlo Petrini”, which showed a date in the carousel of ‘September 6, 2016’.
The post displayed when clicked on that carousel entry showed the date ‘August 24th, 2016’, which is obviously different.But when I looked at the source code for the page at the date point with the inspector I found the following;
<span class="updated rich-snippet-hidden">2016-09-06T20:43:09+00:00</span> <span>August 24th, 2016</span>
There are two dates displayed, the hidden one is the same date that is shown on the carousel, but in a UTC format, and the second date, being visible, show the date which is different from the one shown in the carousel.
I would check the date for the specific post in the Dashboard, it would not surprise me if the September date was the post date.
If that is the case, there may be something awry with the post display template in the theme.
There is another date associated with posts called ‘modified date’ which is used when a post is ‘scheduled’, maybe something like that is being displayed with the post.That’s my lot I’m afraid. I’ve only just started with WordPress, so my knowledge is a bit “light”.
/David…
Forum: Plugins
In reply to: [Carousel Slider] Hide excerpt and remove gapThat sounds like it might work, but there is probably a more elegant solution which will involve taking control of all the elements of the post within the slider with a custom style sheet so that they flow together.
I haven’t touched on the navigation elements yet, but I suspect that I’ll cross that bridge soon.{… a few hours later …}
The navigation elements, bottom dots and left/right arrows, are outside of the carousel content container, so if you want to move the bottom navigation dots upwards, you may be better off reducing the depth (height) of the post content in the carousel configuration within the dashboard; that’s “Colums Height” (that’s Sayful’s spelling mistake) within the “Post Query” section.
- This reply was modified 7 years, 10 months ago by questus. Reason: additional information obtained
Forum: Plugins
In reply to: [Carousel Slider] Hide excerpt and remove gapI’ve just started looking (1 day so far) into this plugin, and I have noticed that the author, Sayful, appears to use absolute positioning for the various post elements.
If you removed the excerpt via a display:none; that probably just leaves the title, feature image and meta details.
You may be able to manipulate the position of the meta information via;
.carousel-slider__post-meta { bottom:10px; }
… that’s its current value which is set against the height specified in the dashboard, and enough space for the 2 lines of data.
You could try increasing it, or maybe set it to “auto” and add a ‘top’ value instead.Forum: Plugins
In reply to: [Carousel Slider] Eliminate Images at top of Postsjohnbmtl’s suggestion is good, it would make a good option for the carousel configuration.
On a related matter, I would suggest that if the post does not have a “feature image”, the space allocated to the image should be collapsed.
[
johnbmtl,
You could, of course, use CSS to tweak the behaviour of the carousel. I have just started trying out a few things myself. I have used;a.carousel-slider__post-image { display:none; } .carousel-slider__post-excerpt { top:auto; }
to suppress the “feature image” and force the “post excerpt” up under the title. The meta information needs to be dealt with too, but I haven’t got that far yet.
]