Update Petitions Widget in Dashboard

This seems all handled within https://github.com/ClassicPress/ClassicPress-APIs, but I am not sure how to achieve the following:

Update the list to reflect the latest petitions and not those that are several months old, without losing the older petitions either.

While it surely would be easy to just swap URLs here https://github.com/ClassicPress/ClassicPress-APIs/blob/14c1bb28081de8abeffb39bc15cdda05788049c3/v1/features/1.0/index.php, that wont do, because the discourse petitions are under different structure
Some of the links are clear how to be replaced, but the whole query in the API is based on Fider, see
https://github.com/ClassicPress/ClassicPress-APIs/blob/master/v1/features/1.0/index.php

Is there an easy way to update that widget, without losing old petitions and including new ones?

I’m for removing the petitions widget.
And also:

  1. In about.php change “Suggestions for improvements” to point to the forum
  2. In the “Welcome” widget add some words that point to the forum and to the petitions category

…my 2 cents…

1 Like

I think the #1 of your list can be easily done by @James in form of a redirect (and yes I agree, that leads to a dead/old link, so it needs to change).

Since we talk remove things… I am A) in favour of this because pings to a remote always just cost even if minimal, resources, but B) not in favour because it removes any “backlink” we have inside the admin to our forums and petitions.

What about a code snippet instead that lets users disable this widget(s) easily? We could add it to the snippet repot, something like shown here How to Disable Unwanted Widgets in WordPress

That would allow us to keep the widget by default but users would easily know how to remove it.

I asked about this a little while ago.

We are trying to build up some recent activity here before doing the changeover.

4 Likes

See also:

3 Likes