Home › Forums › General Issues › how to remove permalinks from custom field group › Reply To: how to remove permalinks from custom field group
Hi Elliot, sorry for that – I’ll try
Restart:
I’m developing a theme.
I have a custom post type – ‘trainings’
I created a custom field group – ‘trainingcontent’ by using your plugin.
within that group are 2 fields: a) description b) image
Rule is set to display this custom field group, when Post Type is equal to trainings
I have a couple of ‘trainingcontent’ to display on one page, what already works.
But if I go to Admin dashboard –> ‘trainings’ –> ‘trainingcontent1’ (1st entry in the custom field group)
there is a permalink shown in the post edit screen which looks like: http://www.mydomain.com/trainings/trainingcontent1
by clicking this there is no page to display, I know it could be there if I put something in the single.php but I don’t want to display the single training content alone. It should only be displayed on the ‘trainings’ site together with other ‘trainingcontent’. Therefore I want to remove the permalink from each custom field group entry, like ‘trainingcontent1’, ‘trainingcontent2’ a.s.o.
I want to have a permalink that looks this was:
http://www.mydomain.com/trainings
So far as I understand, each entry in the custom field group within that post, creates a new single-post and therefore wordpress creates a separate permalink.
Maybe the repeater field could help me out, so that I could put this on a page instead of using a post?
I hope this is less confusing to you.
Regards, Guido
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.