child-pages's questions - English 1answer

252 child-pages questions.

There is a site with WordPress installed and a theme selected. I have created an HTML page for the site, but it wasn't looking well with the theme. So, I want to put the page on the site without any ...

I am working on a template which one uses on both parent and child pages. Suppose I have a: template name: TEST I need to use that template on both parent and child pages: Parent page name -> ...

I inherited admin duties for my organization's site. Ive noticed that if I enter a url with a child slug only (and drop the parent) it seems to redirect to the full url. Ex: www.example.com/child-...

I am wondering how I can create a child page for each individual download link I have displayed within my WordPress the_content segment. Currently the inside of my WordPress content looks like this. &...

First I want to apologize if there are spelling mistakes in this question. I'm using Genesis Framework. According to the following answer: https://wordpress.stackexchange.com/a/60295/146574 I'm ...

I have a decent understanding of Wordpress as well as the Advanced Custom Fields Plugin and I'm trying to write my parent page template right now, but I'm having trouble trying to figure out how I can ...

I am currently trying to grab a child page id from a custom post type, but my values returned are always null. I know that the particular ID I'm passing has a parent so there should be a match. What ...

Currently I am trying to add a page as a child in my custom post section. The parent pages in my custom posts works correctly, I've set a template file for them as singe-custom_post_name.php. All good....

