最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

categories - Can we return all category (not post) with Custom Query Filter?

programmeradmin0浏览0评论
Closed. This question is off-topic. It is not currently accepting answers.

Your question should be specific to WordPress. Generic PHP/JS/SQL/HTML/CSS questions might be better asked at Stack Overflow or another appropriate Stack Exchange network site. Third-party plugins and themes are off-topic for this site; they are better asked about at their developers' support routes.

Closed 5 years ago.

Improve this question

I wanted to make some sort of category grid using elementor's Custom Query Filter.

I will have a featured image and and post title.

I know ways to do it with a loop but that will be not applicable with elementor as I like to know if a wp query can return all taxonomy (category) as if they were posted.

something like this:

add_action( 'elementor/query/my_custom_filter', function( $query ) { $args = array( 'taxonomy' => 'erfahrungsschatz', 'orderby' => 'name', 'order' => 'ASC' ); } );

Post Type Slug : projekt

Taxonomy Slug: erfahrungsschatz

ELEMENTOR's Custom Query Filter

发布评论

评论列表(0)

  1. 暂无评论