i need to add class "first" to every 4 elements, i'm using this code, it seems debuging gives ok and condition is setted correctly, but i dont have any output done, in fact i cannot display any output regarding of codintion:
[wpv-conditional if="( '[wpv-loop-index]' eq '1' ) OR ( '[wpv-loop-index]' eq '5' ) OR ( '[wpv-loop-index]' eq '9' ) OR ( '[wpv-loop-index]' eq '13' ) OR ( '[wpv-loop-index]' eq '17' ) OR ( '[wpv-loop-index]' eq 21' ) OR ( '[wpv-loop-index]' eq '25' )" debug="false"] <div class="column dt-sc-one-fourth first "> [/wpv-conditional]
[wpv-conditional if="( '[wpv-loop-index]' ne '1' ) AND ( '[wpv-loop-index]' ne '5' ) AND ( '[wpv-loop-index]' ne '9' ) AND ( '[wpv-loop-index]' ne '13' ) AND ( '[wpv-loop-index]' ne '17' ) AND ( '[wpv-loop-index]' ne 21' ) AND ( '[wpv-loop-index]' ne '25' )" debug="false"] <div class="column dt-sc-one-fourth "> [/wpv-conditional]
ok i will try, anyway, it seems conditional tags are not working in legacy views? despite of conditions.... even if i try condition 1=1 not seems to display any output
That is strange. Can you please share problem URL so I can review where and how exactly you added the conditionals and then I will try to check with my test instsall.
*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.
I have set the next reply to private which means only you and I have access to it.
The topic ‘[Closed] conditional output on map’ is closed to new replies.