Viewing 17 posts - 1 through 17 (of 17 total)
  • Author
    Posts
  • #589240

    Hi,
    Thank you for a fascinating Enfold theme!
    My question is: How can I add an author’s name below the gravatar image in the individual blog roll?
    Logically, it’s good to see the name of an author at the top of the article along with his gravatar.
    Thank you.

    • This topic was modified 8 years, 10 months ago by jewsforjesus.
    #590533

    Hi,

    Can you post the link to your blog please?

    Regards,
    Josue

    #600713

    Hi,
    Find the link in the private window, please.

    Thank you.

    #600761

    Hi,

    Open includes/loop-index.php and look for line:

    $blog_meta_output = "<a href='{$link}' class='post-author-format-type'><span class='rounded-container'>".$gravatar.$icon."</span></a>";
    

    Replace it by this:

    $blog_meta_output = "<a href='{$link}' class='post-author-format-type'><span class='rounded-container'>".$gravatar.$icon."</span>".$author_name."</a>";
    

    Regards,
    Josue

    #600910

    Thank you! :-)
    Have a good day!

    #600927

    You are welcome, glad to help :)

    Regards,
    Josue

    #1099031

    Hi,
    After the last update to 4.5.6 author’s name disappeared from the page. Your recipe doesn’t work anymore.
    Help me please.
    Have a good day.

    #1099719

    Hi,
    Sorry for the late reply, I have tested the code above on the latest update v4.5.7, and it still seems to work on my install, after you updated the theme did you try to add the code again?
    Updating would have removed this code.
    If you need more help with this please include an admin login & FTP access in the Private Content area, so we can be of more assistance.

    Best regards,
    Mike

    #1100036

    Hi Mike,

    Thank you for your reply.
    I’ve updated the theme to 4.5.7. It doesn’t work. No author name.
    Here is the code in includes/loop-index.php:
    //$blog_meta_output = “<span class=’rounded-container’>”.$gravatar.$icon.”</span>“;
    $blog_meta_output = “<span class=’rounded-container’>”.$gravatar.$icon.”</span>”.$author_name.”“;
    Another thing. In the category list of posts there are two similar pictures, one thumbnail and one from the post. How can I get rid of the thumbnail in the category list of articles?

    Thank you.

    #1100325

    Hi,
    Can we have ftp access and admin login to investigate?

    Best regards,
    Mike

    #1100719
    This reply has been marked as private.
    #1100765

    Hi,
    Thanks for the login, but I was not able to login via FTP, please check.

    Best regards,
    Mike

    #1100953
    This reply has been marked as private.
    #1101588

    Hi Mike,
    I know you are busy but I’d like to ask you to find my last inquiry.
    Thank you.

    #1102320

    Hi,
    Sorry for the late reply, I still couldn’t login, but I see in your child theme > includes/loop-index.php your code is not correct, I tried to update but could not via the WordPress > Appearance > Editor as it needs to be done via ftp. Please try to correct:
    This is what you have:

    $blog_meta_output = "<a href='{$link}' class='post-author-format-type'><span class='rounded-container'>".$gravatar.$icon."</span></a>";

    it needs to be:

    $blog_meta_output = "<a href='{$link}' class='post-author-format-type'><span class='rounded-container'>".$gravatar.$icon."</span>".$author_name."</a>";

    as you will see you need the “.$author_name.

    Best regards,
    Mike

    #1104435

    Hi Mike,

    Thank you for helping me. Unfortunately, your recipe doesn’t work. I’ve made what you told me but it didn’t start working.
    Sorry for inconvenience with passwords. I don’t know why you cannot log in.
    Anyway, please find the credentials in the private message.
    Let me know what error do you receive if you cannot succeed.

    Thank you.

    #1104641

    Hi,
    Thanks for the feedback, I was able to login to your cPanel once I used an RU VPN.
    I added the “.$author_name.” as described above and now the author name is showing.
    I also added this css to hide the second featured image in your Quick CSS:

    #top.archive .big-preview.multi-big {
    display: none !important;
    }

    Please see the link in the Private Content area.
    Please clear your browser cache and check.

    Best regards,
    Mike

Viewing 17 posts - 1 through 17 (of 17 total)
  • You must be logged in to reply to this topic.