Skip Navigation

[Resolved] Blog posts and profiles

This support ticket is created 5 years, 1 month ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 7 replies, has 2 voices.

Last updated by Lee Drozak 5 years, 1 month ago.

Assisted by: Minesh.

Author
Posts
#1584429

Tell us what you are trying to do?
We have a CPT for instructors that includes a combo of WP post fields and custom fields. Each instructor has one profile and we set the user up (author), input the information and make changes. But each instructor is going to start blogging. I added a relationship (1 to many) for posts.

We want to display those on the instructor page (hidden link) based on author meta.

Does the person need to use a toolset form to enter the post (1) and assign to their profile or can they use the regular WP login and submit that way (2)?

And if we go with option 2 how can we display on the content template build with the Blocks editor?

#1585111

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

I would like to have more information about you structure hear.

With what post types you have created one to many relationship? Can you please share screenshot of your post-relationship configurations?

Also, Its still not clear to me what the issue is. Do you mean you have issue how you can connect the posts in relationship?

As I understand, you want to display the related posts on the following page but under what section you want to display it?
=> hidden link

Basically, you need a view to display the related posts.
=> https://toolset.com/documentation/post-relationships/how-to-display-related-posts-with-toolset/#displaying-many-related-items

#1585329

Basically, we want all instructors to be authors. Normally an author would log to WP and add their post. Here is our process:

1. Create an author user account
2. Create instructor post type (by manually entering in the back end)
3. Give the instructor their login credentials
4. They log i and create a post

We want the post to be part of the CPT customer record relationship so that on their content page the posts they author dynamically show.

Questions:
1. Do we need to register them differently?
2. Do we need to create a Toolset form for them to submit their posts instead of the normal WP protocol?
3. How do we get the blog posts into the instructor post type (hidden link)

Relationship: hidden link and hidden link
Instructor page: hidden link (display at bottom)
Instructor: hidden link

#1586641

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

It looks like the instructor is having a backend (admin) access and from there they are creating the posts.

Toolset offers plugin Toolset Forms using which you are allowed to create a new posts from the frontend and add this form to display with a any page you want. Maybe you should create a new page where you should add this new form.
=> https://toolset.com/documentation/getting-started-with-toolset/publish-content-from-the-front-end/forms-for-creating-content/

I see you have created the post-relationship between post type Instructor and default post type Posts. So, what you should do it create a new form for the post type Post there it will allow you to select/set the parent post. Please check the following Doc:
=> https://toolset.com/documentation/post-relationships/selecting-parent-posts-using-forms-create-child-items/

Later, to display only posts belongs to the specific instructor, you should create a view to display your related post.
=> https://toolset.com/documentation/post-relationships/how-to-display-related-posts-with-toolset/#displaying-many-related-items

Maybe you can check the following membership site tutorial that will give you an idea as well:
=> https://toolset.com/learn/create-membership-site-wordpress-using-toolset-plugins/

#1594851

I got it to work but it's offsetting by one. Any idea what I am missing?

#1595145

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Sorry but if you can share more details what exactly the issue is and at what place once I understand I will be able to guide you in the right direction.

Can you please share a brief description of your issue.

#1597391

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

The another post is not listed because as you can see on your post list:
=> hidden link

The post "Achievement Day is Coming! " which is not displayed is set as — Pending. You need to publish the post and then I will display it on frontend.

#1597481

My issue is resolved now. Thank you!