Viewing 5 replies - 1 through 5 (of 5 total)
  • DELETE ME

    Plugin Author Asgaros

    (@asgaros)

    I added this to the list in this GitHub ticket:
    https://github.com/Asgaros/asgaros-forum/issues/39

    Maybe I will change the widget in a future version. Thanks for your suggestion! ??

    Hi,

    I was looking for something like this. How to add at that code to the plugin?

    Thanks,
    Xagor

    Thread Starter Yworld

    (@yworld)

    In file /wp-content/plugins/asgaros-forum/includes/forum-widgets.php to find:

    echo '<span class="post-link"><a href="'.$asgarosforum->get_widget_link($post->parent_id, $post->id, get_the_permalink($target)).'" title="'.esc_html(stripslashes($post->name)).'">'.esc_html($asgarosforum->cut_string(stripslashes($post->name))).'</a></span>';

    replace the:
    echo '<div style="float: left;">'.get_avatar($post->author_id, 55).' </div><span class="post-link"><a href="'.$asgarosforum->get_widget_link($post->parent_id, $post->id, get_the_permalink($target)).'" title="'.esc_html(stripslashes($post->name)).'">'.esc_html($asgarosforum->cut_string(stripslashes($post->name))).'</a></span>';

    55 – avatar size

    Thanks Yworld. Works like a charm! I appreciate the reply and guidance.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘The idea of to widget’ is closed to new replies.