I have a table in the same DB that I have a WordPress page and I want to show in the land page the count of total of rows and then I need an another page that show the information of this table , How can I do this?
And I want to be easy to add, for example that I can add the count or the information like presing edit page and in the add section there is something like "Total count" or "Total information". I see in add menú that I have some widgets like "Shortcode", "Categories", "Archives", "Latest comments", "Latest Posts" how can I add a custom widget here?
I have a table in the same DB that I have a WordPress page and I want to show in the land page the count of total of rows and then I need an another page that show the information of this table , How can I do this?
And I want to be easy to add, for example that I can add the count or the information like presing edit page and in the add section there is something like "Total count" or "Total information". I see in add menú that I have some widgets like "Shortcode", "Categories", "Archives", "Latest comments", "Latest Posts" how can I add a custom widget here?
Solved! I follow this tutorial:
https://wordpress/gutenberg/handbook/designers-developers/developers/tutorials/block-tutorial/writing-your-first-block-type/
https://wordpress/gutenberg/handbook/designers-developers/developers/tutorials/block-tutorial/creating-dynamic-blocks/
And complimented with this: https://gist.github/mattheu/7cf235b4f932de891bc21cb5f3ff3de6