• Resolved rijo

    (@rijo)


    Hi,

    thanks for the template. I really like it.

    I am just facing two issues. The first one is that border on top or in top, when an ad appears. How can I avoid that line?

    Second issue, and more important, is related with <!–nextpage–> function of WordPress.

    See here an example: https://www.bibliasagrada.org/antigo-testamento/genesis/capitulo-5/5/

    I am using the wordpress PT-BR and I want to replace the Meta title from Pages to Versículos. And on the post I want to replace Páginas: for Versículos

    Do you know how to do that?

    Thanks
    Daniel

Viewing 2 replies - 1 through 2 (of 2 total)
  • Theme Author Dario Devcic

    (@dariodev)

    Hi Daniel, thank you for using it!

    First issue – I inspected the code outputted by google ads. The ad is wrapped with tag. The tag is styled with bottom-border, as recommended by HTML5 guidlines https://html5doctor.com/ins-del-s/#ins-del-s-styling
    The solution is simple, just remove bottom-border by adding following CSS in the “Customizer -> Additional CSS”:

    .adsbygoogle {
        border-bottom: none !important;
    }

    Second issue – Themelia is 100% translation-ready theme. All text strings are wrapped in gettext functions. Translating theme is a standard procedure and you can easily find lots of manuals how to translate WP themes, but here is in short.

    You will need a software for editing po files, like “Poedit” or “Eazy PO”. Start new translation, browse to themelia/languages and open themelia.pot (this is a template for translation containing all theme translatable strings). Choose Portuguese (Brazil) and save the file. This will create two files in themelia/languages dir, pt_BR.po (key value file) and pt_BR.mo (compiled file for WP to use). You edit pt_BR.po with Poedit, by saving it pt_BR.mo is compiled (you can edit just strings that you need to translate).

    Upload compiled pt_BR.mo into global WordPress language directory /wp-content/languages/ like so: /wp-content/languages/themes/themelia-pt_BR.mo. That way the file will not be lost or overwritten during Themelia updates.
    Alternatively you can put translations in your child theme: /wp-content/themes/your-child-theme/languages/pt_BR.mo.

    Here is a good online manual for using Poedit https://wplang.org/translate-theme-plugin/ Also in this manual you can read about alternative method using “Loco Translate” plugin. Best way is to use Poedit, how I described above.

    Let me know if this helps.

    Cheers!
    Dario

    Thread Starter rijo

    (@rijo)

    Hi Dario, thanks for both solutions. For the second, I just installed wpml ando also worked.

    thanks again
    Daniel

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘nextpage’ is closed to new replies.