WordPress.org

Ready to get started?Download WordPress

Forums

Turning the excerpt into full content (2 posts)

  1. adahyot
    Member
    Posted 1 year ago #

    Hello guys !

    I recently decided to built my portfolio with wordpress and chose the Flexible template by Elegant. This template shows a portfolio grid on the home and once you've selected an image, an excerpt shows up.

    The code I need to change is, I think, in the functions.php document here (line 348) :

    echo '</div> <!-- end .et_media -->';

    echo '<div class="et_media_description">' .
    '<h2 class="title">' . '' . get_the_title() . '' . '</h2>' .
    truncate_post( 560, false );

    echo '</div> <!-- end .et_media_description -->';

    echo '' . __( 'More info »', 'Flexible' ) . '';
    endwhile;
    wp_reset_postdata();

    die();
    }

    I've already figure that I had to change the number in « truncate_post » to show the entier text but I can't find how to show all the images. If someone has a clue, it would be really really usefull !

    Thanks you by advance for your answers : )

  2. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    You'll need to ask Elegant Themes for help -- they support their own themes, but these forums don't support commercial themes - partly because we don't have free access to their code for questions like this.

Topic Closed

This topic has been closed to new replies.

About this Topic