Support » Plugin: Custom Twitter Feeds (Tweets Widget) » change text on tweet actions

  • Resolved boghi

    (@boghi)


    Hi, i need to change the text of the spans inside the “ctf-tweet-actions” div. For example i want to change the “Reply on Twitter 1443234661208150018” to “Reply”

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Smash Balloon Manuel

    (@mescobar)

    Hi @boghi,

    Thank you for reaching out to us for assistance. The problem here seem to be the screenreaders as they only should show “Reply”. In this case, you can hide this message using a custom CSS snippet or change the text using a custom JavaScript snippet.

    ​If you want to hide this message from your site, please navigate to your WordPress Dashboard > Twitter feed > Customize > Copy the CSS snippet below into the Custom CSS box, then save the changes.

    ​.ctf-screenreader {display:none !important;}

    ​If you want to change the text of this message, please navigate to your WordPress Dashboard > Twitter feed > Customize > Copy the JS snippet below into the Custom JavaScript box, then save the changes.

    ​$('.ctf-tweet-actions .ctf-reply .ctf-screenreader').each(function(){
        $(this).html('Reply');
    });

    If you need additional guidance or have any other questions please open a support ticket in our support portal here.

    Best regards,

    Thread Starter boghi

    (@boghi)

    It’s perfect, thank you

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