wp_lists_pages
is not a valid function, it’s wp_list_pages
(no s at end of list).
enable debugging in your wp-config.php
file to see php errors
Edit: additional ifo
To answer your other question most advanced editors will check the syntax in your code and will flag errors. With a function spelling error you would need an advanced IDE like PhpStorm to check core WordPress functions and do code completion while you type.
Related Posts:
- How to set custom cookies before output
- How to stop loading multiple copies of jquery
- Creating a WordPress form with a PHP script and default header
- Why isn’t my if/elseif/else working correctly here?
- StudioPress: add meta tag to every page [closed]
- Add custom HTML to posts page
- Using PHP to toggle stylesheet and header image, set in cookie
- Mysterious HTTP 404 header in my own scripts
- Change logo based on incoming domain
- Echo URL of large version of Featured Image
- Conditional Header in wordpress
- add_image_size for header_image
- Responsive Header for Phone
- My php header() function is not working [closed]
- “imagejpeg” function is not working in wordpress
- wp-comments-post.php file returns a blank page
- Insert custom PHP head above in WP pages
- Headers already sent in Pluggable.php / homepage and wp-login error
- Is_front_page inside header.php is always returning true
- Does wordpress templates always in files or in database?
- Adding Meta Tags to a Post using its Tags, Excerpt and content
- Moving code from theme header to functions.php
- WordPress wp_redirect error
- Having Issue on Redirecting With Session in WordPress
- linking stylesheets and scripts with functions.php
- Location of core code for database connection and get_header
- Clickable image link sends people to wrong URL
- How can I use a sliced image As banner? [closed]
- Add meta tags to a custom header
- Is this a correct usage of ob_start() in my WordPress project?
- Change header on pages displaying taxonomy items
- Custom CSV exporter – Cannot modify header information – headers
- How to add Post Tags to a new element in header.php?
- setcookies and header send
- How to internationalize header image?
- Custom functions for string data calculations
- How do you remove header sitewide from mobile only?
- WP_REST_Response – How to return Gzip answer and add Content-encoding header?
- How do I use an iFrame for my header in WordPress twenty seventeen?
- WordPress can’t use ZipArchive
- Reliable way to add nonce to HTTP Header in WordPress?
- How to remove get_header From all single pages in wordpress with functions.php without plugin?
- Display values of current POST request on page
- Changing ALT-tag for logo in wordpress
- Using Javascript On Page – Header and Footer Now Missing
- Modifying child theme’s header
- Add my footer menu to the header
- Change headers for one custom PHP file
- Premature end of script headers: wp-mail.php?
- setcookie() issues on running with HTTPS on WordPress
- Allow user to choose header style
- How to include different html tags in the header for different pages?
- Use header option on wp-login page with a second logo
- my site show this symbol (::) between site title and tagline
- Headers Already Sent
- Changing 2011 theme header image based on user dropdown
- Converting Menu Links to List Elements
- Warning: Cannot modify header information (with a twist)
- Cannot get custom javascript to execute on page
- Cannot modify header information – headers already sent
- Dynamic Email Handler with ‘header (“Location: …’
- Can I use the same nonce for multiple requests on the same page?
- If Custom Field is empty don’t display div
- the_author_posts_link css class
- Design view breaking on Pages
- error_log is not working as expected in functions.php file
- query if on page/2/?
- How to debug php code in hostgator cPanel
- Web scraping using transients
- PHP Script for last login time
- Why the JavaScript code is ignored from wp editor?
- PHP version problem?
- Why Won’t My Inputs in a form with a Get method work together?
- Extend PHP regex to cover “srcset” and “style” attributes
- Automatic Shortcode Creation with Custom Fields [closed]
- WordPress function when file is uploaded, deleted or edited
- Using a $GET parameter from a URL, to redirect to a URL (WordPress)
- Permission callback to check if user has application password
- Hide posts if user is added to it WP_query
- how to display this functions?
- Set default Database Storage Engine when creating tables with plugins?
- How to tag the main tag? [closed]
- Randomize Color Scheme Selection in Theme
- How to deal with a GET variable of ‘name’?
- Hi need update in my terms for other taxonomy
- I am having issue in divi woocomerce checkout module. (DIVI theme)
- display condition based on post term and status
- Trying to use a variable to set image width
- How to change order inside foreach using wp_enqueue_script?
- Adding extra data to shortcode attributes and pass it to JS with wp_localize_script
- Related Posts: if there is no category use tags
- New database entry to trigger runing PHP/SQL query through link with token, without logging into the website
- How to get all users by user_login as a json_encode array?
- defined (‘ABSPATH’) false after AJAX post to other PHP-file
- Subheader title depends on post – change to static
- Make the text field in search form optional
- Loading a post’s content, into a div outside the loop, when it’s title is selected in a list
- Adding a Sub Menu Options Page WP Backend Menu. Whats wrong with my code?
- how to add display_name
- How can add alt tag in following code. Image are showing dynamic in wordpress