Okay
  Public Ticket #3574854
Can't show excerpt in Custom "Post Loop Builder"
Closed

Comments

  •  1
    Jaxter002 started the conversation

    Hi Salient Team,

    I made a "Post Loop Builder" block with "Post Type" set on "Custom". The "Narrow Data Source" is related to a specific attribute of the Portfolio section to display some specific projects with this attribute.

    I've checked "Display Excerpt" on the Meta data tab but the Excerpt isn't showing (same as Categories when i check the box but it's less important)

    Is it a bug ? When I set "the Post Loop Builder" on "Portfolio", it works well and the Excerpt is showing (see attachments)

    Do you have any idea?

    Cheers

    Attached files:  tab-metadata.PNG
      on-custom.PNG
      on-portfolio.PNG
      tab-general.PNG

  •  2,723
    Andrew replied

    Hi Jaxter,

    Thank you for reaching out to us.

    I was able to replicate this from our end. I will escalate this to the developer to look into this for the Post Loop Builder in future updates. In the meantime, you can use the Portfolio Element to display your projects.

    We appreciate your patience on this.

    Kind regards,

  •  982
    ThemeNectar replied

    Hey Jaxter002smile.png

    That's occurring because, while the Portfolio offers a field called "project excerpt," it's not the core WP excerpt field, which is what's being looked for when enabling that meta field in a custom query.

    You can programmatically link it to display as desired by using the following snippet in your child theme functions.php: https://pastebin.com/wLrZv0Sb

    Kind regards

  •  1
    Jaxter002 replied

    Ok thanks ! Do you plan on implementing this feature in futures updates or we'll need to put the code each time ?

    Cheers

  •  982
    ThemeNectar replied

    Hey Jaxter002, we're working on the ability to query for custom data within the post loop builder meta section for the next feature-based updatesmile.png

    Kind regards