• Hello
    Can you please recommend a avatar-profil (for author post avatar) plugin for your travel theme? I do not want to use gravatar.
    Thank you
    One more question
    Can you please recommend a email, phone encoder plugin for your travel theme ?
    I used WP Emails Encoder, Email Address Encoder but not working in top black bar.

    • This topic was modified 6 years, 5 months ago by unlambda.
    • This topic was modified 6 years, 5 months ago by unlambda.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Hello,

    You can use WP User Avatar by flippercode for setting avatar.

    For email address encoding, both plugins are good, can you send me your website link after enabling one of them?

    If nothing works, then use the following code. Install and activate the OceanWP child theme – Click here and paste this code in the functions.php of child theme.

    //encode email addresses shortcode
    function encode_email_addresses_sc($atts, $content = null) {
        $emailaddress_fields = shortcode_atts(array(
            'id' => '',
            'email' => ''
        ),$atts);
        $userid = $emailaddress_fields['id'];
        $e_mail = $emailaddress_fields['email'];
        if ($userid !=='' && $e_mail =='') {
            $emailaddress = get_the_author_meta('user_email',$userid);
            return '<a href="mailto:'.antispambot($emailaddress).'">'.antispambot($emailaddress).'</a>';
        }
        if ($userid =='' && $e_mail !=='') {
            return '<a href="mailto:'.antispambot($e_mail).'">'.antispambot($e_mail).'</a>';
        }
        else {
            return '';
        }
    }
    add_shortcode('encode_email','encode_email_addresses_sc');

    How to use –
    You can use it in two ways.
    1. [encode_email id=”1″] // replace id with your user id.

    2. [encode_email email=”[email protected]”] // enter an email address that you want to encode

    Thread Starter unlambda

    (@unlambda)

    I am using WAMP local server. When I used the code provided by you I had some extra sybols like question marks (artifacts) around email.
    I use 2 option

    2. [encode_email email=”[email protected]”] // enter an email address that you want to encode

    I activated again Email Address Encoder and when I look at source code the email is showing up.

    En passant, I want to make hamburger menu icon color black only on all posts. Not on Blog or category posts but only on all posts (not pages) It is possible with CSS ? I am struggling entier week. Can’t figured out how to do that. Can you help?

    Hello,

    Please read this guide for email encoding – Email Encoding
    For the second query will you please share a screenshot so that I can understand what are you trying to achieve?

    Thread Starter unlambda

    (@unlambda)

    Hello
    Thank you for the guide.
    A video demo about my last question.
    https://www.upload.ee/files/8995367/Video_2018-09-27_111112.wmv.html
    I wanted to all single posts (only mobile (second) version for mobiles with minimum resolution below 768px) have a hamburger icon with different color.
    Thank you

    • This reply was modified 6 years, 5 months ago by unlambda.
    • This reply was modified 6 years, 5 months ago by unlambda.
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Profil plugin for yout demo’ is closed to new replies.