child-pages's questions - English 1answer

256 child-pages questions.

function get_table_columns() { $columns = array( 'author' => __( 'Author'), 'title' => __( 'Title'), ); return apply_filters( 'message_table_columns', $columns ); } function ...

I'm trying to show child-pages in a certain order, in a list. This is my code to output the pages as a list: $parent = $wp_query->post->ID; wp_list_pages("title_li=&child_of=$parent&...

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 ...

I have a parent page that is based on Template A. Under this page is a child page on Template B - on this page goes the content and has a featured image that I need to get on parent page. So the idea ...

I have two pages - new.hillsong.com/australia/sisterhood - new.hillsong.com/hills/sisterhood Both pages are displaying the content for the /hills/sisterhood site but they are different pages with ...

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 ...

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 know this thing has been posted several times now, but I can't figure it out. I am asking for your help. I have created theme child before, for other WordPress themes, but this one is giving me hard ...

I would like to ask that, how to get the link back to parent page when i'm in the child pages? I would rather to use a proper link instead of <a href="javascript:history.back()">Go Back</a>...

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. I'...

I don't want to use the dropdown menu for sub/child pages on my Wordpress site, I want the pages to be listed in the sidebar on the parent page. This is the code I'm got so far (below), however it ...

I have inherited a site with over 600 pages/subpages. I plan to use a plugin to change the way the navigation displays but it requires the pages to be in the Appearance -> Menu in this page: /wp-admin/...

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 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, 57 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 ...

Related tags

Hot questions

Language

Popular Tags