- This topic has 73 replies, 4 voices, and was last updated 3 years, 10 months ago by
Fernando.
-
AuthorPosts
-
May 16, 2022 at 10:18 am #2221481
Ying
StaffCustomer SupportIt looks like you are not using CPT for the player’s page, I checked the player’s page, it is just a regular post.
I think the first thing you should do is to figure out how to create the CPT:
https://generatepress.com/forums/topic/is-something-like-this-possible-to-do-for-a-player-profile/#post-2206113May 16, 2022 at 10:37 pm #2221907Heath
So I went back and did the 2nd step and I got oops that page can’t be found.
May 17, 2022 at 3:44 pm #2223078Heath
Any other pointers?
May 17, 2022 at 4:20 pm #2223093Ying
StaffCustomer SupportI can’t see the link as it’s a preview link.
Is this the custom post type you created with Custom Post Type UI plugin?
May 17, 2022 at 4:25 pm #2223098Heath
Yes. It is but nothing shows up.
May 17, 2022 at 4:27 pm #2223100Ying
StaffCustomer SupportCan you provide admin access to your site? I can take a look at the backend.
Please use private info field for the login details.
May 17, 2022 at 6:20 pm #2223123Heath
Yes credentials provided
May 17, 2022 at 6:20 pm #2223124Heath
Input the link to the site as well.
May 17, 2022 at 6:29 pm #2223130Ying
StaffCustomer SupportIt was a permalink issue, I logged in and hit the save button at dashboard > settings > permalinks, it’s working now.
May 17, 2022 at 6:38 pm #2223136Heath
Thank you for figuring that out.
1. I don’t see all of the fields that I input though. Any chance you know what is causing that?
2. Also is there a way to get the all of the fields to look something similar to this?
I’d like something similar for the player name, profile pic and the stats. Kind of lost on these next steps.
May 17, 2022 at 8:24 pm #2223170Ying
StaffCustomer SupportNow the CPT is created, you can build a block element – content template with the layout you want.
You can use
headlineblock in the block element to outputs the custom field.1. I don’t see all of the fields that I input though. Any chance you know what is causing that?
Not sure what you mean? Do you mean the front end or the backend?
If you mean the front end, it’s normal behavior as you haven’t called the custom field in the template, so they won’t show.
If you mean the back end, then that’s a question for the custom field/CPT plugin.May 17, 2022 at 8:36 pm #2223174Heath
I mean when I look at the post, not all the fields are showing.
May 17, 2022 at 8:41 pm #2223178Ying
StaffCustomer SupportDo you mean the post in editor or the published post?
May 17, 2022 at 8:50 pm #2223181Heath
I’m sorry. The published custom post.
May 18, 2022 at 3:14 am #2223419David
StaffCustomer SupportSorry for the delay – your last reply slipped through our system.
I logged in to take a look.
First thing is to edit the Element titled:Player Profileand make these changes.https://www.screencast.com/t/sIJ4otxIT
Then the second stage is to add your custom field data to that Block element.
To do this we add aa. Headline block – the text you enter doesn’t matter is it will be overwritten by the Custom Field.
b. Set the Headline Blocks Dynamic Data to Post Meta and in the Field Name add the ACF field name:https://www.screencast.com/t/uRtiz3mIh
Repeat that for each of your ACF Fields.
-
AuthorPosts
- The topic ‘Is something like this possible to do for a player profile?’ is closed to new replies.