Hi, I am also using Tortuga theme but for now I am not setting featured images on the posts. However, I do on another site with a different theme. I also stumbled upon on the issue you have on that theme.
I wrote here how to fix it http://learnedia.com/customize-colormag-wp-theme/
You might find it useful and apply the same solution to Tortuga theme. If you do, please let me know.
Regards
Thread Starter
bigtnt
(@bigtnt)
Thanks learnrr, unfortunately in case of tortuga theme there is no reference to featured images in content.php
I don’t speak php any good haha. I will throw you whole content.php and maybe you will be able to figure this out 🙂
The template for displaying articles in the loop with full content:
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<?php merlin_post_image_archives(); ?>
<header class="entry-header">
<?php the_title( sprintf( '<h2 class="entry-title"><a href="%s" rel="bookmark">', esc_url( get_permalink() ) ), '</a></h2>' ); ?>
<?php merlin_entry_meta(); ?>
</header><!-- .entry-header -->
<div class="entry-content clearfix">
<?php the_content( esc_html__( 'Read more', 'merlin' ) ); ?>
</div><!-- .entry-content -->
<footer class="entry-footer">
<?php merlin_entry_footer(); ?>
</footer><!-- .entry-footer -->
</article>
In this case it will be probably prat:
<?php merlin_post_image_archives(); ?>
that gets images to be displayed, but I can’t figure out where and how those are stored.
I will take a deeper look into this later this afternoon.
Regards
Hey bigtnt, I took a quick glance and it seems to me that the function you need to modify resides in the /inc/template-tags.php file
It is the tortuga_post_image_single() function that is called in the content-single.php file
Let me know if you manage to solve the issue, I might deal with it also next week
Regards