WordPress.org

Ready to get started?Download WordPress

Forums

Help make images/video visable on post-entry (2 posts)

  1. AJB87
    Member
    Posted 2 years ago #

    Hey, I'm currently editing a new theme I have installed called 'CleanMag' and I have run into some issues that I would really need some help with.

    The main page post entry's doesn't show videos/or pictures (only the featured image), what I need to know is how to change it so you can view images/videos/media on the main page without clicking the individual post.

    I have done some searching all night but can't find the correct solution.

    the index.php looks like this :

    <?php
    /**
     * @package WordPress
     * @subpackage CleanMag Theme
     */
    $options = get_option( 'cleanmag_theme_settings' );
    ?>
    <?php get_header(' '); ?>
    
    <div class="grid_17 alpha">
    <?php
    //start main loop here
    if (have_posts()) : ?>
    <?php get_template_part( 'post' , 'entry') ?>
    <?php endif; ?>
    
    <?php
    // include pagination
    if (function_exists("pagination")) { pagination($additional_loop->max_num_pages); } ?>
    
    </div>
    <!-- END grid_17 -->
    <?php get_sidebar(' '); ?>
    <?php get_footer(' '); ?>
  2. esmi
    Forum Moderator
    Posted 2 years ago #

    Try looking in post.php or post-entry.php.

Topic Closed

This topic has been closed to new replies.

About this Topic