• Resolved neomyth

    (@neomyth)


    Hi everyone,

    I have been messing around with my theme to find where I could change the “More Details” text button in my book grid (see link). But I didn’t find anything…

    I would like to translate it in French with “Plus d’infos”.

    What is bothering me more is that I managed somehow to get it done few weeks ago before a complete reset of my website :-/

    Thank you in advance.

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Ashley

    (@nosegraze)

    Hi there,

    There are a few different ways to do this:

    1. You can edit the “shortcode-book-content-button.php” template file and simply edit the text however you want. Instructions for editing template files are here: https://novelistplugin.com/docs/developers/tutorials/how-to-edit-template-files/

    2. If you’re familiar with how to use filters then you can use the “novelist/shortcode/book/button-text” filter to change the text. Example:

    function ng_novelist_button_text( $text ) {
    	return 'Plus d’infos';
    }
    add_filter( 'novelist/shortcode/book/button-text', 'ng_novelist_button_text' );

    3. If you’re using a translation tool like Poedit, then the exact string to translate is:

    More Details »

    • This reply was modified 6 years ago by Ashley.
    • This reply was modified 6 years ago by Ashley.
    Thread Starter neomyth

    (@neomyth)

    Thank you very much for your help @nosegraze .
    Problem solved ! ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Changing the “more details” button’ is closed to new replies.