Manually adding current_page_parent to wp_list_pages()
I'm using wp_list_pages()
like so:
?php wp_list_pages('title_li=include=1714'); ?
But would like it so that the link has a current_page_parent
class under the following conditions:
if (is_singular('work')) {
Is this achievable with this function?
Topic wp-list-pages navigation theme-development custom-post-types Wordpress
Category Web