bobbingwide / oobit-2025

WordPress child theme of Twenty Twenty-Five for oik-presentation
GNU General Public License v2.0
0 stars 0 forks source link

Implement dynamic-charts template part #11

Open bobbingwide opened 1 month ago

bobbingwide commented 1 month ago

For detailed requirements, proposed solution and a number of problems solved in the way see https://github.com/bobbingwide/wp-top12/issues/27

bobbingwide commented 2 days ago

When I implemented oobit-2025 v0.2.0 on top-10-wp-plugins.com the dynamic-charts template part on the home page was counting up correctly but there weren't any commas in the numbers.

The problem seemed to be that the HTML in the countup JS block has the wrong values for "data-grouping" and "data-easing" attributes. They should have been true.

In order to correct this I needed to edit the template part, recover the broken blocks and then use code edit to change the attributes to the correct values.

Note: I still get problems with the code generated by wp-top12 for the latest Top 12 post. Maybe the solution to this can be applied to the source in this template part.