Get error trying to use PHP in .txt file
-
Hi,
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="https://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?
Thanks!
https://www.ads-software.com/extend/plugins/bottom-of-every-post/
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Get error trying to use PHP in .txt file’ is closed to new replies.