• Hello,

    We have used the https://ignitiondeck.com plugin, and we have created a custom page to display all the projects, however, we want to add thumbnails/featured image display to the project page, how could we do that?

    Also, when adding a project, it does not have the Featured Image Option on the admin sidebar, how could we add it?

    Here is the custom Page we have:

    <?php
    /*
    Template Name: Projects
    */
    ?>
    <?php get_header(); ?>
    
                        <?php $loop = new WP_Query( array( 'post_type' => 'projects', 'posts_per_page' => 10 ) ); ?>
    
    					<?php while ( $loop->have_posts() ) : $loop->the_post(); ?>
                                    <div class="invest_thumb">
                                        <?php
    										if ( has_post_thumbnail() ) { ?>
    											<a href="<?php the_permalink() ?>"><?php the_post_thumbnail(); ?></a>
    										<?php } else { ?>
    											<a href="<?php the_permalink() ?>"><img src="<?php bloginfo('template_directory') ;?>/i/post-no-img.png" alt=" "/></a>
    										<?php }
    									?>
                                    </div>
                                    <div class="investment_info">
                                        <h2><?php the_title() ?></h2>
                                        <?php the_content(); ?>
                                    </div>
                        <?php endwhile; ?>
    
    <?php get_footer(); ?>

    Anticipating for a good idea on how to do this features.

    Thanks

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Custom Post Type Thumbnails’ is closed to new replies.