List custom data in Wordpress
I'm developing a plugin which has its own table. I need to display the data from the table in the Wordpress frontend (for example: category page). I don't need to JOIN this table with posts table, I just need to display the data from the table, with pagination. I need a separate page/custom template from my plugin directory (talking in a context of MVC frameworks — controller), on which this data should be displayed and paginated. Please give me an advice, what is the best practice to implement it? Thanks. If I understood your question then I think you need to add template_include hook to use