Title: vSlider: Possibly a very simple php coding solution
Last modified: August 20, 2016

---

# vSlider: Possibly a very simple php coding solution

 *  Resolved [udapud](https://wordpress.org/support/users/udapud/)
 * (@udapud)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/possibly-a-very-simple-php-coding-solution/)
 * vSlider – in WordPress I’m using the function supplied in the FAQs:
 * `<?php if(function_exists('vslider')){ vslider('vslider_options'); } ?>`
 * And I’m trying to do this. So its knows to get the post-ID as its name. But its
   not working.
 * `<?php if(function_exists('vslider')){ vslider('<?php the_ID(); ?>'); } ?>`
 * Any help is greatly appreciated, thanks.

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

 *  [vtxyzzy](https://wordpress.org/support/users/vtxyzzy/)
 * (@vtxyzzy)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/possibly-a-very-simple-php-coding-solution/#post-3130882)
 * Try this:
 *     ```
       <?php if(function_exists('vslider')){ vslider( get_the_ID() ); } ?>
       ```
   
 *  Thread Starter [udapud](https://wordpress.org/support/users/udapud/)
 * (@udapud)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/possibly-a-very-simple-php-coding-solution/#post-3130894)
 * Awesome! Thanks 🙂
 *  [vtxyzzy](https://wordpress.org/support/users/vtxyzzy/)
 * (@vtxyzzy)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/possibly-a-very-simple-php-coding-solution/#post-3130896)
 * If your problem has been solved, please use the dropdown on the right to mark
   this topic ‘Resolved’ so that anyone else with this question can see that there
   is a solution.

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

The topic ‘vSlider: Possibly a very simple php coding solution’ is closed to new
replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [vtxyzzy](https://wordpress.org/support/users/vtxyzzy/)
 * Last activity: [13 years, 7 months ago](https://wordpress.org/support/topic/possibly-a-very-simple-php-coding-solution/#post-3130896)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
