Navigation überspringen

[Gelöst] Add featured image to my custom fields

This support ticket is created vor 4 years, 3 months. 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 -

Zeitzone des Unterstützers: Asia/Kolkata (GMT+05:30)

Dieses Thema enthält 4 Antworten, hat 2 Stimmen.

Zuletzt aktualisiert von marcH-4 vor 4 years, 3 months.

Assistiert von: Minesh.

Author
Artikel
#2307365

Tell us what you are trying to do?
Add featured image option to my custom fields. When I click 'Update, it says the slug is already in use, like I am trying t create a new slug, but i"]'m just trying to update an existing one.

Is there any documentation that you are following?
the UI has a tick box and an update button

Is there a similar example that we can see?

What is the link to your site?
versteckter Link

#2307379

Minesh
Unterstützer

Sprachen: Englisch (English )

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

Hello. Thank you for contacting the Toolset support.

As I understand, you want to add featured image when you add/edit post from backend - right? If yes,

You can enable the featured image field from:
=> Toolset => Post Types => Edit your desired post type => Enable Featured image field.

Please check the following screenshot: versteckter Link

It will not allow you to add a custom field with the same name as featured-image as this will be the reserved slug.

#2307383
Screenshot 2022-03-03 at 09.55.54.png

When I follow your instruction, it won't save. See screenshot attached. I don't have any other custom field called 'featured image'

#2307399

Minesh
Unterstützer

Sprachen: Englisch (English )

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

Ahh, you have post type slug conflict.

With your site you must have created any post, post or any other entity with the slug listing.

Either you should try to find out where you are using the slug "listing" and rename it or rename your post type listing slug to any other slug.

#2309481

Thank you, you were spot on. I had page called the same as the slug, i renamed it, and was able to proceed.
My issue is resolved now. Thank you!