• Resolved getimo

    (@getimo)


    Hello,

    is there any non-destructive/non-plugin way to translate the word “Shares” from the total count feature in the frontend next to the share buttons?

    Thanks in advance for any help!

    Greets
    Thomas

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Contributor iova.mihai

    (@iovamihai)

    Hey @getimo,

    Thank you for reaching out with this message and I’m really sorry for the late reply. I notice you are using the pro version. Please make sure to contact me directly through the support channel on the website. Response times are far better.

    Regarding the share text, there actually is a simple way of doing this. Please see the PHP code below.

    function dpsp_total_share_count_text_translate( $share_text ) {
    return ‘your translation’;
    }
    add_filter( ‘dpsp_total_share_count_text’, ‘dpsp_total_share_count_text_translate’ );

    Place the above code into your theme’s functions.php file or any other compatibility php file you are using.

    All the best,
    Mihai

Viewing 1 replies (of 1 total)
  • The topic ‘How to translate the word “Shares” for total count’ is closed to new replies.