Black Friday sale! Get 25% off WPSP Pro! Discount automatically applied at checkout.

[Support request] Combine Excerpts and Full posts?

Please login to receive premium support.

Support for the free plugin can be found here.

Home Forums Pro Support Combine Excerpts and Full posts?

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #22925
    Simon
    Participant

    Hi Tom and team

    (I’m using GP Premium, Generate Blocks, WP Show Posts and Simple CSS, alongside CodeSnippets and Restrict Content Pro. So I’m using GP Elements for Headers and Hooks, etc. As I’ve said before, all the GP stuff is completely brilliant, thank you, as are your forums for finding further information.)

    I’m using WP Show Posts as the primary means to display categories of posts on a site. (Currently 12 categories, but will be 20.)

    Each category has a page, and two or more medical professionals will be posting for it. They select their category when posting. Their page has the WPSP shortcode to display their posts.

    I have set the ‘Read more’ button for ‘Aside’ posts to display:none. That usefully avoids the button appearing on short posts when there is no more to read.

    Originally I set each WP List to ‘Excerpt’ and 50 words. So people had the choice of creating an ‘Aside’ of max 50 words, for an announcement for example, or creating a ‘Standard’ post with a button and link.

    That worked well.

    However in the trial, people didn’t like the lack of formatting in the excerpt. It makes the short posts too limited, without line breaks, links, bold or italic. (I understand why that is unavoidable for an excerpt.)

    Under pressure, I have now set all the lists to show ‘Full’. That’s great for a short ‘Aside’, with no link button. However… of course it means that as soon as they write a long post, the long post will display in Full in a column on their page, rather than being a neat Excerpt+link.

    So I want to ask… is there some way of enabling those posting to select whether an individual post will display as an Excerpt+link, or in Full?

    That could perhaps be triggered by their choice of ‘Aside’ or ‘Standard’ or another Post Format? Or by a tag?

    The only way I can think of (which I have trialled) is to create two categories for each category page, with separate WPSP lists, one list set to Excerpt and one to Full. But the page then needs both shortcodes, so one list follows the other. That means the useful date order is lost. It will also create an off-putting list of 40 categories for people to select from…

    Is there any better way to enable this choice for the user? I’m hoping you might have a bit of brilliant PHP. Or have I missed something and should set it up differently?

    It’s all about to go live, so I would greatly value your advice.

    Thank you and best wishes.

    #22935
    elvin
    Participant

    Hi,

    So I want to ask… is there some way of enabling those posting to select whether an individual post will display as an Excerpt+link, or in Full?

    Unfortunately, this isn’t within the default functionality of WPSP.

    However, the ones posting, in a sense, can choose what will be displayed depending on whether they put something on the excerpt field.

    WPSP when set to display “Excerpt”, will display “Full post” if excerpt field from the post is left empty.

    That said, If the user doesn’t want the excerpt to display, just leave it empty so WPSP displays full post. And if the user wants excerpt mode, then that’s the only time their suppose to write something in it.

    #22948
    Simon
    Participant

    Hi Elvin

    Your suggestion is not correct. When set to display “Excerpt”, WPSP will not display “Full post” if excerpt field from the post is left empty.

    But I’m hoping there is something close to your answer that could be useful, or triggered with some PHP.

    I’ve just trialled it again, both ways:

    WPSP List set to Full: Post shows in full on the page, and ignores a manual Excerpt.

    WPSP List set to Excerpt: Post shows an excerpt, as a single paragraph with no formatting in both cases. (ie If a manual Excerpt is added, it shows it. If no manual Excerpt is added, it just shows an initial excerpt from the text.)

    Post set to two categories, one category with each setting: It does both of the above; neither WPSP setting overrides the other.

    But if you thought the Excerpt did it, is there something else in the setting that could offer a choice for the person posting?

    ie… is there some way of enabling those posting to select whether an individual post will display as an Excerpt+link, or in Full?

    Best wishes

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.