PetrrrP
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Ascent] Featured image in excerpts showing only on main pageHi,
to show featured images everywhere (search, category pages, archives…) you have to change content.php file. If you are at least little familiar with PHP, it is quite straightforward when you read the code, if not, there is step by step tutorial which worked for me.In content.php file delete line 73 and then all code between lines 38-45.
If you want the featured image to link to the post, not the image, you have to change the line (line 55 in original file):
<a class="swipebox" href="<?php echo $full_image_url; ?>" title="<?php the_title(); ?>">
to:
<a class="swipebox" href="<?php the_permalink(); ?>" title="<?php the_title(); ?>">
I have just tried it on theme version 2.0.3. and it seems to work fine.Forum: Themes and Templates
In reply to: [Ascent] Featured image in excerpts showing only on main pageWell, with no reply I had to figure it out myself even with my limited knowledge of PHP. Only minor change to content.php file has to be done and featured images will show everywhere.
@photocrati Hi, OK, I can start a new toppic, but it is still the same issue – NGG pagination not working with Polylang plugin. You say problem is in polylang, Polylang says bug is in NGG. I can not judge. The problem was resolved (@Yuri Abramenkov) here changing core NGG files, but in my case it does not work any more after the last update. I am sure I am not the only one having this issue.
Best regards, PetrP. (I can not provide url to my site asi it is not online yet.)
Hi all, I have succesfully used the tweak suggested vy Yuri above, but after latest update of NGG it does not work any more – the pagination not working with or without change in that PHP file. Any ideas before I try to downgrade the NGG? Thanks, Petr.