When using this shortcode, I would also like to add the parent page (name + link) above the list –
[pagelist child_of=”current”]
Can this be done with the shortcode?
(for example – the above shortcode gets all the child pages of the “About” page. I would like that on top of the list there would be an “About” link)
Thanks
]]>Lange tijd had ik met de page-list plugin een lijst met hoofdpagina’s en subpagina’s.
Sinds enige tijd krijg ik alleen hoofdpagina’s. Mijn code is:
pagelist show_date=”modified” exclude_tree=”232,2213″? date_format=”? ? {d-m-Y}”?post_status=”publish” sort_column=”post_title”]
In de details van de plugin krijg ik nog steeds de melding ‘Waarschuwing: Deze plugin is niet getest met je huidige versie van WordPress.’
Welke oorzaak kan hier spelen?
Piet Verboom
]]>Is this compatible with PHP 8.2? 8.3?
]]>The plugin is great an with so many features but… one thing is missing and pretty weird, it’s already been asked 1 year ago by another user, but I think that this feature makes the difference: why the “depth” parameter is not available for the “pagelist_ext” shortcode? It would be great to limit depth, otherwise the “pagelist_ext” shortcode becomes difficult to use in multilevel menus… but what’s more, the “pagelist” simple shortcode (no “ext” functions) fully supports depth limit.
Thanks!
On the plugin homepage is the following warning:
“This plugin has not been tested with the latest 3 larger versions of WordPress. It may no longer be maintained or supported. It may also have compatibility issues when used with more recent versions of WordPress.”
@webvitaly could you please test the plugin with the latest versions of WordPress, so the warning I quoted above will disappear? The plugin still seem to work at my website, so I would expect that testing shouldn’t reveal any major problems.
]]>what’s the short code to make columns for the subpage shortcode
]]>How can I show multiple, not just one, custom fields with the pagelist_ext shorcode? I tried [pagelist_ext show_meta_key=”your_meta_key1,your_meta_key2″] and [pagelist_ext show_meta_key=”your_meta_key1″ show_meta_key=”your_meta_key2″]. Both not working
]]>Hi! How can I show just the parent of the current page? Thanks!
]]>On mobile devices, when one clicks on a parent link visitors only briefly see child links before going to parent page. Is it possible that first click on parent link shows child links and second click on parent goes to parent page?
]]>add_action('genesis_entry_footer', 'shortcode_wp_pagelist');
function shortcode_wp_pagelist() {
if ( is_singular('page') ) {
echo do_shortcode('[pagelist sort_column="post_date" child_of="parent" class="page-list-cols-3"]');
}
}
Hi
I’m using the above shortcode in a Genesis theme to output content at the foot of each page. However, there is a hiccup. If you go to the Page Matthew which is a sub page of the page Gospels it lists all sub-pages of the page Gospel.
If I go to Matthew 1 which is a sub-page of Matthew it lists the 28 pages of Matthew which is what I want to happen.
Is there another element I can add so that when I click on Matthew it lists the pages that Matthew 1 lists.
https://gucu.org.uk/2-the-new-testament/1-gospels/1-matthew/
https://gucu.org.uk/2-the-new-testament/1-gospels/1-matthew/matthew-1/
Thanks Rich
]]>Is it possible to display the list on several pages ? When we have more than 100 pages, this would be a good option. Thanks !
]]>All of a sudden after a year of working I did some WordPress and theme updates and now the Sub-pages aren’t showing on the state pages.
The code I am using is: [subpages class=”page-list-cols-5″ depth=”1″]
However I tried using just the basic sub code and also uninstalled and reinstalled the plugin.
]]>I created a Custom Post Type with the plugin Custom Post Type UI. https://www.ads-software.com/plugins/custom-post-type-ui/
Now: how can I get the Page list of a custom post type (for example, name of custom post type is ‘team’), using a shortcode.
The short code [pagelist post_type=”team”] is not working.
What could be wrong/needed to get these pages live in a page list.
Thanks!
Hi thanks so much for this incredibly useful tool,
Wondering if its somehow possible to limit the depth of child pages listed while also displaying the feature image and excerpt?
I mean
[pagelist depth=”1″]
works to limit display to just top-level pages, but
[pagelist_ext depth=”1″]
Doesn’t seem to work
Any tips? I guess I might need to write my own query?
]]>Awesome plugin overall, thanks! But found a bug: when combining [pagelist_ext meta_key=”location” meta_value=”London”] I get nothing :/. [pagelist_ext] separately works, and that metadata works with [pagelist]
]]>Generally when it comes to web acceleration each HTTP request fewer is better!
I plan to insert a Shortcode block with a page-list shortcode in only a few pages of my block-theme based WordPress website. And I make use of caching for web acceleration. I wonder if it is possible to:
<head> ... <link rel="stylesheet">
also offer an option to enqueue the CSS inline (currently: 70 lines, 1250 bytes) rather than using the external CSS file. Possibly with the mechanism of the theme.json Style Engine (just an idea, don’t know if that would work, am no developer).For those websites which use page-list only in limited parts of their websites a more differentiated embedding mechanism possible pays off performance wise.
]]>Hello! I just installed your great plugin, and it’s working as intended, but I’m seeing this repeated error in my error log:
PHP Warning: Attempt to read property “post_parent” on null in …/wp-content/plugins/page-list/page-list.php on line 150
Do you have a fix for this? If I’m not mistaken, it’s an incompatibility with PHP 8.0. Thanks again!
]]>Hello
Before it was working, but not anymore. Maybe because of the update. I want it to include with meta value and child of current, but exclude child of current not having meta value.
[pagelist meta_key=”some_key” meta_value=”some_value” class=”page-list-cols-5″ child_of=”current”]
Thanks,
]]>PHP Notice:? Trying to get property ‘ID’ of non-object in /wp-content/plugins/page-list/page-list.php on line 405
PHP Notice:? Trying to get property ‘ID’ of non-object in /wp-content/plugins/page-list/page-list.php on line 406
PHP Notice:? Trying to get property ‘ID’ of non-object in /wp-content/plugins/page-list/page-list.php on line 407
PHP Notice:? Trying to get property ‘post_parent’ of non-object in /wp-content/plugins/page-list/page-list.php on line 408
]]>Is there anyway to Exclude a specific Category or Tag?
]]>Other than making the change manually inside of the plugin code itself, is there a way to change the heading size that is being output inside of the plugin shortcode? The default is an H3 tag and many sites have to adhere to web accessibility compliance for state or federal requirements.
Would it be possible to add the ability to the plugin to select a different heading size if needed?
]]>Hi,
Everything is in the title, even with the hierarchical=”0″ parameter, the subpages are displayed.
]]>I’m using the Page-list plugin and want to change the type style and size of the list it generates. Is there a way to do this?
]]>Is there a way to hide the children pages under the parent until the parent is clicked on as the list can get rather long.
Q
]]>Hello,
I use this shortcode with your plugin :
[pagelist sort_order=”desc” sort_column=”post_date” number=”10″]
I put my pages into folders with the plugin https://fr.www.ads-software.com/plugins/folders/
Is it possible to show only links to pages that are in a specific folder with your plugin ?
Thank you very much for your work, it helps me a lot ??
]]>Hi.
Is it possible when using
[pagelist_ext show_image=”1″ authors=”2,3,4″ ]
To automatically get the Author id from current author and show pages only from that Author?
Hop you can help.
Thank you!
]]>I have a menu that is very long. Is it possible to split it into chunks?
]]>Is there a way to split the generated list of siblings into 3 or 4 co;ims? Will look better rather than having a long list
]]>Hello, i installed this plugin and try to add a featured image in a page. Somehow, all customized UI(General theme css setting / header / footer / logo image ) is restored to original theme setting.
Do you have any set up related to page customization?
This is existing interface:
https://carersgarden.org/lessons/認知障礙症藥物管理1-藥物管理能力評估/
Thank you for your support~
]]>I have many pages which makes child_of=id difficult, bit it would be simple with child_of slug.
Is it possible to modify the pagelist child_of function to use the slug, not id? A new function?
Unfortunately, my coding skills are limited. I’d really appreciate any help.
]]>