| |||||||
| Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
![]() |
| | Thread Tools | Display Modes |
| |||
| Trying to get my first wordpress blog setup. If I click on "about" in the nav bar, the title of my blog will display in the heading on the about page. Is there a way to remove the title of my blog from the heading and replace it with something different on the about page? I don't mind if the graphic on the about page is the same as the home page. In doing a Google search all I could find were methods that used advanced php that I could not follow. Thanks. |
| |||
| Quote:
<div id="navigation"> <ul> <li class="selected">> Home[*]<?php wp_list_pages('sort_column=menu_order&depth=1&titl e_li='); ?>[/list]Where it says "Home" make that "Your Niche Home" or whatever you want the title to be. An idea to use is my site is solutionsforbadbreath.com so I changed "About" to "Bad Breath Home" Joaquin
__________________ When you are looking for a solution, you are feeling positive emotion - but when you are looking at a problem, you are feeling negative emotion. Focusing upon a solution makes you feel positive emotion. Focusing upon a problem makes you feel negative emotion, and while the differences are subtle, they are very important. Joaquin |
| |||
| Joaquin, thanks for your replay. I noticed on your site solutionsforbadbreath on the home page when you click on the tab banish bad breath you are taken to a page where the title of the page is the same as the tab i.e. banish bad breath. Can you explain how you did that or send me to a site where I can learn how to do this? Thanks again. |
| |||
| Quote:
The tab in the header bar such as banish bad breath, bad breath remedy and so on are just pages I created, and the title of the page is the same as the name I want in the header nav tabs. So when you log into wp admin just go to write and then write page. Is that what you mean Grump? Joaquin
__________________ When you are looking for a solution, you are feeling positive emotion - but when you are looking at a problem, you are feeling negative emotion. Focusing upon a solution makes you feel positive emotion. Focusing upon a problem makes you feel negative emotion, and while the differences are subtle, they are very important. Joaquin |
| |||
| Joaquin I guess I may not be explaining the problem very well. In wordpress 2.6 if you goto settings - general - blog title, you enter the name of the blog. For my test site I just entered the name Cars. When you view my site the name Cars is at the top of every page. If you click on about in the nav bar, Cars will display at the top. No matter what page I create the blog name will appear at the top of the page. For your site , the second tab text is Banish Bad Breath. When I click on that, a page appears with the text at the top that says Banish Bad Breath. So I was just wanting to know how you get the text in the tab to display at the top of your page. Thanks again. |
| |||
| Hello, Can you put a link to your site, so I can see what you are talking about??? Thanks Steve |
| |||
| Hello, I am not sure how to fix that> Mine does the same thing as yours, will have to wait for Joaquin. sorry Steve |
| |||
| Hi Grump. Solutions for bad breath is wp 2.0 and I have not yet worked with word press 2.0+ yet. First of all I must say I am no Word Press expert and have learned a fair bit but still I have quite limited knowledge about word press. Second if anything I suggest to you messes up your blog, do not blame me, as I have already told you that I'm not an expert. I've learned by experimenting and learning from books and doing searches on the Internet. I've also created myself some quite big word press issues that were hard to correct. Number one before you do any changes to word press also record the original data and settings, before changes, to a file so you can put things back as they were if issues arise. WordPress Tip: Reorder your Title Tag Posted in wordpress by Mark Jaquith on April 23rd, 2008 WordPress, by default, creates <title> tags that look like this: <title>Yoursite » Your Post Title</title>. Many people want to use <title>Your Post Title » Yoursite</title> instead, to give more importance to the mutable part of the <title>. There are plugins to do this, but I’d like to show you how a simple change in your theme can accomplish this task. Caveat: this only works in WordPress 2.5 and above. 1. Open your header.php theme file (if you don’t have one, open index.php or whatever one has your <title> tag) 2. Look for: <title><?php bloginfo('name'); ?> <?php if ( is_single() ) { ?> » Blog Archive <?php } ?> <?php wp_title(); ?></title> (or something similar) 3. Replace it with: <title><?php wp_title('»', true, 'right'); ?> <?php bloginfo('name'); ?></title> The first wp_title() argument is the separator character. I like » (which looks like: »). The second argument is whether to echo (print to the browser) the title, or to return it. We want to print it, so we put true. The final argument is where the separator should go… on the left or on the right. We want right, so we put "right". Simple enough! Update: I got confirmation from Matt Cutts at Google that this is better for SEO. Grump the information right below is from the PLR Process Handbook Pages but that was for version wp 2.0. 2. Optimizing Your Title Tag In addition, you would probably want to optimize your title tags so that your post title appears in the title tag. For this, you’ll have to muck about in the header.php file – the simple way to do this is to navigate to the current theme folder on your web server (in the wp-content/themes/ area) and copy the header.php file on to your PC. There, make a backup of the file (in case you need to restore it later on), open it in a text editor or an html editor and locate the following tags: <title> </title> Once you find that block of code, delete it and replace it with this code: 49 <title> <?php if(is_home()) { bloginfo('title'); } else{ wp_title(''); echo ' » '; bloginfo('name'); } ?> </title> If the visitor is on the main page, they will see your blog name in the title tag. On the other hand, if they are on an inner page, they will see the post title in the title tag followed by the blog name. Simple, isn’t it? Once you’ve updated the header.php file just upload it back to your site and check your posts to make sure the changes have taken place. As mentioned earlier, with preparation – i.e. customized themes and plugins ready in a folder – you can cut down your setup time to about 5 minutes. When you consider that you get 440 articles each month (around 11 new sites to build), you’d want to save time wherever possible. 50 Grump I just copied this information from doing a search. Here are some great word press training sites that I use and have learned much. Earn Money | Internet, PPC & Affiliate Marketing Blog WordPress Training Joaquin P.S. Grump I'm always learning too so let me know what you have done and what has not worked and worked for you. Part of these PLR forums is the beauty of helping each other and exchanging ideas and methods.
__________________ When you are looking for a solution, you are feeling positive emotion - but when you are looking at a problem, you are feeling negative emotion. Focusing upon a solution makes you feel positive emotion. Focusing upon a problem makes you feel negative emotion, and while the differences are subtle, they are very important. Joaquin |
| |||
| Well this is what I came up with. Disclaimer. This information is for informational use only. I'm not a php coder. Use this information at your own risk. Probably a better way to do this, but this is what I figured out. All I did was to make use of the conditional tags in Wordpress. Say you have a navigation bar with tabs Home, About, Privacy Policy And Disclaimer. Just go into the Wordpress theme editor and edit the header.php file. Near the bottom locate the line of code that has is_home in it. Replace that block of code with the following code. <?php if ( is_home() ) { ?> <h1><?php bloginfo('name'); ?></h1> <h2><?php bloginfo('description'); ?></h2> <?php } else if (is_page('About')) { ?> <h1>About</h1> <?php } else { ?> <h1>Privacy Policy And Disclaimer</h1> <?php } ?> Thats it. This solution takes care of my curiosity on how to do this. If anyone has a different solution, I would like to see it. |