Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #296607

    Hi I’m trying to change the twitter icon to facebook that is with the social media twitter and rss widget

    I was told to place this in functions-enfold.php but it doesn’t work anymore

    function avia_social_widget_icon($content, $icon)
    {
    if($icon == ‘twitter’) $icon = ‘facebook’;

    global $avia_config;

    What shall I be using now ? It’s near to line 200

    #298031

    Hi,

    Open /framework/php/class-framework-widgets.php and look for line 732:

    $before = apply_filters('avf_social_widget', "", 'twitter');
    

    Replace it by this:

    $before = apply_filters('avf_social_widget', "", 'facebook');
    

    Regards,
    Josue

    #298495
    This reply has been marked as private.
    #298503

    Hey!

    Duplicate and change the $output line (739) according to your needs:

    $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>";
    

    Best regards,
    Josue

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.