Display only child pages of current page in Elementor
Resolved
Requested:
2 years and 2 weeks ago
Hi there,
I use elementor as my page builder.
1) Can the sun pages of the page be displayed as a sidebar? The sun pages will appear on each page.
2) Can the list of sun pages be styled using elementor or only the plugin defaults?
If you add the following filter to your active theme’s function.php file, the Pages widget will display only the child pages of the current page.
Note: If you do not want the current page to display, you’ll want to uncheck the “Display highest level parent page” option.
As far as styling goes, I can’t say for sure what Elementor allows as far as styling. I can say this plugin’s widgets have styling options available which may be used within Elementor. If you need some help styling your widgets, please let us know, and we’ll be happy to write some custom CSS for you.
Hi Kobi,
If you add the following filter to your active theme’s function.php file, the Pages widget will display only the child pages of the current page.
Note: If you do not want the current page to display, you’ll want to uncheck the “Display highest level parent page” option.
As far as styling goes, I can’t say for sure what Elementor allows as far as styling. I can say this plugin’s widgets have styling options available which may be used within Elementor. If you need some help styling your widgets, please let us know, and we’ll be happy to write some custom CSS for you.
Have a great day!