Title: Custom PHP code
Last modified: October 24, 2017

---

# Custom PHP code

 *  [AppleStage](https://wordpress.org/support/users/applestage/)
 * (@applestage)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/custom-php-code-3/)
 * Hello!
    Can I use my PHP code to output blocks of similar records?

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

 *  Plugin Author [Ajay](https://wordpress.org/support/users/ajay/)
 * (@ajay)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/custom-php-code-3/#post-9616720)
 * Yes. Check the manual install in the FAQ
 *  Thread Starter [AppleStage](https://wordpress.org/support/users/applestage/)
 * (@applestage)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/custom-php-code-3/#post-9631699)
 * I was trying to set up the output method the way I need it. But I can not do 
   anything. Could you give an example of what you need to wrap my code in order
   to display it?
 *  Plugin Author [Ajay](https://wordpress.org/support/users/ajay/)
 * (@ajay)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/custom-php-code-3/#post-9638540)
 * What exactly are you trying to deliver. Is it a custom layout with the the related
   posts?
 * If so, take a look at this code of using the API.
 * [https://gist.github.com/ajaydsouza/968b24a052e858bf8926](https://gist.github.com/ajaydsouza/968b24a052e858bf8926)

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

The topic ‘Custom PHP code’ is closed to new replies.

 * ![](https://ps.w.org/contextual-related-posts/assets/icon-256x256.png?rev=3619991)
 * [Contextual Related Posts](https://wordpress.org/plugins/contextual-related-posts/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/contextual-related-posts/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/contextual-related-posts/)
 * [Active Topics](https://wordpress.org/support/plugin/contextual-related-posts/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/contextual-related-posts/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/contextual-related-posts/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Ajay](https://wordpress.org/support/users/ajay/)
 * Last activity: [8 years, 9 months ago](https://wordpress.org/support/topic/custom-php-code-3/#post-9638540)
 * Status: not resolved