Created
December 2, 2011 20:00
-
-
Save chrisguitarguy/1424636 to your computer and use it in GitHub Desktop.
Custom fields to post tages
This plugin is awesome but requires admin to save. Do you have a way to make this work for anytime a post is published. I am using autoblogged and it doesn't trigger this plugin.
Also, how would you modify it so it works with multiple fields.
It should get triggered if your auto blogger is using wp_insert_post
. to make it work with multiple fields, just loop in the wpse29498_save_post
function.
eg.
<?php
foreach($meta_fields as $meta_key)
{
// check like agove, but use continue instead of return
}
hello could you tell me how to make it work for all custom fields, so that it would add each field's value to new tag. Not just one field and one tag. Thank you.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Works like a charm! :) Yuo saved me countless hours of work, exporting 22.000 entries to tags...