Advice on developing a portal within a custom plugin

[ad_1]

Hey all, I’m working on a custom plugin for someone, but there’s one piece I need some advice on.

The purpose of the plugin is to pull data from a few different sources, and then display a portal where the user can log in with their WordPress credentials and interact with it. I’ve got the backend set up, properly pulling from the APIs and all that. But I need some guidance on the frontend.

The site I’m adding this portal to is already a normal non-membership WordPress site. The portal and the main site almost seem like two different entities, so I’m not sure what the best way to set them up is.

Should I just set up normal WordPress pages alongside the existing ones, that just happen to be different because they’re part of the portal? Or should I build the whole thing as a react app and simply mount it to a div on a single page? Or should I build the whole portal interface out of separate custom Gutenberg blocks (my main question with this one is whether I can share state across disparate blocks, so I’m not positive it would work…)?

Any advice on sorta setting up this separate portal alongside a normal WP site would be muuuuch appreciated!

[ad_2]

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer