mikey300
Sophomore
Just Getting Started
Member Likes (0)
Don't know if there is an easy setting for this or if I will need to edit some code (chich is ok too). In Business Portfolio, in particular on this site halesmith.net, lets look at the "services" page. The page feature title can be Changed in theme options, but it changes the title for every page that I have. I would Like to change The Page Title for each page differently or delete it all together. Basically I want it to look like the title is the same thing that I named the page. In this case it is "Services"
Responses (8)
Member (joined January 2012) Likes (0)
You can edit this file:
/wp-content/themes/business-portfolio/library/components/main-panel.php
Change line 5 to this:
$page_title = get_the_title($ID); //get_option('dev_businessportfolio_page_title');
That should work...
Member (joined March 2012) Likes (0)
You are the man! I appreciate the help and only have one more question before I have this them down. How do I make an exception for that page not to show the page name now below the splash strip?
Member (joined January 2012) Likes (0)
Line 170 of this file:
/wp-content/themes/business-portfolio/library/functions/loop-functions.php
<h2 class="posttitle">" rel="bookmark" title="<?php _e( 'Permanent Link to', 'business-portfolio' ) ?> <?php the_title_attribute(); ?>"><?php the_title(); ?></h2>
Just delete it...
Glad to help! If you're happy, click the "Say Thanks" button next to my name ;)
Member (joined March 2012) Likes (0)
Thanks so much. Sent you points and thanks
Support Kangaroo (joined March 2011) Likes (0)
Greetings mikey300 and Rob,
@mikey300 happy to hear that you got this resolved.
@Rob another job well done! Some rep points sent your way.
Cheers, Joe
Member (joined March 2012) Likes (0)
Ok, I jumped the gun a bit on saying that resolved it. That took the title off of the posts but it does not control the page titles. The pages still show the page name
Member (joined January 2012) Likes (0)
Same file...just look for this: <?php the_title(); ?>
and make it look like this: <?php //the_title(); ?>
OR delete it.
Do 1 of these at a time and see which section you modified fixed it...some sections are for Buddypress (and are marked), so if you're not using it you can skip them.
That should do it...
Inactive (joined February 2012) Likes (0)
A related discussion happened here, sort of like the rest of it: http://premium.wpmudev.org/forums/topic/remove-title-from-pages-under-the-splash-strip
Cheers!
WordPress Questions?
We've got answers!
Find out more »