Home>Support

functions.php vantage_scripts question

By jjfoerch, 7 years ago. Last reply by jjfoerch, 7 years ago
Hello, I'm developing a child theme of vantage, and ran across what seems like an odd behavior in how WordPress child themes work. In order for Vantage's css to be correctly included in this case, the child theme must override the 'vantage-style' inclusion by doing this: wp enqueue style('vantage-style', get template directory uri().

vantage: php error in add_css

By jjfoerch, 7 years ago. Last reply by jjfoerch, 7 years ago
Hello, I'm seeing the following error with Vantage running on PHP 7.1.1: Fatal error: Uncaught Error: [] operator not supported for strings in /var/www/content/themes/vantage/inc/panels-lite/inc/css. Not sure why it didn't cause an error in earlier PHP versions.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More