I’d love to use the plugin to place share buttons under each post, but it’s not allowing some of the buttons with PHP to function. For example, the Pinterest button which uses this code:
<a href="http://pinterest.com/pin/create/button/?url=<?php the_permalink(); ?>&media=<?php if(function_exists('the_post_thumbnail')) echo wp_get_attachment_url(get_post_thumbnail_id()); ?>&description=<?php echo get_the_title(); ?>" class="pin-it-button" count-layout="horizontal">Pin It</a>
Any way I can modify the plugin to accept code like this?
- The topic ‘Get error trying to use PHP in .txt file’ is closed to new replies.