GithubHelp home page GithubHelp logo

Comments (6)

francgrasso avatar francgrasso commented on August 25, 2024

Hi there,
the text can be changed from the customizer: https://prnt.sc/1rllnk4

from yith-proteo.

Mte90 avatar Mte90 commented on August 25, 2024

Yes but in a multilanguage website I need that is localized, in the po file there is the string but this code ignore the case that the parameter in th customizer is empty and use that one.

from yith-proteo.

Mte90 avatar Mte90 commented on August 25, 2024

immagine
Seems also as how the file names are structured in the theme they are not loaded by wordpress as in languages the file has the theme prefix but natively is not looking for them with that name

from yith-proteo.

Mte90 avatar Mte90 commented on August 25, 2024
function yith_proteo_modify_read_more_link() {
    $string = get_theme_mod( 'yith_proteo_blog_read_more_text' );
    if ( empty( $string ) ) {
        $string = __( 'Read more  ⟶', 'yith-proteo' );
    }
	return '<a class="more-link" href="' . get_permalink() . '">' . esc_html( $string ) . '</a>';
}

add_filter( 'the_content_more_link', 'yith_proteo_modify_read_more_link' );

I changed the code in this way

from yith-proteo.

Mte90 avatar Mte90 commented on August 25, 2024

ping

from yith-proteo.

francgrasso avatar francgrasso commented on August 25, 2024

Hi there, fixed in commit b4c080e

from yith-proteo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.