Open Popup automatically on custom pages
-
Dear Support!
I want to display Popup automatically on certain product categories. The plugin doesnt support this i think.
But with this code its possible:
if( has_term( array( 'szexualitas', 'vagyfokozok', 'potencianoveles-es-termekenyseg', 'helyi-fogamzasgatlok', 'sikositok', 'ovszerek' ), 'product_cat' ) ) { echo '<a href="#" class="popmake-18">18+</a>'; }
The problem is that if I do not enable it in settings, the popup doesnt auto popup. Is there a way to add this parameter to a as a class? or something similiar?
Regards,
Peter.
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘Open Popup automatically on custom pages’ is closed to new replies.