How to Display the Child Pages outside the Parent Theme?
We’ve been talking with a couple of customers using Rosa, and they pointed out that it’s better not to have the content of child pages available in two different places: self-page and inside the parent.
That’s why, a few versions back, we changed the structure of the theme, and the child pages were displayed inside the parent, not separately.
This change happened made as an improvement for SEO.
However, some customers wanted to present the child pages inside the parent page and separate them too. There’s an easy way to do this change. You need to copy this line of code:
PHP
add_filter( ‘pixelgrade_multipage_allow’, '__return_false' );
In functions.php file. There’s one more thing you have to do. Go to WordPress Dashboard→ Settings → click on Permalinks, and hit Save changes. This will flush the permalinks and apply the change.