WordPress.org

Ready to get started?Download WordPress

Forums

Featured Image not showing up - ColdStone (Elegant Themes) (3 posts)

  1. mpablo
    Member
    Posted 1 year ago #

    My featured image is not showing up on the front page or on the posts.

    The media library is working, and I tried disabling all the plugins to see if it was that and it wasn't.

    I'm using the coldstone theme from elegant wordpress themes.

    Here is my site:
    http://www.matthewpablo.com

    I haven't been able to fix the problem and I've been searching for a couple days now for a fix and nothing seems to work that I've tried. I have installed a clean version of my theme.

    Here is my functions.php

    <?php
    add_action( 'after_setup_theme', 'et_setup_theme' );
    if ( ! function_exists( 'et_setup_theme' ) ){
    	function et_setup_theme(){
    		require_once(TEMPLATEPATH . '/epanel/custom_functions.php'); 
    
    		require_once(TEMPLATEPATH . '/includes/functions/comments.php'); 
    
    		require_once(TEMPLATEPATH . '/includes/functions/sidebars.php'); 
    
    		load_theme_textdomain('ColdStone',get_template_directory().'/lang');
    
    		require_once(TEMPLATEPATH . '/epanel/options_coldstone.php');
    
    		require_once(TEMPLATEPATH . '/epanel/core_functions.php'); 
    
    		require_once(TEMPLATEPATH . '/epanel/post_thumbnails_coldstone.php');
    
    		include(TEMPLATEPATH . '/includes/widgets.php');
    	}
    }
    
    add_theme_support( 'post-thumbnails' ); 
    
    add_action('wp_head','et_portfoliopt_additional_styles',100);
    function et_portfoliopt_additional_styles(){ ?>
    	<style type="text/css">
    		#et_pt_portfolio_gallery { margin-left: -38px; }
    		.et_pt_portfolio_item { margin-left: 22px; }
    		.et_portfolio_small { margin-left: -40px !important; }
    		.et_portfolio_small .et_pt_portfolio_item { margin-left: 32px !important; }
    		.et_portfolio_large { margin-left: -24px !important; }
    		.et_portfolio_large .et_pt_portfolio_item { margin-left: 11px !important; }
    	</style>
    <?php }
    
    function register_main_menus() {
    	register_nav_menus(
    		array(
    			'primary-menu' => __( 'Primary Menu' ),
    			'secondary-menu' => __( 'Secondary Menu' )
    		)
    	);
    };
    if (function_exists('register_nav_menus')) add_action( 'init', 'register_main_menus' );
    
    if ( ! function_exists( 'et_list_pings' ) ){
    	function et_list_pings($comment, $args, $depth) {
    		$GLOBALS['comment'] = $comment; ?>
    		<li id="comment-<?php comment_ID(); ?>"><?php comment_author_link(); ?> - <?php comment_excerpt(); ?>
    	<?php }
    } ?>
  2. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    Have you asked Elegant Themes about this? These forums don't support commercial themes so they'd be the ones to ask.

  3. mpablo
    Member
    Posted 1 year ago #

    Oh, I will do that. But maybe this issue is outside of that?

Topic Closed

This topic has been closed to new replies.

About this Topic