1 year, 8 months ago wesareedParticipant
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.
1 year, 8 months ago EldoKeymaster
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>';
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.
1 year, 7 months ago nioParticipant
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?
1 year, 7 months ago EldoKeymaster
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.
You must be logged in to reply to this topic.