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 »

Comments title


  #1  
Old Nov 15, 2012, 09:59 AM
migdu
 
4 posts · Nov 2012
Comments title

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
 
23,765 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' ),
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(....'
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
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



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 11:06 AM.


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