• Hi there,

    i am using the plugin for a while now. It’s all okay so far but i can’t see smilies under my comments. what i have to add / change?

    <?php
    	function wpmg_comments($comment, $args, $depth){
    	$GLOBALS['comment'] = $comment;
    	$ctxt = get_comment_text();
    	$ctxt = preg_replace('~(https?://[a-z0-9\.\-\=\_\#\&\?/]+)~i', '<a href="$1" target="_blank">[ Link ]</a>', $ctxt);
    ?>
    	<div class="single_comment">
    		<div  class="sc_autor"><a href="<?php comment_author_url(); ?>" target="_blank"><?php comment_author(); ?></a><a name="comments-<?php comment_ID(); ?>"></a></div>
    		<div class="sc_datetime"><a href="<?php comments_link(); ?>-<?php comment_ID(); ?>"><?php comment_date();?> - <?php comment_time(); ?></a></div></p>
    		<p class="sc_text"><?php echo(get_avatar($comment, 64). $ctxt); ?></p>
    	</div>
    <?php } ?>
Viewing 2 replies - 1 through 2 (of 2 total)
  • You don’t need to change the code
    Setting –> smilies options
    change The path of the smilies:/wp-includes/images/smilies to your folder wordpress name’s/wp-includes/images/smilies
    For example: mangaland/wp-includes/images/smilies
    Popup window width:400 (depend on you)
    Popup window height:400

    It worked for me ^^

    Thanks Nimie ??

    Going to give it a go on my website https://www.chrisroubis.com

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to include smilies in comments’ is closed to new replies.