I know javascript pretty well now but I am new to php and wordpress theme building. I have searched a fair bit and can’t find a solution to something...
I’ve created the following pages and hierarchy: Grandparent Parent Parent Parent Child Child Child Parent Parent Grandparent The Grandparent pages have an ACF custom field to pick the colour....
Some of my pages are children of “home”. I want to assign them to a new page. But I cant change the pages parent. Everytime I try and publish,...
I’ve got several search forms on my site and I want them to show different results. My website has a very strict hierarchy and the search form on a...
I’m looking for a plugin/custom function that removes the parent slug of a child’s page permalink. Something that automatically changes the permalink for child pages. Example: www.blog.com/products/apple becomes www.blog.com/apple...
Is there a way to use pagination on a page query like with posts? Here is the code I’m using: $listingPages = get_posts( array( 'cild_of' => '7', 'meta_key' =>...
I’m looking to make a page template, which, if the page is a parent of children pages, then display them as an ordered list. I would preferably like to...
I’m trying to delete all child posts when the parent is deleted. The parent post deletes just fine, but the child posts are not properly deleting. Here’s the code...
I just want to add a class for the active page in the wp_list_pages().Is it possible? If so can I provide a particular class for a active page. Here...
I have following format of menu. Treatment -Beauty --Services --Products -Surgery -washing I have followed follwed following link: How to Display a List of Child Pages For a Parent...