Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

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

Comments title

Old Nov 15, 2012, 10:59 AM
4 posts · Nov 2012
hello all.

Congrats on the great Montezuma theme!

I've managed to translate most of the theme to my language (pt). Only thing missing is the one i can change directly in the Montezuma options - Comments Title. I've replaced the english text with my own and nothing changes on the live website. Any help appreciated.

thanks in advance.
Old Nov 15, 2012, 08:30 PM
juggledad's Avatar
23,696 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
try this, edit the file 'montezuma/includes/template_tags.php' and change line 8 from
HTML Code:
	printf( _n( 'One comment on “%2$s”', '%1$s thoughts on “%2$s”', get_comments_number(), 'montezuma' ),
HTML Code:
	printf( _e( 'One comment on “%2$s”', '%1$s thoughts on “%2$s”', get_comments_number(), 'montezuma' ),
you are changing the 'printf( _n(...' to an 'printf( _e(....'
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
Old Nov 16, 2012, 03:08 AM
4 posts · Nov 2012
Thanks for the help juggledad.

I've just translated the text within the brackets directly and now it works fine. It seems the comment title text is hardcoded in that 'montezuma/includes/template_tags.php' instead of getting the value from the Montezuma options comments title edit.

Thanks again.


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Big gap between the title of Comments section and the first comment CrystalTao Comments, trackbacks & pings 2 Jul 4, 2010 11:36 AM
Comments with Title f14testing@gmail.com Comments, trackbacks & pings 8 Mar 29, 2010 12:02 AM
[SOLVED] How to style the comments title ahc Comments, trackbacks & pings 14 Feb 5, 2010 09:10 PM
Help Removing Comments and Posts and Centering Title virtual1 Header configuration & styling 3 Mar 5, 2009 08:05 PM
Where can resize the title of comments? araneum Comments, trackbacks & pings 3 Feb 11, 2009 05:25 PM

All times are GMT -6. The time now is 01:07 AM.

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