Trying to add some custom text into WordPress Post title via function.php
The first thing that i am not getting is $exclusive->y ? can you please share custom field settings that you have created? And the second thing that i have found, you must have to put global $post; in the first line of the function : add_filter( ‘the_title’, ‘wpb_new_title’, 10, 2 ); function wpb_new_title( $title, $id … Read more