Title: php with variables &#8230; help?!
Last modified: December 7, 2016

---

# php with variables … help?!

 *  Resolved [frf-admin](https://wordpress.org/support/users/frf-admin/)
 * (@frf-admin)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/php-with-variables-help/)
 * Hi,
    need a little help for this great helper plugin:
 * I have this code: <?php echo cwppos_show_review(‘postid’); ?> and want to have
   the post id as variables.
 * In the post snippets editor if have ticked 1. shortcode & 2. php.
 * As I am not yet familiar with php I probably don´t understand how to pull the
   post id into this.
 * What I need is: Pulling the post id, like 3888, into the shortcode.
 * This is how it looks like while it is not working 😉
    ⌊http://m.fndr.me/temp/
   psnp.png⌉
 * Thanks,
    Fred
    -  This topic was modified 9 years, 5 months ago by [frf-admin](https://wordpress.org/support/users/frf-admin/).

The topic ‘php with variables … help?!’ is closed to new replies.

 * ![](https://ps.w.org/post-snippets/assets/icon-128x128.gif?rev=2545587)
 * [Post Snippets - Custom WordPress Code Snippets Customizer](https://wordpress.org/plugins/post-snippets/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/post-snippets/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/post-snippets/)
 * [Active Topics](https://wordpress.org/support/plugin/post-snippets/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/post-snippets/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/post-snippets/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [frf-admin](https://wordpress.org/support/users/frf-admin/)
 * Last activity: [9 years, 5 months ago](https://wordpress.org/support/topic/php-with-variables-help/)
 * Status: resolved