Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1495135
    Dave Chapple
    Guest

    I have found an SVG file for the Upwork icon. I have uploaded it to the media library. I have also followed the directions to upload through the “import/export” Enfold theme UI. When I upload as a straight SVG, it tells me it needs to be a ZIP file. So when I compress and make it a ZIP file, it is represented in (i think) the media browser) but it does not show up as a selection in the icons list under social profiles. This is very confusing. Where does the SVG end up so it can be selected within the social profile icons? Seems like a link to the media library would make sense.

    Understanding where the sag icon is stored and how it is called into action would help.
    I studied the code and I dont see how the new icon is being referenced and from where.

    Here is the link to the icon below in “private Content”

    #1495177

    Hey Dave Chapple,
    Since upwork is not available at fontello, you will need to convert your upwork image into a iconfont and add the correct code to your functions file:

    function avia_add_custom_icon($icons) {
      $icons['tiktok'] = array( 'font' =>'fontello', 'icon' => 'ue800');
      return $icons;
      }
      add_filter('avf_default_icons','avia_add_custom_icon', 10, 1);
      
      function avia_add_custom_social_icon($icons) {
      $icons['TikTok'] = 'tiktok';
      return $icons;
      }
      add_filter('avf_social_icons_options','avia_add_custom_social_icon', 10, 1);
      add_filter('avia_social_share_link_arguments', 'avia_add_social_share_link_arguments', 10, 1);
      function avia_add_social_share_link_arguments($args){
          $tiktok = array('tiktok' => array("encode"=>true, "encode_urls"=>false, "pattern" => "https://www.tiktok.com/", 'label' => __("Share on TikTok",'avia_framework')));
          $args = array_merge($tiktok, $args);
          return $args;
      }

    You will need to adjust the code to suit your icon which has a custom code from fontello.
    Please also note that you need to login to support and not use the contact form, it is not appropriate for support questions. Your support license expired  a year ago, so please renew. (Supported until: 2025-02-19)
    If you are unable to login to the support forum because you don’t have a activate support contract, please try going to your Theme Forest account and renew your support and then log in to the support forum and open a new thread.

    Best regards,
    Mike

    #1495199

    when I upload, the server is putting the file I zipped titled “fontello-d16d12c1.zip” into the folder structure WordPress content > uploads > 2026 > 02 > fontello-d16d12c1.zip

    When I ask google etc for what to do it says a folder named avia_fonts must be placed in the uploads fold and an uncompressed folder must be placed there.
    What should the folder be named? the folder with the config.json file and css folder and font folder on the root? ipage.com is my service provider. the files created at https://fontello.com create the files. It appears the svg file is a blank file. that isn’t right. I can create a svg vector file in it but I wouldn’t know what size to make the vector file. This is a mild PITA.

    #1495201

    Hi,
    This information is not correct, there is a lot more to it. But the contact form is not appropriate for support questions.
    Please login to the support forum and open a new thread.
    If you are unable to login to the support forum because you don’t have a activate support contract, please try going to your Theme Forest account and renew your support.

    Best regards,
    Mike

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