Last updated: 11 years ago
Example of basic code to use foodPress as PHP code within your template:
[code]
<?php
if(function_exists(‘add_foodpress’)){
$args = array(
‘variable_name’=>’variable_value’
);
add_foodpress($args);
}
?>
[/code]
Variable name and variable values are same as they are in the shortcode. If you use the shortcode generator within foodPress you can generate shortcode variables from this visual shortcode generator. Those generated variables can be used on the arguments for the PHP template function.
Are you stuck or having issues with foodpress plugin? not to worry drop us a line on our support forum or search for topics related to your issues thats already answered for quick solutions.