Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 3 of 3
  1. #1
    Junior Member
    Join Date
    May 2016
    Location
    Norfolk, UK
    Posts
    1
    Member #
    54232

    Wordpress Excerpts

    Hi!

    I have an article site (Wordpress) in which I would like to display an automatic post excerpt on the homepage (I have limited the excerpt length etc). However, I'd also like to create manual excerpts for the single article page itself (to display below the title).

    The problem I have is that if I enter a manual excerpt on the post page, it replaces the automatic excerpt on the homepage with the manual alternative.

    Is there a way of achieving this?

    Thanks in advance!
    Last edited by designedbyscott; May 24th, 2016 at 10:03 AM.

  2.  

  3. #2
    Senior Member bleau canon's Avatar
    Join Date
    Mar 2011
    Location
    Appalachia Blue Ridge Mts.
    Posts
    608
    Member #
    27201
    Liked
    187 times
    What theme are you using?
    Bleau
    "Give the gift of life, Adopt a child, And an Animal"

  4. #3
    Senior Member Ronald Roe's Avatar
    Join Date
    Mar 2011
    Location
    Oklahoma City
    Posts
    3,141
    Member #
    27197
    Liked
    959 times
    Excerpts are set as part of the post meta. So, if you set a manual excerpt, it will overwrite the automatic one. There is a way you can overcome this using custom fields: https://codex.wordpress.org/Custom_Fields

    In short, you'll create your own post meta information for the manual excerpt and pull that in where you want the manual excerpt. I prefer this route myself, but there are plugins to automate the process if you need them.
    Ron Roe
    Web Developer
    "If every app were designed using the same design template, oh wait...Bootstrap."


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Tags for this Thread

All times are GMT -6. The time now is 03:13 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com