• Resolved sethhall

    (@sethhall)


    I installed the Nomad theme – https://topwpthemes.com/nomad/ and my posts featured images and the slider is not working for me.

    I have looked through some other thread and documentation about WP but I have 0 experience with it so not sure where else to look. I have confirmed my functions.php has the following:

    /* FEATURED THUMBNAILS */
    
    if ( function_exists( 'add_theme_support' ) ) { // Added in 2.9
    	add_theme_support( 'post-thumbnails' );
    
    }

    I’ve looked at my page.php, index.php, single.php, index-slide.php, and theme_options.php but see no calls to get thumbnail or use featured image. The theme has a video that shows how to attach a featured image and I’ve followed it except for the portion where their video has size options and my WP install doesnt seem to have those.

Viewing 1 replies (of 1 total)
  • Thread Starter sethhall

    (@sethhall)

    I also tried other sources for support and a guy on /r/wordpress informed me that the the_post_thumbnail function outputs all img and src tags I need. So I was simply appending it to the src tag that was there and it was causing issues. So now I just use:

    <img class="postimg"
    <?php the_post_thumbnail('medium'); ?>

    and I’m golden.

Viewing 1 replies (of 1 total)
  • The topic ‘Featured images are not showing with Nomad theme’ is closed to new replies.