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 »

[SOLVED] specify admin comment in answer of visitor comment.


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 Dec 10, 2012, 04:38 AM
fafa
 
39 posts · Dec 2012
hi

I saw in some theme that in comments when admin answered the question of visitor if we don't use avatar . the name of him is diffident from other visitor for example:

1. there is an small icon near the admin name
2.or after his name in used the tow ( ) like : fafa (admin) say:
3. or the color of admin is diffident from other comment.

so visitor understand that which comments is send by admin...and which from visitor ...

can you help to do something like that's? if it possible that use icon that's excellent .
  #2  
Old Dec 10, 2012, 01:49 PM
juggledad's Avatar
juggledad
 
22,314 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
you would have to dig into the theme code and make some changes to impliment something like this
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Dec 10, 2012, 03:06 PM
fafa
 
39 posts · Dec 2012
please help me ... witch file should i edit .
  #4  
Old Dec 11, 2012, 05:48 AM
juggledad's Avatar
juggledad
 
22,314 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
Quote:
witch file should i edit
off the top of my head, I don't know.

Not being the theme eveloper, it would take me some time to dig thru the code to answer that question. If you would like to hire me to dig thru the code, send me a PM and I'll quote you my rate.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #5  
Old Dec 12, 2012, 06:33 AM
fafa
 
39 posts · Dec 2012
I try to find and tell ...

I think WE shoud make task that check id of coments if Thay are same with admin id do som thing like add small icon.

may be in function or comment we should do ... I try to find way but I'm not good in css & php

Thanks
  #6  
Old Dec 13, 2012, 12:56 PM
fafa
 
39 posts · Dec 2012
we can do it by this code to function.php

Code:
add_filter( 'comment_text', 'my_comment_text' );
function my_comment_text( $mytext ) {
	$id = get_comment(get_comment_ID())->user_id;
	global $comment;
	if($id == 1 ){
		$mytext = get_comment_text( $comment ) . '<hr />YOUR TXTE';
	}else{
		$mytext = get_comment_text( $comment );
	}
	return $mytext;
}
THANKS "juggledad"

IT'S SOLVED

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Comment admin language interfering with SEO - Can I modify theme files to fix it? mkellam Atahualpa 3 Wordpress theme 5 Sep 17, 2012 09:06 PM
How to move the comment author name and reply link below the comment sober Comments, trackbacks & pings 1 Sep 4, 2011 01:21 PM
[SOLVED] Website in comment form leads to author name as a link in the comment list yeahwow Comments, trackbacks & pings 2 Jun 2, 2011 09:34 PM
Changing the comment links to send to the comment form johnd28 Comments, trackbacks & pings 5 Jun 15, 2010 03:33 AM


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


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