BFChris wrote:What do you mean "I tried the php line in the footer html, didn't work."
I assume your product page names end in .htm or .html?
If so, it is possible your web server is not set up to parse PHP code on pages ending in .html
You could tell your server to do this by adding the following to your .htacess file:
- Code: Select all
AddType application/x-httpd-php .html
yes, tried the php line/code in the shopsite footer by going into the shopsite back office, Preferences/Layout Settings/ and then editing the footer - pasted in the line of php code " <?php echo date('Y'); ?> " , and it didn't work.
yes the pages generated by shopsite are .html .
Other non-shopsite pages on the site, I use the same php line of code for the year in the footer and not a problem, the year is shown as expected.
So didn't think it was a "site" problem.
Thought it was something with shopsite, when it generates the page, ignoring the php code I had put in the footer for the shopsite pages??
(I have some WP plugins that don't like certain normal html tags for forms, and use their own and own syntax.... annoying , didn't know if shopsite was doing the same thing)
My non-shopsite pages are in the root of the site and other sub-directories, and shopsite is installed in a sub-directory "store" under the root of the site.
??
Thanks a bunch for walking through this with me.