I have a function that is triggered when a new review is submitted on a specific page. function rex_my_action ($review, $post_id) { $some_value = get_post_meta( 753, 'rwp_user_score', true ); ...

I searched half the internet to find if the following is possible but unfortunately I can not find anything. I have the following hierarchy of pages: Main page Provider page 1 Provider package ...

I'm able to get the child pages of a parent page with the following query: $args = array( 'post_parent' => $post->ID, 'post_type' => 'page', 'orderby' => 'menu_order', '...

Here's my situation: I have a custom post type I created called "professions" with three professions ("military", "firefighters", "law-enforcement"). I created a page single-professions.php to use ...

I am trying to display the sub-pages of a custom page on the parent page. I found an abbreviated code that works very well for standard WordPress post_type "pages", but does not work for custom ...

I try to set a page template that shows all my children pages as a sub-section of parent page, but nothing working fine. Anyone can help me or have an idea to do this? I'm working with understrap

I'm developing a WordPress theme with several templates. One template is called "Tabs". If a page with this template assigned has children pages, parts of their contents are shown in tabs on the ...

I'm using the following code to display child pages on their parent page and all child pages are sorting alphabetically.how i can turn it off or change sorting by creation date? <?php global ...

My question relates to showing the parents and siblings of the current page. If I am on level 2 page, I would like to show siblings without their children. If I am on level 3 page, I would like to ...

Child page excerpt

1 answers, 50 views child-pages
I have a parent page with some child pages inside. What I'm looking to do is display every child page excerpt and some other information inside its own cell on the parent page. Does anyone know how ...

I have a very similar situation than what's described here: How to set parent-child relationship between differents custom post types The problem though is that I have 4 different custom-post-types ...

All I need is to get a number of children pages of a custom post type This is my query: $args = array( 'post_parent' => $post->ID, 'post_type' => 'all_products', 'orderby' => '...

In my project, I want the parent page to display 3 child pages in its menu. Every child page will be different from product to product. For example Product 1(Parent) -Product 1 -Overview -...

How can I get a Previous / Next navigation that only navigates the child pages of the current page? By that i mean url.com/page/child1, url.com/page/child2 and so on.. I've been searching around ...

I have a cpt (hierarchial and no archive) with the slug 'goals', resulting in url /goals/cpt-1, served by single-goals.php. This is perfect. I have a normal page "Goals" with permalink /goals/ served ...

I have a page with a couple of children pages. On the parent page I want all children page listed alphabetically by title, but I want the sorting to ignore articles like "The" or "A". I achieved this ...

I made a script which checks if the currently viewed page has a parent page and if it does, it prints both the parent title and child title. But if there is no parent page I still get a title of the ...

I have a menu item Services which has 5 submenus. Now when I click on one of those submenus, like Flexible Endoscopes I manage to echo the title of child item or current page title. But I can't find ...

My site has several static pages and several custom post types. I'm trying to create a custom user role called students and give students access to ONLY certain custom post types and certain specific ...

If anyone can help that'd be great. I've found a snippet of code that I've used which is pretty much doing what I want it to do, which lists out subpages of the parent, adds a thumbnail if there is ...

I'd like to shorten this code and instead of manually placing all children Id's, I'd like to pull out only the id's and set it to array. this could be something dynamic in the future when they are ...

I have created a child page. However, when I access "http://example.com/Page/ChildPage" does not appear? Page (filename = page.php -> content-page.php) [WORK] Child Page (filename = page.php -> ...

I want to create a silo on my WordPress site so I create a post and then I should be able to (under Page Attributes, at the right side of that post) assign that post to a parent page. But there isn't ...

I try to add link to parent page to a working list of childpages. The parent page must be the first item's list whenever the list appear. Here is the actual code found here : //* List child pages [...

My need is to check if a page is subpage of a page (with ID). I try to get this code working but it doesn't. function is_child($pageID) { global $post; echo $post->post_parent; // display the ...

I've this pages structure: TOP PAGE SUB PAGE 1 SUB SUB PAGE 1 SUB PAGE 2 [etc] Is it possible to display on each sub page a link to come back to the top level page? And how?

Can anyone please help me to with the wp_query. I am making a template file/loop to create and archive page of the current page children pages. This query needs to be automatic as I am using in on ...

I have a slick slider scroller on my home page that cycles through some of the pages I have on my main menu. I am using the following code to do this: <div class="page-scroller" > <div ...

In pages table in admin, how can I include both children pages in search result when I make a search? The result must display the page with its children pages in list. Thanks!

I would like to apply special styling to the menu items of pages that are children of child pages. Is there a way to do this?

I'm creating a new WP website based on a template, and I've created the child theme for this template. It is working without any problem. I understand the basics for a child theme as adding my style....

I have many child galleries organized by their parent galleries (multiple parent galleries with several child galleries under). I would like to create a shortcode that is able to query all the child ...

I have an existing shortcode that generates a list of child pages/posts. I add the shortcode to the parent page, and then it lists out all of the children. HOWEVER, what I really want is to be able ...

I've spent a while looking at this, but the plugins on offer appear to either only offer frontend lockdown, or are total overkill and do both which will be confusing for the client. I'm looking for a ...

<?php $args = array( 'post_type' => 'page', 'posts_per_page' => -1, 'post_parent' => $post->ID, 'order' => 'ASC', 'orderby' => '...

www.youtube.com/watch?v=GHTZn3atTcM I am now watching the above video and don't understand the usage of "child_of" in these 2 situtation: wp_list_pages(); get_pages(); For wp_list_pages(), he uses '...

I am attempting to display the child pages of a custom post_type page. I found a shortcode that works great for standard WordPress "pages" post_type, but doesn't work on custom post types. Here is ...

We are trying to create a function for breadcrumbs that will show not only the path to the current page, but also to other pages with the same parent page. For instance, on example.com/parent1/child3,...

On a parent page I want to display all the childpages (first child only) including its template. For Example Pages: Parentpage (Templatename: parentpage) - Child A (Templatename: childpage) - Child ...

I want to create a special custom post type with a url format as follows site_root/post_slug[/post_name[/version_number]] site_root/post_slug: points to a list of posts i.e. post_name site_root/...

I am watching a wordpress tutorial on Youtube about get_pages() and "child_of": (from 17'28" to 18'35") https://www.youtube.com/watch?v=GHTZn3atTcM To check with a page has child(ren) or not, he ...

This has been bugging the hell out of me, it should be so simple! I have a list of child pages under the parent called 'Our Homes'. The sitemap structure is as follows: Home Our Homes home 1 home ...

Related tags

Hot questions

Language

Popular Tags