Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

How to edit look of 'Vanilla Discussions' widget on wordpress?

edited March 2012 in Vanilla 2.0 - 2.8

Hi,

Can anyone point me in the direction of how to edit the 'Vanilla Discussions' widget for wordpress? I would like to make a few changes to match the font and text size to the rest of my page.

Cheers

Answers

  • I found the widget code could be edited in Wordpress: Plugins - installed Plugins - Vanilla Forums - Edit - vanilla-forums/widgets.php

    This line shows the code to display the post:

    echo '<li><a href="'.vf_combine_paths(array($link_url, 'discussion/'.$Discussion->DiscussionID.'/'.vf_format_url($Discussion->Name)), '/').'">'.$Discussion->Name.'</a></li>';

    Is there any way to add the last person to comment's username and/or the category the discussion was posted in to that code?

    Anyone with a more advanced knowledge of code who can provide those answers will have the gratitude of myself and my forum users!

    Thanks a lot,

    Rob

Sign In or Register to comment.