Support » Plugin: Get Post » Limit the characters in the post excerpt

  • Hi i have setup a page to display posts from a specific category. I would like to limit the characters that display from the post on the page. Currently the whole post displays on the page and i have it setup to show the last 5 posts so it makes the page long. Can i make it so that its a preview with a read more link? Below is the code i have on my page currently. Thank you

    [get-post category=news show=5]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi!

    I too would love to just do an excerpt with the post.

    I saw some old code in a different thread here – but trying to put those lines in was not successful for me.


    The old code in the thread you saw DOES work, I saw that and just did it successfully! Here’s how:

    1) Visit the plugin creator’s Github link where he has updated his codeset with the code you need:
    2) Copy & Paste everything in there.
    3) Go to your WP admin page & click on “Installed Plugins”
    4) Find “Get Post” and click on Edit
    5) Select the “get-post/class-get-post-getter.php” page from the picklist on the right
    6) Replace all that with the code you have copied in your clipboard & “Update File”
    7) Go back to your plugins list, find “Get Post” and click on “Settings”
    8) Change this:
    <div class=”entry”>{content}</div>
    To this:
    <div class=”entry”>{excerpt}</div>
    9) Refresh your site.
    10) Gasp.
    11) Enjoy.

    Thread Starter js2724


    @joeakalis – Thank you! That worked like a charm.

    Awesome! Glad to hear it!


    Fantastic, and thank you!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Limit the characters in the post excerpt’ is closed to new replies.