I modified a bit the widget for my theme but I’m not a programmer.
Just go to wp-content/plugins/wp-ulike/admin/classes
open class-widget.php
lines 39 to 41 is where you find the code for mos liked posts, or look for the function you need to modify the output, its easy to find.
If you want to separate the lines just add a <br /> or <hr /> after the last </span> label of the “echo” line (or write a new line).
Hope it helps
Thanks for your help!
For some reason when I add that I get a white page.
Here are the two lines:
echo $show_count == '1' ? ' <span class="wp_counter_span">'.wp_ulike_format_number($post_count).'</span>' : '';
echo $after;
Where exactly should the
go?
just after the ´</span>´ tag:
echo $show_count == '1' ? ' <span class="wp_counter_span">'.wp_ulike_format_number($post_count).'</span><br />' : '';
echo $after;
or just do a new line:
echo $show_count == '1' ? ' <span class="wp_counter_span">'.wp_ulike_format_number($post_count).'</span>' : '';
echo '<br /> or whatever you want to put here';
echo $after;
That was the wrong section. I was actually using the Most Liked Activities widget! Oops! But, with your help, I figured it out.
Just added:
echo '<br />';
After:
echo $before;
echo $activity_action;
echo $after;
Thanks so much!