Notifications
Clear all

wpForo 1.x.x [Solved] Topic,post after edit showing up in widgets as recent.

17 Posts
2 Users
1 Likes
6,450 Views
OMTesla
Posts: 217
Topic starter
(@omtesla)
Active Member
Joined: 8 years ago

No worry i have fixed Recent Topics widget by add 'orderby' => 'created', it was missing.

		// widget content from front end

$topic_args = array(

                  'orderby' => 'created', // forumid, order, parentid

 'order' => 'DESC', // ASC DESC

 'row_count' => $instance['count'] // 4 or 1 ...

);

Now everything is displaying as it should 😉

A little of tests i did if i leave 'orderby' => 'modified' it show in Recent Posts mixed new and edited posts if i add 'orderby' => 'created' it show new posts but edited are not shown as Recent Posts.

edited test your site widgets

Robert
Posts: 10503
Admin
(@robert)
Support Team
Joined: 8 years ago

ok, we'll check this again.

Page 4 / 4