WordPress.org

Ready to get started?Download WordPress

Forums

Duena
Problem with Facebook plugin on Duena and translations (4 posts)

  1. maxlefou
    Member
    Posted 9 months ago #

    Hi.

    I have a duena theme i use for my website and it works well. But i have two things. Two things i can surely fix easily since i made a child-theme for duena (where i only changed some colors tho, nothing else) sorry for my bad english.

    First, i tried to use the Facebook plugin with this theme and it doesnt' work like for the default themes: nothing about facebook displays when their things are activated. No buttons, and the comments box even erases the default comment box in the pages and posts. Since it does that only on duena, i think there's someting wrong with the theme. What should i do to make it work with duena ?

    Also, my website is french but duena is not. I found the way to translate it but some lines aren't in the .po file (like the "Search for:" when a search is made). will there be a version of duena where you can potentially translate all the writings in the theme?

    Thank you for your answers and help :)

  2. nouman.nazim
    Member
    Posted 9 months ago #

    I have translated the theme in Urdu language. You will have to translate some words manually via child theme like search.

    First find the searchform.php file in the main theme and copy the same to child theme. Open the copied file in wordpress theme editor and look for the following line of code:
    <input type="search" class="field" name="s" value="<?php echo esc_attr( get_search_query() ); ?>" id="s" placeholder="<?php echo esc_attr_x( '<em><strong>Enter your translation here</strong></em>', 'placeholder', 'duena' ); ?>" />

    This will change the text displayed in search box.

    If you want to change the title of the search page then find the search.php file in the main theme and copy the same to child theme. Open the copied file in wordpress theme editor and look for the following line of code:
    <h1 class="page-title"><?php printf( __( '<em><strong>Enter your translation here</strong></em>', 'duena' ), '<span>' . get_search_query() . '</span>' ); ?></h1>

    This will change the text displayed as title of the page.

    As regard Social sharing and social bookmarking button, I would suggest you to you Sharing Plugin available in JetPack. It will help alot.

  3. maxlefou
    Member
    Posted 8 months ago #

    No, i won't touch to jetpack again. The second i installed it, it broke my whole website and i had to do operations on the database to get it back, it took me a whole day to fix it.. will never touch it again.

    And for the translation it really sucks because there's alot of words not translated in there.. Not only the "search" but also the "read more", the "no comments" or "# comments" and other stuff

    Thanks for the help tho. I'll see what i can do with the elements i got.

  4. LANSMM
    Member
    Posted 8 months ago #

    Bonjour,
    Have you succeeded with French translation?
    I've done quite a complete translation using Poedit, I can send it to you.

    Nevertheless, the theme doesn't take some parts/phrases of the translated text (ex: Author's Bio). I can't find why.

    Have you found the solution to all this?
    Merci

Reply

You must log in to post.

About this Theme

About this Topic