Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+1 vote
574 views
in Q2A Core by

Need a place php code at footer each page how do it? "<?php
 require_once("xxxxxxxx.php");

 $seomatik = new Seomatik();
 $seomatik->setSeparator("<br />");
 $seomatik->setTarget(true);
 $seomatik->setClass("cssclass");

 echo $seomatik->show();
?>

"

any sugestions?

1 Answer

+1 vote
by

This is probably easiest in a custom theme. If you don't already have a theme, copy the "Default" folder in qa-theme then create a file qa-theme.php with this content:

<?php
class qa_html_theme extends qa_html_theme_base
{
    function footer()
    {
        parent::footer();
        // your code here
    }
}

 

asked Aug 27, 2011 in Q2A Core by anonymous custom php code in template not working
...