Title: Shortcode or php code?
Last modified: August 22, 2016

---

# Shortcode or php code?

 *  [stonecorleone](https://wordpress.org/support/users/stonecorleone/)
 * (@stonecorleone)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/shortcode-or-php-code-1/)
 * This plugin is awesome but it gonna be great if shortcode or php code to embed
   manually is available. Or now how can I do that?
 * [https://wordpress.org/plugins/wordpress-23-related-posts-plugin/](https://wordpress.org/plugins/wordpress-23-related-posts-plugin/)

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

 *  [PetraP](https://wordpress.org/support/users/petrap/)
 * (@petrap)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/shortcode-or-php-code-1/#post-5860818)
 * Hey,
 * thanks for reaching out and for the kind words. Sure you can (well, there are
   some limitations) – for example you can manually embed <?php wp_related_posts()?
   > in the single.php file if you wish to move the widget around. Would you be 
   so kind and tell me what exactly are you trying to achieve, and we will figure
   something out?
 * Looking forward to your reply,
    Petra
 *  [angierosie](https://wordpress.org/support/users/angierosie/)
 * (@angierosie)
 * [10 years, 12 months ago](https://wordpress.org/support/topic/shortcode-or-php-code-1/#post-5860862)
 * I’ve added the php short code to my single.php. Is there any way to get rid of
   the auto-populated related articles?
    [](http://www.go-do-nc.com/wp-admin/upload.php?item=1628)
 *  [PetraP](https://wordpress.org/support/users/petrap/)
 * (@petrap)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/shortcode-or-php-code-1/#post-5860867)
 * Hey,
 * thanks for getting back to me and sorry for the late reply!
    Which auto-populated
   related articles do you have in mind – those that appear below you editor? In
   that case, go to plugin settings and untick the box next to “Display widget with
   articles from around the web in your “Compose-new-post” page”, save the changes
   and that’s it. Or is the issue something else?
 * Take care and enjoy the day,
    Petra

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

The topic ‘Shortcode or php code?’ 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/)

 * 3 replies
 * 3 participants
 * Last reply from: [PetraP](https://wordpress.org/support/users/petrap/)
 * Last activity: [10 years, 11 months ago](https://wordpress.org/support/topic/shortcode-or-php-code-1/#post-5860867)
 * Status: not resolved