Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #211539

    The blue and orange icons for the “RSS Link and Twitter account” WIDGET does not open a new tab when clicked.

    How do we get it to open a new tab ?

    #211682

    Hi Anthony!

    Edit framework > php > class-framework-widgets.php, find this code on line 594:

    echo $before_widget;
    				$output = "";
    				if(isset($twitter))
    				{
    					$link = 'http://twitter.com/'.$twitter.'/';
    					$before = apply_filters('avf_social_widget', "", 'twitter');
    					$output .= "<a href='$link' class='asc_twitter $addClass'>{$before}<strong class='asc_count'>".__('Follow','avia_framework')."</strong><span>".__('on Twitter','avia_framework')."</span></a>";
    					
    				}
    
    				if($rss)
    				{
    					$output .= "<a href='$rss' class='asc_rss $addClass'>".apply_filters('avf_social_widget',"", 'rss')."<strong class='asc_count'>".__('Subscribe','avia_framework')."</strong><span>".__('to RSS Feed','avia_framework')."</span></a>";
    				}

    Replace it with:

    echo $before_widget;
    				$output = "";
    				if(isset($twitter))
    				{
    					$link = 'http://twitter.com/'.$twitter.'/';
    					$before = apply_filters('avf_social_widget', "", 'twitter');
    					$output .= "<a target='_blank' href='$link' class='asc_twitter $addClass'>{$before}<strong class='asc_count'>".__('Follow','avia_framework')."</strong><span>".__('on Twitter','avia_framework')."</span></a>";
    					
    				}
    
    				if($rss)
    				{
    					$output .= "<a target='_blank' href='$rss' class='asc_rss $addClass'>".apply_filters('avf_social_widget',"", 'rss')."<strong class='asc_count'>".__('Subscribe','avia_framework')."</strong><span>".__('to RSS Feed','avia_framework')."</span></a>";
    				}

    Regards,
    Ismael

    #211685

    Thanks for the reply.

    I will give it a try.

    Will this be added to your next update of the Enfold theme ?

    #211764

    Hi!

    No, it will not. You can request it here: https://kriesi.at/support/topic/enfold-feature-requests/

    Best regards,
    Ismael

    #221349

    Hello Ismael,

    I can not find class-framework-widgets.php in my wordpress theme editor.

    Could you help me to change “RSS Link and Twitter account” WIDGET to open new window and translate the text to spanish?

    http://solucionestecnologicasparaempresas.com/

    Thanks in advance, Raúl Ibáñez.

    #221512

    Hey!

    You can edit the file via FTP or your cpanel. Change the text on the same file and line of codes. Look for this line:

    $output .= "<a target='_blank' href='$link' class='asc_twitter $addClass'>{$before}<strong class='asc_count'>".__('Follow','avia_framework')."</strong><span>".__('on Twitter','avia_framework')."</span></a>";
    

    And this one for the RSS text:

    $output .= "<a href='$rss' class='asc_rss $addClass'>".apply_filters('avf_social_widget',"", 'rss')."<strong class='asc_count'>".__('Subscribe','avia_framework')."</strong><span>".__('to RSS Feed','avia_framework')."</span></a>";
    

    Regards,
    Ismael

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘How to get “RSS Link and Twitter account” WIDGET to open new window’ is closed to new replies.