Thanks in advance
]]>While setting up your plugin under a subdomain I have noticed that during installation there is an extra (manual) step required on the Cloudflare Cache Rules page. I needed to log in and add the prefix to the first line:
CURRENTLY:
When incoming requests match…
Field > equals > Value: domain.com
SUGGESTED IDEA:
When incoming requests match…
Field > equals > Value: subdomainname.domain.com
Is it possible that your plugin is able to actually add the subdomain prefix during enabling the caching? Just a thought to perhaps improve the plugin without having to do it manually.
best regards,
Darius
Thanks!
]]>Example before: www.test.com/?ref=23
Example now: www.test.com/%20?ref=23
The %20 is a space. I have not changed anything in the CTX feed or in WooCommerce.
Many thanks in advance.
]]>Thanks for this really great plugin, I am testing it locally since yesterday and I think there is CSS glitch with the Prefix and Suffix in the Block.
It’s adding some margin on top of the Prefix or Suffix, and I really can’t see where it’s coming from.
Please note, I am not great with php and I still don’t have a clue how to insert code in templates, so my setup is very simple, as follow — not doing anything fancy:
I add a couple of Meta Fields in the WordPress post, nothing fancy, just at the bottom of the page, enabled from the Preferences > Panels > Custom Fields…
Than in the Gutenberg Query loop / Archives, I add a couple of Blocks and in Meta field settings > Field Type > I pick “Dynamic field”, then in Field Name I add the field name created in the post. So I use two Blocks, presented inline and Display Output is Inline block.
For now I could always add the css as shown below, but I thought you might like to now.
Also, very important, this is happening a bit randomly; for example, it might add the top margin in the first block’s Prefix or Suffix, and then the next block is fine… then if you play with the settings and resave and the second Block with have the margin added and the first one back to normal… so it’s a bit erratic.
Otherwise, I am so glad you created this plugin, I searched WordPress for the past two weeks for something like that, and yesterday only I persevered and decided to go through tons of pages through the search, it’s a shame because it deserves to be at the top of the search!
.wp-block-mfb-meta-field-block.is-display-inline-block .prefix+.value, .wp-block-mfb-meta-field-block.is-display-inline-block .value+.suffix {
margin-left: 0.5em;
margin-top: 0; /*0 or auto fixes it*/
}
IMPORTANT UPDATE:
Actually, the extra top margin is added to the css class “Value” and not prefix or suffix. But the glitch appears WHEN you add a prefix or suffix.