Skip to content
#

twig

Here are 1,217 public repositories matching this topic...

timber
errand
errand commented Sep 26, 2020

Expected behavior

{{ post.get_comment_count }} should return only comments count without trackpacks and pingbacks
because post.comments return only comments

Actual behavior

post.comments return only post comments

Steps to reproduce behavior

Add trackbacks and pingback, render {{ dd(post.comments) }}

What version of WordPress, PHP and Timber are you using?

WordPress 5.5.1

kimai2

Improve this page

Add a description, image, and links to the twig topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the twig topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.