post content in homepage intro slideshow

Home Forums Modern post content in homepage intro slideshow

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #17127

    oakhillman
    Participant

    post content in homepage intro slideshow

    Resolved

    Hey there! Have you noticed this support service is provided FREE of charge?
    If you like the speed and accuracy of resolutions, please consider supporting me with a small donation. Thank you

    Consider a donation →

    This is probably a mod but it sure would be awesome if we could display the post content in the homepage intro slideshow. I attached an example of what I’m talking about. And maybe it’s already possible but I just don’t know how to do it.

    #17134

    Oliver Juhas
    Keymaster

    Hi oakhillman,

    Yes, I’m sorry, but this would be a mod as the theme was designed some 2 more years ago like this only.

    But you can certainly introduce this functionality in your child theme. Just copy the template-parts/intro/intro-content-slideshow.php into your child theme, keeping the folder structure, and add this code probably after the closing </p> tag at line number 46:

    <div class="intro-slideshow-item-content">
    	<?php echo apply_filters( 'the_excerpt', get_the_excerpt( $post ) ); ?>
    </div>

    Then style that custom container with your custom CSS:

    .intro-slideshow-item-content {
    	...YOUR STYLES HERE...
    }

    Best regards,

    Oliver Juhas
    WebMan Design

    #17136

    oakhillman
    Participant

    Oliver, you’re too generous. Thanks for the information!

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

You must be logged in to reply to this topic.