Viewing 25 posts - 1 through 25 (of 25 total)
  • Author
    Posts
  • #1009329

    Hi, is there the possibility of inserting, in the previews of articles on the home page, under the title of the article, with a smaller font, also the name of the author? And Is there a way of making the name of the author of the article appear on other pages, without the date under the title?
    Thank you

    #1009499

    Hey brand,

    Just curios, what Element in the layout builder are you using?
    As for other pages that you’re referring is that the single post page?

    Best regards,
    Nikko

    #1009507

    in this post I refer to Articles-Items, element of content that I insert on the home page: three articles by subject with title and preview photo

    #1009798

    Hi,
    To add the author to the blog grid, please see this post.

    Best regards,
    Mike

    #1009878

    unfortunately I can not find the code around line 498 in the postslider.php file

    • This reply was modified 6 years, 3 months ago by brand.
    #1010138

    Hi,
    I tested this modification on my localhost, and found the code was around line 629, please try using the modify file in the Private Content area, and keep a copy of your original as a backup.

    Best regards,
    Mike

    #1010175

    I’ve add a new post slider file and I removed old version, back up it before, but I try to add author name of articles in home, but I cannot make it.

    #1010202

    Hi,
    I took a look and found that you were hiding the meta tags with this code:

    .avia-content-slider .slide-meta { display: none; }

    I assume that you only wanted to hide the date & time tags, so I changed the code to:

    .avia-content-slider time.slide-meta-time,.avia-content-slider div.slide-meta-del { display: none; }

    Now the author name shows, you may wish to display a more friendly reading author name, so try going to your profile and adding a nickname.
    Please clear your browser cache and check.

    Best regards,
    Mike

    #1010256

    Thank you so much.
    If I wanted to customize the link to the name of the author appearing on the home, how can I do? And if I wanted to modify the font of the author’s name?

    #1010263

    Hi,
    Sorry, I’m not sure what you mean by “customize the link to the name of the author appearing on the home”
    please try explaining.
    To change the font color and size of the author name, please try this css:

    span.blog-author.minor-meta a {
    color: red !important;
    font-size: 14px !important; 
    }

    Please adjust to suit, then clear your browser cache and check.

    Best regards,
    Mike

    #1010276

    The names of the authors of the posts, in the home, are also a link that refers to a page-archive of their articles: you could edit those links, or even do not put a link, and only have the author’s name without any links?

    #1010330

    Hi,
    To remove the author links I added this function in your functions.php:

    function remove_author_link(){
      ?>
      <script>
      (function($){
      $(document).ready(function(){
      $('.blog-author.minor-meta a').contents().unwrap();
      });
      })(jQuery);
      </script>
      <?php
      }
    add_action('wp_footer', 'remove_author_link');

    Please note that if you want to adjust the author font size & color, you will now need to use this css:

    .blog-author.minor-meta {
    color: red !important;
    font-size: 14px !important; 
    }

    naturally adjust to suit.

    Best regards,
    Mike

    #1010350

    Thank you so much. We’re really great: God bless you.

    #1010382

    Hi,
    Glad we could help, unless there is anything else we can help with on this issue, shall we close this then?

    Best regards,
    Mike

    #1010676

    Yes we can close it, thank you so much.

    #1011216
    This reply has been marked as private.
    #1011331

    Hi brand,

    Could you please clear the cache, check again and get back to us.

    Could you please attach some screenshots of the issue?

    Best regards,
    Victoria

    #1011370
    This reply has been marked as private.
    #1011402

    Hi,
    I took a look at this and it appears to be a glyph,

    which is a one character symbol from your font “Lato” but I’m not sure how it got there, I tried removing the code I posted above but that didn’t help.
    Is there a chance that you edited the post with the default editor and left a space there? Did you paste the content into the post from MS Word or another website?
    I took a look at your post but couldn’t find the glyph and it isn’t in the source code of your post, only on your homepage.
    If you create a new post does this happen again?
    If you create this same post again from scratch does it happen again?

    Best regards,
    Mike

    #1011426
    This reply has been marked as private.
    #1011438

    Hi brand,

    That’s not for the author, that is the place where the excerpts it supposed to show.

    Best regards,
    Victoria

    #1011447

    Thank you Victoria, I’ve fixed it.

    #1011457

    Hi,

    Did you need further help, or shall we close this specific thread?

    Best regards,
    Jordan Shannon

    #1011467

    Now we can close the thread. Thank you.

    #1011469

    Hi,
    Glad Victoria could 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 25 posts - 1 through 25 (of 25 total)
  • The topic ‘Insert Author name in the previews of the articles’ is closed to new replies.