How to show result of sql query in a page?
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?