Skip to content

choose new host for my website

Hello I have a couple of websites running on wordpress and at present they are hosted on siteground. Everything is great, except, that my… | Read the rest of https://www.webhostingtalk.com/showthread.php?t=1942988&goto=newpost

Using ifconfig attribute to conditionally add elements in in layout xml?

Similar to this question is there a way to use ifconfig to conditionally add script,meta, or css assets within the portion of a layout.xml file: <?xml version=”1.0″?> <page xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xsi:noNamespaceSchemaLocation=”urn:magento:framework:View/Layout/etc/page_configuration.xsd”> <head name=”bizgenius.scripts”> <meta ifconfig=”newsletter/general/active” name=”some-meta-tag” content=””></meta> <script ifconfig=”newsletter/general/active” src=”somescript.js” src_type=”url”… Read More »Using ifconfig attribute to conditionally add elements in in layout xml?