Site logo

[Support request] Article summary below the main title

Home Forums Support [Support request] Article summary below the main title

Home Forums Support Article summary below the main title

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #2495192
    Denilson Marcos

    Hi everyone, I’m looking for a theme where I can easily add a short article summary, right below the main title.

    I received the following instruction by email, can you help me with the process? I just purchased the product.

    “Hi Denilson,

    You will need to create a custom field for posts, and add the summary into the custom field.

    With GP Premium’s elements module, you can use the Headline block of the GenerateBlocks plugin (free) to pull the data from the custom field and insert it under the title.

    If you have no idea how that works, you can open a support topic in GP’s premium support forum, and we’ll be happy to assist you.”

    #2495528
    David
    Staff
    Customer Support

    Hi there,

    are you familiar with the ACF plugin ? Or the standard WordPress Custom Fields ?

    #2495577
    Denilson Marcos

    Hi David, not so much. But I believe I can follow well if I follow the instructions.

    I imagine I have to create a custom field for the summary and call it in the theme, right?

    It would also be interesting to know how to do this through the method mentioned in the message, the possibility of building a blog post page completely my way caught my attention.

    #2495684
    Ying
    Staff
    Customer Support

    Hi there,

    I imagine I have to create a custom field for the summary and call it in the theme, right?

    Yes, it’s correct.

    You can install the ACF plugin and create a custom field like this:
    https://www.screencast.com/t/Uql6FTc9g1

    Here’s the instruction from ACF plugin: https://www.advancedcustomfields.com/resources/adding-fields-posts/

    Before we go to the next step, can you tell me where you want the summary to show? Is it the blog page or the single post page?

    Let me know!

    #2495731
    Denilson Marcos

    Hello, thanks for your help. I did what you instructed in ACF, my desire is for a summary field to be displayed below the title, on all articles on the site.

    It’s not on the blog page (Archives), it’s on the post itself.

    #2495838
    Ying
    Staff
    Customer Support

    I see, thanks for the clarification 🙂

    1. You will see the summary custom field in your post editor, enter your summary text there:
    https://www.screencast.com/t/T6buZCQB9W

    2. Go to appearance > elements, and create a new block element, select hook as the element type, select after_entry_titleas hook name, enter 5 as the priority and set post > all posts as the location under the display rule tab.

    3. Add a headline block (from GenerateBlocks plugin with blue icon) to the element.
    https://www.screencast.com/t/ftihzUg1

    You should be able to see the summary in your posts 🙂

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