Possible to use post excerpt in Blog Masonry template?

  • Posted in : Read WP
  • blairwarren
    Participant

    It looks like the blog masonry template pulls from the content field and not the excerpt field, so the only way to control the length of the excerpt it shows is with a more tag.

    Is there any way to make it pull from the excerpt field rather than have to use more tags?

    I didn’t see a setting for this and I poked around the template files a bit. So if I missed something obvious, I apologize.

    Mehmet S.
    Keymaster

    – Go to Appearance > Editor > format-standard.php

    – Find the line below:

    the_content( __( 'Continue reading <span class="meta-nav">→</span>', 'read' ) );
    

    – Change it like this:

    the_excerpt();
    

    – Do this changes to other post format files if you are using them:

    format-aside.php
    format-audio.php
    format-chat.php
    format-gallery.php
    format-image.php
    format-link.php
    format-quote.php
    format-status.php
    format-video.php

    blairwarren
    Participant

    That worked. Thanks!

    Will Franco aka Flywheel
    Participant

    When the theme is updated, this change might be lost. Just an FYI. I believe you can create a custom file, and make the changes there. This way, when you update the theme, your alternations will remain.

    Mehmet S.
    Keymaster

    All theme modification should be done by using child themes not editing the theme files directly.

    http://codex.wordpress.org/Child_Themes

    Mehmet S.
    Keymaster

    Hi all,

    Excerpt option added. New version is available on ThemeForest.

    – Check the option Theme Options > Blog > Excerpt.

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

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register