Interview Questions

1. What is the best way to display a list of child pages in WordPress?

Shortcodes are convenient, but they require you to add them to every page that has a parent or a child page. You may end up using shortcodes on a lot of pages, and you may even forget to do it. It would be beneficial to alter the page template file in your theme so that child pages will be displayed automatically. This can be achieved by editing the main page.php template, or by creating a custom page template in your theme.

By Md Riyazuddin 2 0
Is this helpful? Yes No

Submit an interview question

Submitted questions and answers are subject to review and editing, and may or may not be selected for posting, at the sole discretion of w3Sniff.

Get Started


Leave a Comment

Check out more interview questions

Based on your skills

MS SQL Server

1756012 1720 23 859


45518 92 0 46


36685 72 1 36