I have a fast tip for you today. If you need some basic math operations between your custom fields made with Types plugin, then I have a solution for you.
I need to display my custom field with price without VAT and then calculate the price with VAT. In Czech republic, VAT is 21%. I need to multiply the “price-without-vat” field with number 1.21. How can I do that?
First thing I need is my own plugin (of course you can add the function to functions.php but i don’t recommend that).
Symptoms: Pro menu on multisite doesn’t show the WordPress menus in select field. Unfortunately, this is a known issue when using the Pro Menu element on a multisite install. There is a workaround by manually adding the ID of the menu you want to display to the page or template shortcodes. To do this, add […]