Skip Navigation

[Resolved] Rename fields within views, templates and layouts

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

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9: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/Hong_Kong (GMT+08:00)

This topic contains 2 replies, has 2 voices.

Last updated by Mario 7 years, 4 months ago.

Assisted by: Luo Yang.

Author
Posts
#545925

I am trying to: Change types field name in many views, template, layouts etc.

I changed the slug-name of a types field and have to modify many views, templates and layouts where the field is used.

For all post types i could change the postmeta-table in database - thats ok. But how could i easily 'find & replace" field-slug within all other sources?

#545926

Dear Mario,

If you changed the field slug, then you will need to change the Types/Views shortcodes to the new field slug manually, you also need to check the database table "wp_posts", column "post_content".

There isn't such a easy way to 'find & replace" field-slug within all other sources.

#545937

ok, thanks.