开发者

Wordpress checkbox for specific item (image or text) to be displayed on a post instead of custom field

开发者 https://www.devze.com 2023-01-14 02:04 出处:网络
we have about 10 things that need to be optional for each post and will be the same for the posts.They just need to be easily implemented on each post.Checkboxes would be ideal so the use开发者_运维知

we have about 10 things that need to be optional for each post and will be the same for the posts. They just need to be easily implemented on each post. Checkboxes would be ideal so the use开发者_运维知识库r can just select which items are displayed for that post.


Have I understood your question?

If I've got it right, you say that custom fields would be fine for storing some extra data relating to each post, but the WordPress editor makes custom fields rather clunky to use.

If this is what you're asking then there's a simple solution:

There are two different plugins (one more mature, the other higher rated but still in beta) which add a nice layer of user interface over the WP editor for custom fields. The one I know best is 'More Fields' by Henrik Melin. There is also 'Simple Fields' (sorry, I can't remember the author offhand). I've used 'More Fields' in numerous client web sites and apart from a couple of minor glitches with images in WYSIWYG custom fields, it's truly great.


I found this article https://wordpress.stackexchange.com/questions/28785/how-set-featured-posts-using-checkbox-in-post-edit-screen which demonstrates how to do it without a plugin. Worked for me.

0

精彩评论

暂无评论...
验证码 换一张
取 消