-
AuthorPosts
-
November 19, 2015 at 3:15 pm #539047
Hi Guys!
At first – thanks for great theme! I’m really happy I decided to buy it. :)My problem is;
I choose multi-author blog layout and I choose Elegant blog styling in Enfold Theme Options/Blog Layout . After that featured blog post image links to author page. Both on blog post list and in single post. Isn’t a bug?Regards!
ChrisNovember 19, 2015 at 6:25 pm #539143Hey kwlodar!
Do you mean the gravatars? http://kriesi.at/themes/enfold/blog/blog-multi-author/
The gravatars should be linking to the author page but the featured images should still be linking to the post.
Cheers!
ElliottNovember 19, 2015 at 6:51 pm #539158I agree. Unfortunately it is different. The featured image links to author page. Take a look: https://www.sentime.pl/blog/.
I’ve made no changes in code.
Regards!
ChrisNovember 19, 2015 at 11:40 pm #539271Hi!
The featured images should be displayed on top of the title. Have you done customizations? Let’s try the following.
1. Deactivate all plugins.
2. Completely delete Enfold from your WordPress theme directory before downloading + uploading a fresh copy from themeforest.
Regards,
ElliottNovember 20, 2015 at 1:44 pm #539530Hi,
no, I haven’t done any customizations.
I’ll try to go over your instruction and I’ll let you know.
Thank you!
ChrisNovember 20, 2015 at 1:48 pm #539545November 25, 2015 at 12:01 am #542065Hi,
I deactivated all plugins, removed enfold at all, and uploaded fresh, from themeforest, and the situation is the same.
In the meantime I also switched the domain: https://www.dev.sensity.pl/blog/ (sorry for the ssl issue – it’s dev-site).
Pls help.Regards!
ChrisNovember 26, 2015 at 10:53 am #542973Hi!
May I ask for support?
Regards!November 27, 2015 at 6:37 pm #543771Hey!
Your link is not loading for me. Do we need to login? If so then please send us login information. Be sure to set your reply as private.
I viewed your previous link but it looks like you have the default theme activated and not Enfold.
Regards,
ElliottNovember 28, 2015 at 11:28 pm #544035Hi Elliott,
No, you don’t have to log in, and the link (https://www.dev.sensity.pl/blog/) works fine. The only issue is possible browser warning about the ssl certificate which belongs to sensity.pl domain, and it is not wildcard. You have to ignore the warning.November 29, 2015 at 8:52 am #544093Hi,
Not sure what’s going on there, please send us a temporary admin login so that we can have a closer look. You can post the details in the Private Content section of your reply.
Regards,
RikardNovember 30, 2015 at 10:08 am #544322login data attached.
Pls take a look also at https://www.dev.sensity.pl/o-sensity/aktualnosci/, where thumbnails are on the left are displayed in the wrong way.
December 3, 2015 at 2:32 am #546202Hey!
That’s actually the default behavior when you set the blog style to multi author. If you want the featured image to go to the actual post, modify the includes > loop-index.php file. Look for this line of code then remove it:
Line 125:
$link = get_post_format_link($post_format);
Line 133:
$link = get_author_posts_url($post->post_author);
Regards,
IsmaelFebruary 11, 2018 at 12:51 pm #910738Hi,
that works fine, but now the link on the author-image links to the actual post, too. What is to do, when I want to link the author-image to the author-posts?
Regards,
StefanFebruary 12, 2018 at 12:33 pm #911068Hi,
Thank you for the update. We would like to see the actual setup of the site. Please provide the site url in the private field.
Best regards,
IsmaelFebruary 20, 2018 at 6:41 pm #914952This reply has been marked as private.February 21, 2018 at 5:47 am #915265Hi,
Thank you for the update. Please revert the file back to default. It should work as is. The featured image links to the actual post, author image to the author page. On a single post page, the featured image opens a lightbox.
Best regards,
IsmaelFebruary 25, 2018 at 2:23 pm #917370Hi,
I reverted the file, but now the featured image links to the author page not to the post. Also on the single-post page, the featured Image links to the author page.
Best regards,
StefanFebruary 27, 2018 at 3:32 am #918141Hi,
Thank you for the update. Please provide the login details so that we can do some tests. Make sure that the Appearance > Editor panel is accessible.
Best regards,
IsmaelFebruary 27, 2018 at 3:45 am #918143Hi,
UPDATE: Please edit the includes > loop-index.php file, look for this code around line 195:
if($slider) $slider = '<a href="'.$link.'" title="'.$featured_img_desc.'">'.$slider.'</a>'; if($slider) echo ' <div class="big-preview '.$blog_style.'">'.$slider.'</div> ';
Add this line above the code.
$link = get_the_permalink($the_id);
Best regards,
IsmaelFebruary 27, 2018 at 10:01 pm #918657Hi,
thank you very much, it works nearly perfect, just one last step. On the single post page, the featured image links to the post and do not open the lightbox.
Best regards,
StefanFebruary 28, 2018 at 10:06 am #918898Hi,
Thank you for the update.
Please add the is_single conditional function so that it won’t affect the actual post. Just replace the modification with this.
if( !is_single() ) { $link = get_the_permalink($the_id); }
Best regards,
IsmaelFebruary 28, 2018 at 9:24 pm #919285Hi,
thank you, but that doesn’t work. When I replace the modification with the new code, the featured image has the link to the author-page.
Best Regards
StefanMarch 1, 2018 at 11:57 am #919570Hi,
Please post the login details in the private field so that we can test the modification. Or replace the code with this.
if( !is_single() ) { $link = get_the_permalink($the_id); } else { $link = avia_image_by_id(get_post_thumbnail_id(), 'large', 'url'); }
Best regards,
IsmaelMarch 5, 2018 at 10:31 pm #921866Hi,
that’s it! Works very well. Thank you!
Best Regards
StefanMarch 5, 2018 at 10:39 pm #921880Hey Kulturkomplize,
I’m glad Ismael solution was able to help. If you need additional help please let us know here in the forums.
Best regards,
Jordan Shannon -
AuthorPosts
- The topic ‘Featured image links to author page’ is closed to new replies.