Hi @ejaganece
I hope you are doing well.
We don’t have any interface option for it, but you can use this code:
<?php
add_filter( 'hustle_get_cta_buttons', function( $html, $module ){
if( is_a($module, 'Hustle_Module_Model') && $module->id == 3 ){
// target="_self" => Opens the link in the same tab
$html .= '<div class="hustle-cta-container"><a class="hustle-button hustle-button-cta hustle-last-button" href="[your-new-url]" target="_blank" data-cta-type="cta_2">CTA Label 3</a></div>';
}
return $html;
}, 10, 2 );
Edit the 3 and your-new-url
Add the code as a mu-plugin:
https://wpmudev.com/docs/using-wordpress/installing-wordpress-plugins/#installing-mu-plugins
Best Regards
Patrick Freitas
Hi @ejaganece,
Hope this message finds you well and thanks for the update.
If the issue is solved with the code provided by Patrick, would you let us know if we can mark the topic as solved? Thanks.
Best regards,
Laura
Hi @ejaganece,
Since we haven’t heard from you for a while. I’ll mark this thread as resolved for now. Please feel free to re-open the thread if you need further assistance.
Regards
Nithin