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:
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.
There is not much we can do about a 3rd party plugins options. The theme has no control over that. You would need to have that custom developed or accept that another plugin is not a bad thing if it provides what you need.