Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Montezuma Theme »

How to change "Blog" text from homepage on header nav?


  #1  
Old Feb 21, 2013, 03:35 PM
corneliusw
 
4 posts · Feb 2013
I have search around and can not find the code to edit for this. On the header nav bar where it has the house icon, next to it reads "Blog". How do I change that text? Take a look at my website ps4on.com to see what I am talking about.

That part is fine for the rest of the sections on the website, I just want to change it for the homepage only.

Last edited by juggledad; Feb 21, 2013 at 04:13 PM.
  #2  
Old Feb 21, 2013, 07:00 PM
jerryc
 
367 posts · Oct 2012
Florida
Did you try appearance > menus? I don't use the nav menus, but that's where I'd look. If that doesn't work, at least you'll know one thing that doesn't fix your problem.
  #3  
Old Feb 21, 2013, 07:57 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
With a little knowledge and a quick test, here is how you can fix this.

go to mto->CSS Files->bbreadcrumbs.css and add the following to the bottom
HTML Code:
body.home nav#breadcrumbs1 li {display:none;}
body.home nav#breadcrumbs1 li.bc-home {display:block;}
with this you will still have the bar containing the breadcrumbs and the home icon but the word 'blog' will not be displayed.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #4  
Old Feb 21, 2013, 10:51 PM
corneliusw
 
4 posts · Feb 2013
Juggle,

Thanks as that did hide the "Blog" text. However I was looking to change it from "Blog" to something else, as oppose to hiding it completely. Somewhere it's telling it to output "Blog" for text, and I'm trying to find out where so I can change the text to something else that I want.
  #5  
Old Feb 22, 2013, 03:11 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
Ahh, that is different that what you state in the title.

To change the word 'Blog' to something else you have several choices
1) make the landing page a 'page' page (dashboard->settings->reading) and create a page with any name you like as the blog page
2) use a .po file to translate the word to something else
3) edit the template code - montezuma/includes/breadcrumbs.php - line 95

remember if you pick (3) you will have to re-do it every time the theme is updated.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #6  
Old Feb 22, 2013, 05:56 AM
corneliusw
 
4 posts · Feb 2013
Thanks your a big help!
  #7  
Old Mar 27, 2013, 01:58 PM
Jon
 
2 posts · Mar 2013
Not sure if this is a better/easier solution, but here goes:

Appearance-->Editor (it appears underneath the Montezuma Options menu)

This will bring up an option to edit codes for pages and php. On the right-hand side click on "breadcrumbs.php"

You will find these lines near the bottom:

Quote:
} else {
echo '<li>' . $before . 'Blog' . $after . '</li>';
}
*/
} elseif ( is_home() ) {
echo '<li>' . $before . __( 'Blog', 'montezuma' ) . $after . '</li>';
}
Change "Blog" to whatever you would like instead.

EZPZ
  #8  
Old Mar 27, 2013, 02:26 PM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
@jon

This solution was mentioned in Juggledad's last post as the third option but as noted this will have to be redone if you ever upgrade the theme.
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #9  
Old Mar 27, 2013, 03:36 PM
Jon
 
2 posts · Mar 2013
Thanks for pointing that out ... I didn't read carefully enough and thought 1-3 were steps, not options!

Bookmarks



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] How to change comments header text? kitfreeman Comments, trackbacks & pings 6 Mar 15, 2012 10:09 PM
Change hover text in header vanderark1 Header configuration & styling 3 Feb 9, 2012 11:33 AM
Help! How do i change the color of the Pages text box on the homepage in default mode HotBed Page & Category Menu Bars 1 Apr 28, 2011 01:16 PM
Blog titles are appearing after the text on homepage brokencosmos Header configuration & styling 1 Oct 3, 2009 07:52 PM


All times are GMT -6. The time now is 11:22 AM.


Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.