Add metadata to all posts/pages
-
I want to iterate through every $post (get the $post object), manipulate it, run add_post_meta() to save a change to it for every post/page/attachment (anything with a permalink really) on a blog.
Is there any script out there already that loops through every asset in a blog?
The key is every asset and getting the $post so that I could add_post_meta() and work with the contents.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Add metadata to all posts/pages’ is closed to new replies.