Question

I want to create a fairly simple web application using Wordpress, making use of the built-in functionalities it offers.

The app would a personal journal. New entries would be posts, user can choose categories, add tags, and fill out custom fields.

Basic flow is this:

  1. User creates an account to access the site
  2. User can can view, edit, delete, and publish posts on the frontend
  3. User can view statistics about their own posts (total number, by category, by tag)
  4. User can edit their account information on the frontend

I want to create the same look/design for everybody, but every user should only have access to their own posts. Other things I mentioned above can be done with various plugins, but I'm not sure how I can "restrict" the website for each user.

In Short: I want to create and style a Wordpress website, but have it function in a way that every user sees it as their "private" profile.

What is the best, simplest way to achieve this?

Was it helpful?

Solution

There are 2 ways to achieve your result:

  1. Use wordpress`s rest api functionality and some frontend js framework (Angular or React or other at your choice)
  2. Code custom theme for this purpose - maybe something with authorization and custom userpages

OTHER TIPS

Use the Multisite option of WordPress, so each user has his own site, install a theme that its a SaaS, install a plugin to restrict the site to logged only or just use is_user_logged_in() (not sure if you need this, with multisite each user will only be able to access his own site).

As you stated you can install plugins for the statistic part.

Another option would be to create the Theme yourself, and show only content related to the current logged user, you will have to modify the default widgets.

Licensed under: CC-BY-SA with attribution
Not affiliated with wordpress.stackexchange
scroll top