وردپرس

Excluding the current post in the Single Post template

[ad_1]

Hi team,

I’m trying to use the Query Loop block to show related posts to the current post being shown. I’m adding in the “Single Post” template in the site editor. I was following the documentation here – https://generateblocks.com/creating-related-posts-with-query-loop-block/

However, when I add the parameter to exclude posts, there’s no option to select the “Current Post” as shown in the documentation. As a result the Query Loop is showing the current post as well. What can I do to make this work?

[ad_2]

مشاهده پاسخ های این مطلب
———————————————
این مطلب از سایت انجمن وردپرس گردآوری شده است و کلیه حقوق مطلق به انجمن وردپرس می باشد در صورت مغایرت و یا بروز مشکل اطلاع دهید تا حذف گردد

منبع: انجمن وردپرس

دکمه بازگشت به بالا