Wordpress front_page Question

Jondoe0069

New member
Mar 21, 2007
1,317
19
0
Estados Unidos
I am running a lot of wordpress sites with the blog on a page other than home. I use Platinum SEO pack with my titles as %post_title% | %blog_title% and since it uses "if is_home" to recognize the home page, my front page title is basically blog title | blog title. This is annoying as fuck to me and I thought about modifying the plugin code with "if is_front_page" in the necessary places to pick up the home page title and meta data from the plugin config, but I don't want to have to do this every time I upgrade the plugin. Anyone have a simpler solution?

Sorry, there wasn't a single boob icon.

img4b25c261319e9.jpg
 


The plugin takes care of the "home" page with settings in the config and uses the exact title you give it. It's just that I put the blog in /blog and use a different page for home. If the plugin used "if is_front_page" to take the home settings, it would be fine, but it uses "if is_home," which doesn't work if you use a different page as the front/ index page.

I could easily modify the plugin with "if is_front_page" in place of "if is_home," but I don't want to have to fix it every time I update it, especially since I do this on several different installs. As far as I can tell, most plugin updates replace the plugin php file which would wipe any of my changes on update.

I would use a different plugin, but platinum SEO is the simplest for what I'm doing and I already have hand written titles/ descriptions/ meta on all my pages and posts for several installs and I don't want to have to transfer or rewrite these.