• Hi, I’m trying to make a plugin work on custom fields, and not just the_content. Is there a way to do this?

    I’m working with the plugin rate-my-stuff, and it has this line:

    add_filter('the_content', 'rate_my_stuff');

    I don’t know anything about php and I’m new to wordpress, but I figure there’s got to be something I can sub in for the_content.

    I tried getting some information from the custom fields page on the Codex, but it only confused me even more.

    If it matters, the custom field I’m trying to use is called Rating.

Viewing 1 replies (of 1 total)
  • Thread Starter freshyill

    (@freshyill)

    I’ve been trying a few things like this, like subbing in get_post_meta, but that doesn’t work. Can anybody at least tell me if I’m on the right track?

Viewing 1 replies (of 1 total)
  • The topic ‘filter on custom fields’ is closed to new replies.