[CCS] how to get child-page content by slug
-
Hello,
Great plugin.
I am trying to get the content of a child page by slug.
The page is about-us/team.Normally I could simply use “team” but there is another child page by the same name.
I took a look at content.php and it seems that it uses the get_posts function with the name parameter which does not support hierarchical names.
May I suggest the use of the pagename parameter.
Thank you.
https://www.ads-software.com/plugins/custom-content-shortcode/
- The topic ‘[CCS] how to get child-page content by slug’ is closed to new replies.