Posts: 770
Name: Abel Mohler
Location: Asheville, North Carolina USA
|
No, the problem is not with the code you described above, and the path you suggested doesn't work for calling a function. Functions can only be called if the code is either on the page, or is included somehow, which means that somewhere on your page, or in one of the include files, there needs to be something like this:
PHP Code:
function vote_poll() { /*a bunch of code goes here*/ }
function in_pollarchive() { /*a bunch more code goes here*/ }
What you need to do is find the code that runs the poll, so that you can include it on the page somehow, and thus use the functions. Since you are using Wordpress, they are probably in your plugins folder. Hopefully they are designed to work independant of the Wordpress platform.
|