Visibility according to Variable
-
I have assigned a variable in my DIVI child theme
$tableview = 1;
I will write a function later to assign a value from 1 to 10.
I have 10 sections on a page but only want to show 1 based on the variable.
If $tableview = 1 show Section 1 if $tableview = 2 show section 2…..What boolean expression should I write for each Content Visibility:.
Every way I have tried either doesn’t work or crashes the site
The topic ‘Visibility according to Variable’ is closed to new replies.