Request for technical issues
-
Hello,
I have installed the plugin “related posts by taxonomy”. And I want the right side bar to display the related pages of the same parent. I have added “related posts by taxonomy” Widget to the right side bar in the wordpress generatepress background. But there are only posts type (post_type=post) in the background, how to add page type (post_type=page). How do I achieve it, do I need to add functions to the theme or customize it? Please give guidance or code.Sample as below & please check the attactments:(https://fv20.failiem.lv/thumb_show.php?i=nacvnfdr&download_checksum=83f0159e5d57a7e7455fa99902d158d2882115c0&download_timestamp=1590835998)
The goal achievement result is: when accessing “Page A-1” (Domain.com/page-a/page-a-1/), the right column will display “Page A-2” and “Page A-3” under the same parent category, and others will not be displayed.
Similarly, when accessing “Page B-2” (Domain.com/page-b/page-b-1/), the right column will display “Page B-2” and “Page B-3” under the same parent category, and others will not be displayed.
Looking forward to your reply ASAP.
Thanks.
The topic ‘Request for technical issues’ is closed to new replies.