Post Title Just Stopped Displaying!
-
The code I have has been working just fine on my site until I upgraded to the most recent version of WordPress, and I think that’s when I started experiencing problems. Now my code below that displays the post title will not display. I have the following code:
<?php if(!is_page( array( 'home', 'about', 'about-batya', 'faq', 'other-articles', 'services', 'consulting-services', 'contact', 'oops-email-exists', 'oops-invalid-email','thankyou-confirmation', 'thankyou-signup', 'thanks', 'grateful-parents' ) ) ) { ?> <div class="toptitle" style="margin-bottom: 15px;"> <span class="single-title"><a href="<?php the_permalink() ?>"><?php single_post_title(); ?></a></span> more code here
I don’t understand what caused it to stop working exactly, but the rest of the code works on the page. Here is the url for reference: http://www.batyathebabycoach.com
Can anyone help me fix it?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Post Title Just Stopped Displaying!’ is closed to new replies.