Forums

Request: Custom fields for categories (17 posts)

  1. esmi
    Member
    Posted 4 months ago #

    It would make semi-intelligent displays so much easier, more flexible and less prone to breakage. Right now, there's only the slug, title and description to check against - all of which could be subject to change.

  2. stvwlf
    Member
    Posted 4 months ago #

    agree

    there is a partially fleshed out plugin called category-custom-fields I used on one site. Its not ideal but it works.
    http://www.flairpair.com/blog/wordpress/category-custom-fields
    Perhaps someone would be willing to refine it further.

  3. esmi
    Member
    Posted 4 months ago #

    Thanks for the link. I'll have a look at that and see if I can persuade my friendly plugin developer to take it further.

  4. stvwlf
    Member
    Posted 4 months ago #

    Hi

    Yesterday I went to that site for the first time in months and was able to see again the plugin is still there. Today I went back to it, to check for someone else, and was blocked from seeing the site by a Google malware screen. I don't know if that is valid or a mistake - the site would have been hacked if it is valid as it is a legit developer.

    At any rate, if you can't get the plugin from that site let me know - I have a copy here & can upload it somewhere so you can get it.

  5. esmi
    Member
    Posted 4 months ago #

    Guess what? The plugin developer's site is currently flagged up as suspicious by Google. 8 exploit(s). 5 scripting exploit(s). :-(

  6. stvwlf
    Member
    Posted 4 months ago #

    Hi

    I put it on one of my sites - you can download here
    http://mtncomp.com/uploads/category-fields.zip

  7. stvwlf
    Member
    Posted 4 months ago #

    Here's another one worth checking out by the way - needs a plugin developer to integrate but creates the underlying structure
    http://coffee2code.com/wp-plugins/custom-fields-for-anything/

  8. esmi
    Member
    Posted 4 months ago #

    Got the second one, thanks, but the link to one of your sites is giving a 404.

  9. stvwlf
    Member
    Posted 4 months ago #

  10. esmi
    Member
    Posted 4 months ago #

    Got it, thanks.

    Meanwhile, work has started on turning the Custom Fields for Anything plugin into one specifically for adding and managing custom fields for categories. The alpha is complete and I'll start testing it over the next few days.

  11. MichaelH
    moderator
    Posted 4 months ago #

    esmi -- since 2.8 will have expanded capability to create 'custom taxonomies' you might consider making that plugin 'portable'. Meaning, support more than just 'category' taxonomy but also the 'post_tag', 'link_category', or any other new taxonomy.

  12. elfin
    Member
    Posted 4 months ago #

    gee thanks.

    I've coded, or rather rejigged the category-fields plugin. But hadn't planned on releasing it as the majority of the code wasn't my own. esmi has a copy to play with and will let me know if anything needs adding.

    It's possible that the coffee2code plugin is more adaptable, but I will have another look at it when 2.8 comes out to see if I can extend it.

  13. stvwlf
    Member
    Posted 4 months ago #

    i'd like to be in the loop on this one!

    what i'd like to see is the additional fields displayed right on the category maint page, rather than on a page by themselves. And the option to have the visual editor on some of the fields...

    and yes, the same for tags and link categories would be great.

  14. elfin
    Member
    Posted 4 months ago #

    email me: elfin@elfden.co.uk and I'll send you a copy.

    I looked at the category page in WP for the first time in 2.7 (can't believe I haven't visited that page in so long) It may be possible to add in on the category page, but I haven't tried so far.

  15. stvwlf
    Member
    Posted 4 months ago #

    Hi

    At a quick glance it appears this plugin rewrites the output display on the WP category page. This might save you some time. It also activates the visual editor on the cat descrip field.

    For the extra fields it would be nice to have the option whether to use the visual editor on a particular field or not as sometimes it would get in the way, other times be quite useful.

    http://www.laptoptips.ca/projects/category-description-editor/

  16. elfin
    Member
    Posted 4 months ago #

    I took out the visual editor.

    All I want the plugin to do, and all it should do in my opinion, is replicate the postmeta key/value pairings.

    Though I don't use the visual editor myself, so perhaps I'm biased.

  17. stvwlf
    Member
    Posted 4 months ago #

    Example of visual editor use:
    I use the original plugin on one site. The site owner is very non-technical. One of the custom fields is being used for multi-paragraph blurbs about a category, longer than the category descrip field allows. Its handy for her to have a visual editor because she doesn't want to deal with <p> <br /> <a> and all of that to mark up her thoughts. She just wants to wrote them down as they come to her. Her mind just does not work in HTML.

    I respect your thoughts about the editor, just explaining its value in certain cases.

Reply

You must log in to post.

About this Topic