WordPress.org

Ready to get started?Download WordPress

Forums

Montezuma
[resolved] Excerpt from WordPress excerpt field (3 posts)

  1. JuanAcosta1992
    Member
    Posted 1 year ago #

    Hello,

    I have been trying to display a specific excerpt that I type in the excerpt field in the wordpress post editor but it doesn't show the excerpt that I wrote but rather takes the first snippet of the post. I want to be able to write the excerpt.

    Thank you

  2. CrouchingBruin
    Member
    Posted 1 year ago #

    Go to Appearances > Montezuma Options > Sub Templates. The postformat.php "virtual" file determines how the posts are formatted on your blog page. By default, it calls bfa_excerpt(), which unfortunately doesn't use the excerpt field. Change it to the_excerpt() and you'll get the contents of the excerpt field.

    To see the different functions you can use in the virtual files, click the Limited PHP Code tab in the upper right corner.

    If you have other questions related to the Montezuma theme, you can post them on the Bytes for All support forum.

  3. JuanAcosta1992
    Member
    Posted 1 year ago #

    Thank you very much. Worked perfectly

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic