• Resolved webconceptionat

    (@webconceptionat)


    Hello, I’ve done a lot of research and it doesn’t seem to come up with anything. I would like to be able to add the users of my website through the post type programming can you tell me what programming I must add or how I must configure the profile is it by the authors or not in this case I can not synchronize the users with the authors. who can help me please

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Not quite following what you’re trying to do here.

    Are you talking about making a “user” post type similar to perhaps an “employees” section where you highlight a company’s employees and each post is perhaps their name, and then you add a biography and perhaps roles/duties, and an employee photo? Or something similar?

    Thread Starter webconceptionat

    (@webconceptionat)

    I will try to be as clear as possible


    I use the gravityform application is a plugin which makes forms very advanced. On the other hand, this form uses a lot of functionality from wordpress

    I will try to provide you with as many images as possible for my questioning.

    So I create a form that looks like this to try the dropdown functionality

    https://prnt.sc/LqDNlJ7JdzCn

    https://prnt.sc/6O_C07Ogem6p

    the only problem is that when I use a post type I can’t see the authors or the users I would like to create a dropdown with all the users of the website. To facilitate the use of the form. I was advised to use your plugins to add a standard post, however I can’t get users to be added as information.

    I will give you two examples

    example 1 : I can’t get a selection

    https://prnt.sc/ZBU2W3SnIk1i

    https://prnt.sc/PFjye2JE1UMw

    example 2 : You will notice with the second that I have a selection with the second post type

    https://prnt.sc/UXaJP5LrH8_a

    https://prnt.sc/dftwtMM2d3f2

    This will allow me to have a list of uses directly on the web page in a form instead of having it in the wp-admin. I hope I have provided as much information as possible.

    Thread Starter webconceptionat

    (@webconceptionat)

    I forgot to mention the author that you find in the list comes from your extension

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Alright, here’s how I’m reading things this time around.

    You have a post type named auteurs, and you have posts in that post type.

    You also have a form that’s meant to integrate with that post type, first by selecting the auteurs post type itself, and then a second dropdown that lets you select the posts themselves. Once saved, the form, when submitted to, does something with that chosen post.

    However, the dropdown used to choose the posts, is not being populated?

    Best guess I have for that is that show_in_rest is set to false. Beyond that, I feel like it’d probably be a better question for Gravity Forms support, since they’re the ones creating the UI for those dropdowns in the screenshots.

    Thread Starter webconceptionat

    (@webconceptionat)

    for this function I am in French you have a photo to help me 🙂

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    If you’re referring to the “show_in_rest” part that I mentioned, that’s part of our UI, as shown here:

    Screen Shot

    One of the dropdowns when registering the post type. We default it to true, so you would have had to intentionally set it to false with the post type when saving.

    Thread Starter webconceptionat

    (@webconceptionat)

    hmmm..
    it is of course true and this does not seem to matter

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    At this point, I’d be checking with GravityForms support since they’re the ones creating that UI.

    CPTUI itself is only registering the content types to be available, but we don’t dictate how they’re used.

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Custom Post Type UI / Username’ is closed to new replies.