I've built a small website that fetches multiple rows from a database, organizes them on a page, and provides the ability to change their content via ajax requests. The website was missing the registration part, so I decided to create a WP plugin instead and use its powers to handle user privileges. The plugin is installed with the register_activation_hook
:
register_activation_hook( __FILE__, array( 'Lyriqa', 'install' ) );
that creates several SQL tables. This where I got stuck actually, because I am not sure how to embed my custom code inside the theme body. So basically, I need to have WP header, footer, sidebar, etc., but have my custom content instead of the posts. Is it something a plugin can handle, or is it something that a theme should handle? Any advice would be appreciated.