Closed ssin1901 closed 1 year ago
Currently integrated into the WEB 2.0.
This feature is custom coded inside website as a shortcode in the child theme folder inside /includes/shortcodes.php
the data is fetched from https://api.citizenos.com/api/stats and you can get specific stats by using the following shortcodes [rahvaalgatus_stats category="discussions"] [rahvaalgatus_stats category="votes"] [rahvaalgatus_stats category="groups"] [rahvaalgatus_stats category="users"]
Each shortcode returns specific data from the API, ready to be used anywhere on the wordpress website.
If you like to show this data inside some text you can simply put this inside the editor with the brackets and update the content. It is preferred that this shortcode is added not in the visual option of the editor, but the text option in the editor. The text options shows the html of the content that is being injected into the website.
Also you have code blocks and shortcode blocks in the Elementor builder. You can use those and add.
Task complete @oksks @ssin1901
Describe the bug @oksks @devosama1 we agreed here #358 that we will not include the Rahvalgaatus statistics.
It was done previously but I think currently the Rahvalgaatus stats are included.
How critical is the bug? To my mind, it is not the end of the world as we are a transparent organisation and can always explain why the Stats changed.
Ideally should be rectified before the launch though.
To Reproduce Steps to reproduce the behavior:
Expected behavior Refer to #358
Smartphone (please complete the following information):