I guess you are talking about the list of custom fields that is displayed in the Custom Fields section of the post editor? Yes, Link Library does define a bunch of new custom fields, and yes, there are some past link_second_url, such as link_telephone.
The Custom Fields is a bit silly really. It only lists around 20 entries of names of existing custom fields, then stops. Typically, plugins will have their own sections to edit custom field data. For example, when you are editing links from Link Library, you will see that all links data are edited in proper fields, and not in the custom fields editor.
Is this causing you trouble when editing pages?
Thread Starter
macvet
(@macvet)
Thanks for the quick answer! You are right, it’s the list of custom fields that is displayed in the Custom Fields section of the post editor.
No trouble, but…
Because I regularly use three own custom fields for posts and pages I need to set values for some alphabetically disadvantaged field types;-)
I found out that I can work around that by choosing another custom field type, give a value for that and add it. After that I can change the name of the custom field type to the desired one.
But it has been very nice to choose just the wanted custom field type from the list.
Maybe I should consider renaming my own field types to something more “a”-like to have them at the top of the list?
Renaming your custom fields to have earlier letters in the alphabet could be one solution.
A cleaner solution would be to write a small custom plugin that would add a custom section to the post editor to edit each of these fields and save their data into post meta fields.
Chapter 5 of my Plugin Development Cookbook actually covers that topic in details:
https://www.packtpub.com/web-development/wordpress-plugin-development-cookbook-second-edition
The ebook is currently on sale for next couple of days. You would end up with a much cleaner interface, and support my work at the same time! 😉
Thread Starter
macvet
(@macvet)
Purchased;-) So I’ll have some good reading for the holidays.
Thanks
Thanks! Let me know if you have any questions to how Chapter 5 relates to your custom fields.