Notifications
Clear all

Limited Support

Our team is currently on holiday, so support will be limited during this period. Response times may be slower than usual, and some inquiries may be delayed.
We appreciate your patience and understanding, and we’ll resume our usual support by the end of August.

 

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

17 Posts
2 Users
1 Reactions
7,119 Views
OMTesla
Posts: 217
Topic starter
(@omtesla)
Active Member
Joined: 9 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: 10616
Admin
(@robert)
Support Team
Joined: 9 years ago

ok, we'll check this again.

Page 4 / 4