Purchased this plugin a couple of years back and now I've upgraded to a new theme and want to use the anti bot solution. In the instructions it says to place this php call:<?php if(function_exists('anti_bot_form')) { anti_bot_form(); } ?>
just before this code: <button type="submit"><?php _e('Send', 'your_theme'); ?></button>
in my item.php file.
I don't have that button code however, I only see this code: <button onclick="location.href='<?php echo osc_premium_url() ; ?>';" class="expand premium_ads price_ribbon"><?php echo $form_price; ?></button>
<?php } ?>
<a class="" href="<?php echo osc_premium_url() ; ?>" title="<?php echo osc_esc_html(osc_premium_title()) ; ?>">
<img src="<?php echo osc_resource_thumbnail_url(); ?>" title="<?php echo osc_esc_html(osc_highlight(osc_premium_title(),40)) ; ?><br/>
<?php echo osc_premium_category() ; ?><br/><?php echo osc_premium_city(); ?> <?php if(osc_premium_region()!='') { ?>(<?php echo osc_premium_region(); ?>)<?php } ?>" alt="<?php echo osc_esc_html(osc_premium_title()) ; ?>" width="300" height="250" ></a>
<?php } else { ?>
<?php if( osc_price_enabled_at_items() ) { ?>
<button onclick="location.href='<?php echo osc_premium_url() ; ?>';" class="expand premium_ads price_ribbon"><?php echo osc_format_price(osc_premium_price()).' '.osc_premium_currency_symbol(); ?></button>
Will it still function correctly if I place above this block of code?