Are you a GenerateCustomer?

Do you have an active GP Premium or GenerateBlocks Pro license key?

Create a GenerateSupport account for GeneratePress and GenerateBlocks support in one dedicated place.

Create an account
Already have a GenerateSupport account? Login

Just browsing?

Feel free to browse the forums. Support for our free versions is provided on WordPress.org (GeneratePress, GenerateBlocks).

Want to become a premium user? Learn more below.

Testimonials query loop

  • Hi
    I have a CPT – testimonials.
    I created a query loop which will display these testimonials.
    I would like the complete post content (the testimonial) to display in the query loop, but I can just get the excerpt.
    Is there a way to show the complete post content?

    Thanks,
    Dan

  • Hi Dan,

    Do you need to keep the HTML tags of the CPT? If not, just increase the excerpt word count.

    If so, then it will require custom coding to output the post content.

  • Yes I do. There might be formatting and images.
    I solved this by adding a wysiwyg acf field for the content. But why doesn’t the query loop have an option for natively adding the post’s content? Or using the gp-dynamic content block inside if it?

    Thanks,
    Dan

  • But why doesn’t the query loop have an option for natively adding the post’s content

    WP used to allow adding post content block into GB query loop, however, they disabled it, and now the block can only be added to WP’s query loop block.

    Or using the gp-dynamic content block inside if it?

    GP dynamic content block can still be used in GP’s element.

  • WP used to allow adding post content block into GB query loop, however, they disabled it, and now the block can only be added to WP’s query loop block.

    wow, that’s strange – any idea why they would add this limitation?

    GP dynamic content block can still be used in GP’s element.

    I’m using a pattern, not an element.

    Thanks,
    Dan

  • wow, that’s strange – any idea why they would add this limitation?

    Not sure.

  • In my opinion it is on GB to build an alternative method displaying post content inside a GB Query Loop, if WP core deprecated the previous method. This is such basic functionality and a huge bummer to deal with right now.

  • Hi there,

    it is something we are actively investigating and will implement our own version if WP continue to restrict access to the core block.

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