Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

WordPress

Brandon Brigham
Brandon Brigham
3,716 Points

How to change Blog Posts Page Title

Hello,

Please visit the site I'm working on @

http://valleyoakca.com/

Go to Blog and then click on a blog post. You will see that the page title when clicked on any blog post says "Featured Homes"

How do I either change this to Blog, or the Blog Title, or just get rid of it altogether?

Thanks!

2 Answers

Josh Cummings
Josh Cummings
16,310 Points

Hi Brandon,

Without the PHP used for that page, it's a little tough to see what exactly is causing that. What themes or plugins are you using that could be affecting this? Or is there something wrong with the loop?

Have you checked your post categories already? Maybe those posts are under the Featured Homes category.

You can also try searching the WordPress support forums.

https://wordpress.org/support/

Hope this helps.

Brandon Brigham
Brandon Brigham
3,716 Points

Hi Josh,

The theme is X version 3.1.1

The plugins that my client is using are: (too many lol)

Category Posts Widget | Contact Form 7 | Display Posts Shortcode | Easy Theme and Plugin Upgrades | Easy WP SMTP | EWWW Image Optimizer | Force Regenerate Thumbnails | Google Analytics Dashboard for WP | InfiniteWP - Client | Lightbox Evolution | List category posts | LoopBuddy | Map List Pro | Members | Revolution Slider | Schema Creator by Raven | Speed Booster Pack | Testimonials Showcase | Which Template | WordPress Researcher | WordPress SEO | WP-Mail-SMTP | WPBakery Visual Composer | WP SMTP | WP Template Overrides | Wufoo Shortcode Plugin | X - Shortcodes |

There isn't even a category for 'Featured Homes' so I don't know where this is coming from. There's a 'Featured Homes' page but other than that I don't know where this is coming from.

Not sure what's going on

Josh Cummings
Josh Cummings
16,310 Points

It sounds like maybe in the php file for those posts, it is calling for the wrong title. In WP-content > themes > your theme or child theme, check the single-post.php file. It should say

<?php the_title  ?>

in the loop. Also check the template overrides plugin.

Brandon Brigham
Brandon Brigham
3,716 Points

Hi Josh -

So this is what the single-post.php file says:

            <?php x_get_view( x_get_stack(), 'wp', 'single' ); ?>
            ```