This topic has 7 replies, 3 voices, and was last updated 6 years by Laura.

  • Author
  • #197040
     TheDream18
    Participant

    Hi,

    QUESTION 1:

    Why twitter load everywhere in my website? It is a part of make web slow loading, because time used to load them over mins. They are always in Top of loading time in console

    1) Appearance/widget:

    ==> I remove 100% widget . I don’t use any widget twitter

    2) Sweet-theme/setting/

    Contact info & Social  AND Miscellaneous

    ==> All is OFF and empty.

    ==> Time cache time :3600, i keep it as defaul of sweetheme, no change

     

    So as you see, i don’t input Tweets API, and also remove widget. ==> Why Tweets always load? How do i complete remove these loading?

     

    QUESTION 2:

    How do i change “back to Top button” from an image to Icon?

    I want to use this icon

    https://fontawesome.com/v4.7.0/icon/arrow-up/

     

    Thanks

     

     

     

     

    #197041
     TheDream18
    Participant

    Sorry forget attachment.

    Attachments:
    You must be logged in to view attached files.
    #197109
     Laura
    Moderator

    Hello, can you share admin credentials so i can check it out?

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

    #197114
     Radu
    Moderator

    Hi,

    Q1.

    Use this code

    COPY CODE
    
    add_action( 'wp_footer', 'wpse_262301_wp_footer', 11 );
    function wpse_262301_wp_footer() { 
    	wp_register_script( 'jquery-tweet');
    }
    

    If not works change 11 priority to 10 and still not works set 999

    Q2.

    If you will have only that icon you can screenshot the icon then crop it, upload it to your server, then use this css and replace the img path with new ones.

    COPY CODE
    
    #btnGoUp {
        background: transparent url("../images/up_page.png") no-repeat left top !important;
    }
    

    The css will be added in wp-admin -> theme options -> styling options -> quick css

    Cheers
    R

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #197136
     TheDream18
    Participant

    Q1. The code only used move tweet to footer, did not complete disabled it.
    ==> I complete don’t use Tweet, how do i complete disabled it?

    Q2. I changed code.

    #btnGoUp {
    background: transparent!important;
    }

    #btnGoUpa:before,
    #btnGoUp:before{
    content: “\f0f3”;
    font-family: FontAwesome; font-size: 18px !important;
    }

    The icon did not appear. What is wrong please?

    #197273
     Laura
    Moderator

    Hello 🙂
    Q1- Did you add this code to functions.php of child theme?

    COPY CODE
    
    
    add_action( 'wp_footer', 'wpse_262301_wp_footer', 11 );
    function wpse_262301_wp_footer() { 
    	wp_register_script( 'jquery-tweet');
    }
    

    If not works change 11 priority to 10 and still not works set 999

    Q2- Please read the reply that Radu sent and try to do that 🙂 If you have issues i will be happy to help

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

    #197313
     TheDream18
    Participant

    Hi the code worked. As i said: It moved tweet to FOOTER, did not complete removed these script loading.

    I complete don’t use tweet. I want to complete remove it. If cann’t remove it, tell me which file php did you add it (which line of code should i delete)

    Don’t worry i will broke website, i will note detail for future handy remove again if sweeettheme update new version.

    Thanks

    #197369
     Laura
    Moderator

    Hello, if you have any plugin that uses tweeter, just delete it, and i am having issues understanding what do you need other than removing tweeter

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

Viewing 8 posts - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.

Log in with your credentials

Forgot your details?