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

chris chris at lod.com
Thu Feb 7 21:19:31 UTC 2013


Two different servers, 2 different themes, works on twentytwelve, the other
theme it doesn't, and I checked its just using the_content() and no
filtering done in functions.php



-----Original Message-----
From: wp-hackers-bounces at lists.automattic.com
[mailto:wp-hackers-bounces at lists.automattic.com] On Behalf Of Daniel Fenn
Sent: February 7, 2013 3:55 PM
To: wp-hackers at lists.automattic.com
Subject: Re: [wp-hackers] best approach to add content to the post
automatically

Are both install the same (server etc)?

On 2/8/13, chris <chris at lod.com> wrote:
> 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.
>
>
>
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>


--
Regards,
Daniel Fenn
_______________________________________________
wp-hackers mailing list
wp-hackers at lists.automattic.com
http://lists.automattic.com/mailman/listinfo/wp-hackers



More information about the wp-hackers mailing list