Viewing 3 reply threads
You must be logged in to reply to this topic.
I’d like for the social icons in the Top Widgetized Area and the footer (using the specular social widget) to open in a new tab. Currently, they open in the same tab and I don’t see a way to adjust that.
Hello,
Yes it is possible but you have to edit the file: wp-content/plugins/codeless-framework/include/widgets/codeless_socialwidget.php
you have to edit the <a href=""
tag and adding the target=”_blank” instruction like the example below:
echo '<li class="facebook"><a href="'.esc_url($cl_redata['facebook']).'"><i class="icon-facebook"></i></a></li>';
replace:
echo '<li class="facebook"><a target="_blank" href="'.esc_url($cl_redata['facebook']).'"><i class="icon-facebook"></i></a></li>';
You have to do the same with other links.
Regards!
Hello,
I followed the steps you suggested but the situation doesn’t change. Since I have a specular child theme, I suppose that I have to create a new file in /themes/specular-child/codeless-framework/include/widgets/codeless_socialwidget.php but it doesn’t work.
Could you suggest me something else?
Thank you
Hello,
It doesn’t work because you have to add all the files that are related with codeles_social widget.
I recommend you to make the change directly to the original file.
Regards!
You must be logged in to reply to this topic.