1 vote

How do you choose to display specific posts/pages by parent url

Use the filters available in get_adjacent_post() to add a post parent condition to the WHERE clause: function wpse_406178_adjacent_post_where_sibling( $where, $in_same_term, $excluded_terms, $taxonomy,...
user avatar
  • 35.5k

Only top scored, non community-wiki answers of a minimum length are eligible