Skip to content

Feature: Need to be able to get parents children. #96

@Sveb

Description

@Sveb

I can't seem to get the children of the parent of the current page.
Image

This is my query
const { data } = await useWpFetch(/post, { query: { uri: route.path, fields: 'acf, parent', depth: 2, per_page: 10 } })

I have tried using depth, it doesn't seem to work on the parent node.

Can we please have the ability to get data.parent.children?

Site in question is DressCode

Metadata

Metadata

Labels

enhancementNew feature or requesthigh priorityIssues that we need to address ASAP

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions