Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #946666

    Hi
    I need to show the excerpt on a single post. (Preferable with it’s own styling) I can’t find any settings for that in the theme options. What is the preferred way to do this? I use a child-theme on v 4.2

    #947640

    Hey Magnus,

    I’m not sure what would be the purpose of having the excerpt on a single page, since the purpose of the single page is the show the full content?

    Best regards,
    Rikard

    #947676

    I asked the same thing to the CMO that wanted this… :/ It’s a press-release and the “whole” text must be in the same page. The CMO is having special text in the excerpt and not a using it as it should be used!

    So, it is like this and I would like to know how it’s done… ;) Is it possible that you can help with this?

    • This reply was modified 6 years, 6 months ago by Jahrl.
    #948515

    Hi Jahrl,

    Are you building the posts with the Default editor or with the Advanced Layout Builder? You can add the excerpts “manually” as some text block, anywhere you need them.

    Best regards,
    Victoria

    #948711

    Hi Victoria

    I’m using “Single post with small preview image (featured image” as standard. There is a JSON script importing the data from a external system. (Listed company) and the excerpt data is imported and used on the “category” page but now the CMO wants to have the whole press release in a uniq link.

    I would really appreciate all the help I can get here so I don’t mess up this CRON work adding new press releases

    All the best!
    .mange

    #949852

    Hi,

    There is a JSON script importing the data from a external system. (

    How do you import the data with that script? Couldn’t you just convert the data to an actual post or page?

    Best regards,
    Ismael

    #950761

    Hi
    The import is done via a scheduled Cron job set up on the server.
    It is converted to a post and the excerpt is there (with images, links and all other content), used on category page.

    Now we also want to show it on the post pages… All help is appreciated

    .m

    #951737

    Hi,

    The post page is using the includes > loop-index.php file. Have you tried to edit that file? If you want to display the excerpt, try to use the “get_the_excerpt” function below line 224 where the actual content is rendered.

    echo $content_output;
    

    I’m not really sure how you set up the posts or retrieve the data so this is the only thing that comes to mind.

    Best regards,
    Ismael

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