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: …’
- How to run multiple Async HTTP requests in WordPress?
- Can i change wordpress emoji src from http://s.w.org/ to my site?
- WordPress theme & site not loading after moving files
- WP Plugin + OOP: Adding Menu Page doesn’t create required effect
- Can I run custom php on specific pages in wordpress?
- Display All Post Attachments and Assign Class to the Last Image?
- Newbie question: no index.php? in my plain wordpress permalink
- Proper use of internationalization
- How to sanitize my cookie name
- How to select WooCommerce products by post_meta and order them
- How to stop featured image thumbnail [set as background image] on blog index page just repeating same image across all posts
- wordpress count link clicks by ip address
- php script to change slug in post automatically
- Add more button if more 8 items
- Child page menu in sidebar
- post thumbnail, conditions, else wont work
- Add class to website based on post taxonomy
- Need php code’s output to display underneath a Divi Module
- PHP Warning: include(): Unable to allocate memory for pool
- javascript variable to wordpress php variable
- Do I need to edit my theme in order to change the title of my blog page?
- trouble with parse error [closed]
- Why does my settings form redirect to the homepage?
- Passing an array into WP_Query as a variable
- Remove Post if Advanced Custom Field is checked to fix paging
- How to separate product payment and shipping payment in WooCommerce checkout? [closed]
- WordPress single.php get_header not working
- Load more posts using AJAX based on posts inside WP_Query
- Undefined array key 0 wp-includes/capabilities.php on line 76
- A WordPress Page to display custom database query results
- Site doesnt work once PHP changed to 7.1
- Run PHP Results inside WP Shortcode
- Show Nav Link To Users Signed In
- WordPress $GLOBALS and PHP $GLOBALS
- Remove the_content From Loop
- Trouble figuring out how to get my button to submit comment
- How to make my scroll bar show under condition
- How to temporarily set the featured image for a post when the post is loaded
- The theme doesn’t load css and JS files doesn’t load in functions.php