M
M
mrEvilHungry2022-01-30 22:08:53
User identification
mrEvilHungry, 2022-01-30 22:08:53

Content specific user show specific content on wp?

Such is the essence. There is a site, it has a page with licenses. It is necessary that only his licenses and no others are shown to the user.
In short, you need to change the content of the page depending on the authorized user

Answer the question

In order to leave comments, you need to log in

3 answer(s)
G
godsplane, 2022-01-30
@godsplane

Check by user role, assign licenses to a specific role.
Or check by user ID and the same with the license

O
Orkhan Hasanli, 2022-01-31
@azerphoenix

There is a site, it has a page with licenses.

I guess. that licenses are displayed in some template that specifies a cycle.
It is necessary that only his licenses and no others are shown to the user.

Check who is authorized using:
https://wp-kama.ru/function/get_current_user_id
https://wp-kama.ru/function/wp_get_current_user
Next, get the posts (licenses) of the user by his id and display them on the site

K
kaban4ik39, 2022-01-31
@kaban4ik39

If the site is small, then you can get by with any plugin that allows you to separate user roles (I won’t name it now, but they are also free)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question