Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
0 votes
725 views
in Plugins by

How to add the link to the Top user of the month widget in the sidebar, which leads to the site/bestusers page? Now, it only has the Title Tops Users but no link is there.

Q2A version: 1.5.4

1 Answer

+1 vote
by
selected by
 
Best answer

In qa-best-users-per-month-widget.php change line 143 from:

$themeobject->output('<div style="font-size:14px;margin-bottom:18px;"><b>'.$langActUsers.'</b> <span style="font-size:12px;">'.$monthName.'</span></div>');

to:

$themeobject->output('<div style="font-size:14px;margin-bottom:18px;"><a style="font-weight:bold;" href="'.qa_opt('site_url').'bestusers">'.$langActUsers.'</a> <span style="font-size:12px;">'.$monthName.'</span></div>');

I updated the file in the plugin repository. Could you try the new version?

Download: https://github.com/echteinfachtv/q2a-best-users-per-month/blob/master/qa-best-users-per-month-widget.php

 

by
Thanks, it worked. But, I didn't got any update notification for this plugin.
...