A way to restrict a plugin to one page only?
-
I am using the plugin vimeorss to display random vimeo videos and am wondering if there is any way I can restrict this plugin only to display on one subpage of my homepage. I have my site set up with a static home with two subpages and would like one of them to display the random clips. As the plugin currently works, I have inserted
<?php if (function_exists(“vimeorss”)) { vimeorss(user577608, clips, 4, “”, “”); } ?>
as instructed in the page.php file in the subpage section. I am wondering if there is a way I can have it call the subpages separately and only put that code in one of them. The site is tdub.tv/will if you want to see what I mean. You’ll see both sub pages have the video thumbnails and I only want them in the left one.
Thanks, and sorry for my ignorance. I’m new to this.
Will
- The topic ‘A way to restrict a plugin to one page only?’ is closed to new replies.