Jump to content
Sign in to follow this  
rpacker

How to display title only

Recommended Posts

rpacker

How can you display the title in the browser title bar without the name of the page accompanying it? i.e.: "pagename" | "title" to show only as "title" on every page.


Randall Packer

Multimedia Artist & Educator

http://www.randallpacker.com

Share this post


Link to post
Share on other sites
Jenny
The best way to do this is by using an SEO plugin. I highly recommend Wordpress SEO by Yoast. http://wordpress.org/extend/plugins/wordpress-seo/

Jenny :: Web designer at Simple Mama (follow me at @simplemamacom)

Check out Share Me, a social sharing add-on for DMS that is super simple to set up.

Share this post


Link to post
Share on other sites
rpacker
Thanks. I just installed the SE) plugin and am looking at the title section. Have you used this before? I'm not sure what the title template would be to display the title only. Would you possibly know? Also, since Platform base doesn't have a header.php file, I don't know if the following is used to display the title per their instructions: <?php wp_title(''); ?> I know these aren't Pagelines questions, but any help you can offer would be much appreciated.

Randall Packer

Multimedia Artist & Educator

http://www.randallpacker.com

Share this post


Link to post
Share on other sites
Jenny
Yes I use the plugin on all my blogs. The shortcodes are all listed at the bottom of the page. For just the title, use %%title%% You do not need to check the box for <?php wp_title(''); ?>

Jenny :: Web designer at Simple Mama (follow me at @simplemamacom)

Check out Share Me, a social sharing add-on for DMS that is super simple to set up.

Share this post


Link to post
Share on other sites
rpacker
That worked like a charm, thanks so much! I used the actual title of the site in all the different types of pages, rather than the title script, in order to not have to place a title in the Wordpress settings. That way the title doesn't show up anywhere else.

Randall Packer

Multimedia Artist & Educator

http://www.randallpacker.com

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×