Wordpress Themes - WP Forum at BFA
Click Here To DONATE! Support the theme development, get more attention and additional benefits based on your donation level. Your forum name will be highlighted.

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

Comments title


Build custom WP THEMES, without
coding.
Click here for THEMEFRAME

From the author of Atahualpa, the #1 most
downloaded (700,000+) theme @ wordpress.org
  #1  
Old Nov 15, 2012, 09:59 AM
migdu
 
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.
  #2  
Old Nov 15, 2012, 07:30 PM
juggledad's Avatar
juggledad
 
22,104 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
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' ),
to
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(....'
__________________
If you like my help, please consider donating. I am happy to provide greater detail on this and other topics if you hire me. Please send detailed support requests to me as a private message, thank you.
Juggledad | Forum Moderator/Support
  #3  
Old Nov 16, 2012, 02:08 AM
migdu
 
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.

Bookmarks

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 10:36 AM
Comments with Title f14testing@gmail.com Comments, trackbacks & pings 8 Mar 28, 2010 11:02 PM
[SOLVED] How to style the comments title ahc Comments, trackbacks & pings 14 Feb 5, 2010 08:10 PM
Help Removing Comments and Posts and Centering Title virtual1 Header configuration & styling 3 Mar 5, 2009 07:05 PM
Where can resize the title of comments? araneum Comments, trackbacks & pings 3 Feb 11, 2009 04:25 PM


All times are GMT -6. The time now is 03:27 PM.


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