Posted - 06/07/2018 : 06:39:39
Thinking about it, probably the best way forward is to save header.php as header-ect.php. Then on your store pages use <?php $GLOBALS['ectcartpage']='products'; require('./wp-blog-header.php'); get_header(ect); ?> rather than <?php $GLOBALS['ectcartpage']='products'; require('./wp-blog-header.php'); get_header(); ?> That way if you update the theme your css and PHP store include lines in the header will remain untouched. The database structure is the same. Andy Please feel free to review / rate our software
|