Title: php implementation not working
Last modified: August 30, 2016

---

# php implementation not working

 *  [JMunce](https://wordpress.org/support/users/jmunce/)
 * (@jmunce)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/php-implementation-not-working/)
 * I think this might be something I should be doing but am not doing, that is causing
   the problem, but hopefully you can figure out why.
 * I have the plugin activated and settings set.
 * I added <?php zemanta_related_posts()?> to my single.php, but I just get:
 * Fatal error: Call to undefined function zemanta_related_posts() in (the single.
   php)
 * Also, everything below that point on the single.php display is interrupted (doesn’t
   display).
 * Any ideas? Thanks,
    JM
 * [https://wordpress.org/plugins/wordpress-23-related-posts-plugin/](https://wordpress.org/plugins/wordpress-23-related-posts-plugin/)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [PetraP](https://wordpress.org/support/users/petrap/)
 * (@petrap)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/php-implementation-not-working/#post-6700095)
 * Dear JM,
 * thanks for reaching out!
 * One thing I have noticed that you have reached out via WordPress Related Posts
   and not via Related Posts by Zemanta forum. The thing is, if you have installed
   a WordPress Related Posts plugin then you must use:
    <?php wp_related_posts()?
   > and not <?php zemanta_related_posts()?> .
 * Let me know if this helped, take care and have a lovely day,
    Petra
 *  [larys](https://wordpress.org/support/users/larys/)
 * (@larys)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/php-implementation-not-working/#post-6700098)
 * Hi
 * I used `<?php wp_related_posts(); ?>` also, and it does not worked, the page 
   display is interrupted to. Please help?
 *  Thread Starter [JMunce](https://wordpress.org/support/users/jmunce/)
 * (@jmunce)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/php-implementation-not-working/#post-6700099)
 * That worked, thanks PetraP
 *  [PetraP](https://wordpress.org/support/users/petrap/)
 * (@petrap)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/php-implementation-not-working/#post-6700115)
 * Hey [@larys](https://wordpress.org/support/users/larys/),
 * would you be so kind and let me know your link to your blog, so that I can take
   a closer look?
 * Looking forward to your reply.
 * [@jmunce](https://wordpress.org/support/users/jmunce/) – glad to hear it worked
   🙂
 * Happy blogging!
 * Best,
    Petra

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘php implementation not working’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wordpress-23-related-posts-plugin_7b9a7c.
   svg)
 * [WordPress Related Posts](https://wordpress.org/plugins/wordpress-23-related-posts-plugin/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-23-related-posts-plugin/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-23-related-posts-plugin/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-23-related-posts-plugin/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-23-related-posts-plugin/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-23-related-posts-plugin/reviews/)

## Tags

 * [php](https://wordpress.org/support/topic-tag/php/)

 * 4 replies
 * 3 participants
 * Last reply from: [PetraP](https://wordpress.org/support/users/petrap/)
 * Last activity: [10 years, 6 months ago](https://wordpress.org/support/topic/php-implementation-not-working/#post-6700115)
 * Status: not resolved