Calling a function from plugin to template
I am trying to call a plugin function from the plugin directory into my header of my main page template. I am getting an error because it’s looking for the plugin in my template directory. What am I doing wrong?
Here’s my code:
<?php get_header(); ?> <ul> <?php include(zd_multilang_menu('plugin_directory')); ?> </ul>
I am editing the Main Index Template.
You can see the error code.
Any assistance would be most appreciated!
Thank you, Debbie
- The topic ‘Calling a function from plugin to template’ is closed to new replies.