Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #1056583

    Hello all,
    I have a problem translating the Read more button under my blogs to Lees meer. I read some comments about adding something to the functions.php file
    But i don’t no where to add this exactly. Already tried to find “read the full article”, but nowhere to be found. Could someone please explain this to me in simple English?

    Thanks,
    Kind regards Yvonne

    #1056972

    Hey Dewebontwikkelaar,

    You can use a plugin, example like Loco Translate which should be possible to be used from yu for that.

    Best regards,
    Basilis

    #1067363

    Already did install Loco translate. No result.

    #1067936

    Hi Dewebontwikkelaar,

    Can you give us temporary admin access to your website in the private content box below, so that we can have a closer look?

    Best regards,
    Victoria

    #1069023

    Hi Victoria.
    Could you please also check the problem I have with the contactform. My visitors do not receive the e-mail. Also see appendixes
    I already have installed the WP log plugin (see appendix). The problem is that the visitor on my website does not receive the automatic response e-mail (see appendix, starts with Bedankt voor uw inschrijving op het stappenplan voor de perfecte SEO tekst!

    I do receive an e-mail that someone has filled in the contactform. I already discussed this matter with my WordPress host and they say it is a problem with the theme.

    Could you please check the matter in my WordPress account,

    https://yvonne.tinytake.com/sf/MzMyNDQwNl85OTQ2MjA1
    https://yvonne.tinytake.com/sf/MzMyNDQxMl85OTQ2MjEx

    Thank you!

    Kind regards,

    Yvonne Beeris

    #1071033

    Hi,
    Sorry for the late reply, I see that you linked to your login page, but there are no login details so I couldn’t add the function into your functions.php for you. But if you add this code to the end of your functions.php file in Appearance > Editor it should work:

    function read_more_to_lees_meer(){
      ?>
      <script>
    (function($){
      $(document).ready(function(){
      $(".more-link").text("Lees meer");
      });
      })(jQuery);
    </script>
    <?php
    }
    add_action('wp_footer', 'read_more_to_lees_meer');

    As for the email, are you using a SMTP server to send your emails? Are you sure the emails are not in the spam folder?
    You could try this functions.php:

    add_filter('avf_form_from', 'enfold_contact_form_change_from', 10, 3);
    function enfold_contact_form_change_from($from, $new_post, $form_params) {
            global $enfold_visitor_from;
            $enfold_visitor_from = $from;
            $from = "info@<domain>";
            return $from;
    }
    
    add_filter( 'avf_form_mail_header', 'enfold_contact_form_add_replyto', 10, 3 );
    function enfold_contact_form_add_replyto( $header, $p1, $p2 ) {
            global $enfold_visitor_from;
            $header .= 'Reply-To: ' . $enfold_visitor_from . "\r\n";
            return $header;
    }

    be sure to change the address of “info@” in the code.

    Best regards,
    Mike

    #1071862

    Added both to my functions file. Unfortunately no result. Could you please check? I put my details in the private content section.

    Thank you so much!

    Kind regards, Yvonne

    #1072170

    Hi,
    I was not able to login, the message is “Ongeldige gebruikersnaam”, please check.

    Best regards,
    Mike

    #1072261

    See below for the correct link. It should work right now.

    Thank you!

    Kind regards,

    Yvonne

    #1072290

    Hi,
    I gussed your login and was able to get in, I then noticed that the code I posted was in the style.css instead of the functions.php, I corrected.
    Now the Lees meer works.
    I also tested your contact form and I got your auto reply message. Although it did take a few minutes, it did land in my inbox.
    Please clear your browser cache and check.

    Best regards,
    Mike

    #1073019

    Thank you so much! Good service

    #1073174

    Hi,
    Glad we were able to help, we will close this now. Thank you for using Enfold.

    For your information, you can take a look at Enfold documentation here
    For any other questions or issues, feel free to start new threads under Enfold sub forum and we will gladly try to help you :)

    Best regards,
    Mike

Viewing 12 posts - 1 through 12 (of 12 total)
  • The topic ‘Translagte Read more to Lees meer’ is closed to new replies.