-
AuthorPosts
-
September 13, 2018 at 11:17 am #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 youSeptember 13, 2018 at 4:41 pm #1009499Hey 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,
NikkoSeptember 13, 2018 at 4:46 pm #1009507in 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
September 14, 2018 at 5:25 am #1009798Hi,
To add the author to the blog grid, please see this post.Best regards,
MikeSeptember 14, 2018 at 12:23 pm #1009878unfortunately I can not find the code around line 498 in the postslider.php file
- This reply was modified 6 years, 2 months ago by brand.
September 15, 2018 at 3:18 pm #1010138Hi,
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,
MikeSeptember 15, 2018 at 5:01 pm #1010175I’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.
September 15, 2018 at 6:07 pm #1010202Hi,
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,
MikeSeptember 15, 2018 at 9:03 pm #1010256Thank 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?September 15, 2018 at 10:25 pm #1010263Hi,
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,
MikeSeptember 15, 2018 at 11:41 pm #1010276The 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?
September 16, 2018 at 10:06 am #1010330Hi,
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,
MikeSeptember 16, 2018 at 11:12 am #1010350Thank you so much. We’re really great: God bless you.
September 16, 2018 at 12:24 pm #1010382Hi,
Glad we could help, unless there is anything else we can help with on this issue, shall we close this then?Best regards,
MikeSeptember 17, 2018 at 10:56 am #1010676Yes we can close it, thank you so much.
September 18, 2018 at 11:51 am #1011216This reply has been marked as private.September 18, 2018 at 3:10 pm #1011331Hi 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,
VictoriaSeptember 18, 2018 at 4:19 pm #1011370This reply has been marked as private.September 18, 2018 at 5:21 pm #1011402Hi,
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,
MikeSeptember 18, 2018 at 5:46 pm #1011426This reply has been marked as private.September 18, 2018 at 6:06 pm #1011438Hi brand,
That’s not for the author, that is the place where the excerpts it supposed to show.
Best regards,
VictoriaSeptember 18, 2018 at 6:30 pm #1011447Thank you Victoria, I’ve fixed it.
September 18, 2018 at 7:10 pm #1011457Hi,
Did you need further help, or shall we close this specific thread?
Best regards,
Jordan ShannonSeptember 18, 2018 at 7:30 pm #1011467Now we can close the thread. Thank you.
September 18, 2018 at 7:37 pm #1011469Hi,
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 -
AuthorPosts
- The topic ‘Insert Author name in the previews of the articles’ is closed to new replies.