This topic has 7 replies, 3 voices, and was last updated 9 years by sashaD.

  • Author
  • #71572
     fundlr
    Participant

    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 !

    #71594
     sharmstr
    Moderator

    The 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 solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #74154
     fundlr
    Participant

    Hi, thanks for your answer.
    I was able to make a custom post-content-carousel.php part by replacing with my own content.

    #85463
     sashaD
    Participant

    Dear 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.

    #85468
     fundlr
    Participant

    @sashaD,

    This 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.

    #85469
     sashaD
    Participant

    Dear 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.

    #85471
     fundlr
    Participant

    @sashaD,

    This 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.

    #85473
     sashaD
    Participant

    @fundlr

    thank you for the reply 🙂

    i will keep on searching

Viewing 8 posts - 1 through 8 (of 8 total)

The forum ‘General questions’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?