• Resolved trevorNanders

    (@trevornanders)


    Just updated the plugin and works great. Thanks!

    One TINY addition to the next update is the layout of the widget. in Chrome browser everything looks fine but in Mozilla (not sure about IE) the format of the list is a bit off with the title having a line break after the bullet point. I’ve tweaked the text in the includes/forum-widget.php to move the <li > next to the title INSIDE the span tag thus:

    # echo '<li>'; // commented out and placed below between the span tag & title link
                    echo '<span class="post-link"><li><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>';
                    echo '<span class="post-author">'.__('by', 'asgaros-forum').' <b>'.$asgarosforum->get_username($post->author_id, true).'</b></span>';
    				echo '<span class="post-date">'.sprintf(__('%s ago', 'asgaros-forum'), human_time_diff(strtotime($post->date), current_time('timestamp'))).'</span>';
    			    echo '</li>';

    Now it all lines up in both browsers.

    Thanks again for a great forum plugin.

    https://wordpress.org/plugins/asgaros-forum/

Viewing 1 replies (of 1 total)
  • Plugin Author Asgaros

    (@asgaros)

    Hello trevorNanders,

    this change is producing a non-valid-HTML error. Maybe your problem is occured by a CSS incompatibility with your current WordPress theme. Can you provide me a link to your website including the original code so I can have a look?

Viewing 1 replies (of 1 total)

The topic ‘Widget’ is closed to new replies.