[wp-hackers] best approach to add content to the post automatically

chris chris at lod.com
Thu Feb 7 18:48:40 UTC 2013


Looking to add a share box below every image in the post, I am using a
regex, on the_content to match the first ahref img link and replace with the
img link plus the share code, curious if another way is better?

For some reason on 1 install it works fine, on another its stripping the p
tags.





More information about the wp-hackers mailing list