-
Author
-
August 4, 2015 at 20:51 #71572fundlrParticipant
Hi there,
I added a Kleo Post Carousel on a page, but I can’t find any thing to customize its display.
I have create a php template for the display of each of my posts, which is used on other pages. (full list of posts, search results…) (I display some custom fields in it)
Any chance I can reuse that template to render the Carousel items ?Thanks !
August 4, 2015 at 23:57 #71594sharmstrModeratorThe template to edit is /page-parts/post-content-carousel.php. Cant really answer your question about reusing the templates.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
August 22, 2015 at 13:22 #74154fundlrParticipantHi, thanks for your answer.
I was able to make a custom post-content-carousel.php part by replacing with my own content.November 3, 2015 at 14:15 #85463sashaDParticipantDear fundlr,
could you please share how u made a “custom post-content-carousel”, I am trying to add a carousel of my own custom content in my custom posts templates i created, but i have hard time finding how to put carousel into my custom single-post php template.
Maybe you could just post that part with ur own content so i could campare it with kleo default template.
many thanks in advance for what ever you reply.
November 3, 2015 at 14:32 #85468fundlrParticipantThis topic was about how to customize the appearance of single items in a carousel (with custom fields and so on), not on how to add a carousel in a template, which seems to be your question here. (” i have hard time finding how to put carousel into my custom single-post php template”)
This is how i did it, but i’m not sure this answers your question. (you might have to search in this forum, or create your own support topic)
As suggested by sharmstr, I made a copy of post-content-carousel.php from the main theme (/kleo/page-parts/) folder, and placed in my child theme (kleo-child/page-parts/post-content-carousel.php)
And inside, I replaced the contents with my own.
(displaying custom fields values with<?php echo get_field("fieldName") ?>
)This PHP file is used to render each single item of the carousel.
November 3, 2015 at 14:33 #85469sashaDParticipantDear fundlr,
could you please share how u made a “custom post-content-carousel”, I am trying to add a carousel of my own custom content in my custom posts templates i created, but i have hard time finding how to put carousel into my custom single-post php template.
Maybe you could just post that part with ur own content so i could compare it with kleo default template.
many thanks in advance for what ever you reply.
November 3, 2015 at 14:37 #85471fundlrParticipantThis topic was about how to customize the appearance of single items in a carousel (with custom fields and so on), not on how to add a carousel in a template, which seems to be your question here. (” i have hard time finding how to put carousel into my custom single-post php template”)
This is how i did it, but i’m not sure this answers your question. (you might have to search in this forum, or create your own support topic)
As suggested by sharmstr, I made a copy of post-content-carousel.php from the main theme (/kleo/page-parts/) folder, and placed in my child theme (kleo-child/page-parts/post-content-carousel.php)
And inside, I replaced the contents with my own.
(displaying custom fields values with<?php echo get_field("fieldName") ?>
)This PHP file is used to render each single item of the carousel.
-
AuthorPosts
The forum ‘General questions’ is closed to new topics and replies.