• webspotco

    (@webspotco)


    Hey,

    I’ve installed a theme however I’m getting a php issue that I don’t know how to fix, if anyone could help me that would be great!!

    Fatal error: Call to undefined function blank_theme_categorized_blog() in /home/hotnewfeed/public_html/wp-content/themes/hot-new-feed/content.php on line 39

    It’s definitely a problem with posts as when I remove all posts there is no error.

    website link: http://hotnewfeed.com

Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator Jose Castaneda

    (@jcastaneda)

    THEME COFFEE MONKEY

    It appears to be a theme related issue. Have you tried contacting the theme’s author about it?

    Thread Starter webspotco

    (@webspotco)

    I cannot get in touch with him, if anyone can help that would be great, I can reply fast and give you what you need!

    Thread Starter webspotco

    (@webspotco)

    <?php
    /**
     * @package blank_theme
     */
    ?>
    
    <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
    	<header class="entry-header">
    		<h1 class="entry-title"><a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a></h1>
    
    		<?php if ( 'post' == get_post_type() ) : ?>
    		<div class="entry-meta">
    			<?php hot_new_feed_posted_on(); ?>
    		</div><!-- .entry-meta -->
    		<?php endif; ?>
    	</header><!-- .entry-header -->
    
    	<?php if ( is_search() ) : // Only display Excerpts for Search ?>
    	<div class="entry-summary">
    		<?php the_excerpt(); ?>
    	</div><!-- .entry-summary -->
    	<?php else : ?>
    	<div class="entry-content">
    		<?php the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'blank_theme' ) ); ?>
    		<?php
    			wp_link_pages( array(
    				'before' => '<div class="page-links">' . __( 'Pages:', 'blank_theme' ),
    				'after'  => '</div>',
    			) );
    		?>
    	</div><!-- .entry-content -->
    	<?php endif; ?>
    
    	<footer class="entry-meta">
    		<?php if ( 'post' == get_post_type() ) : // Hide category and tag text for pages on Search ?>
    			<?php
    				/* translators: used between list items, there is a space after the comma */
    				$categories_list = get_the_category_list( __( ', ', 'blank_theme' ) );
    				if ( $categories_list && blank_theme_categorized_blog() ) :
    			?>
    			<span class="cat-links">
    				<?php printf( __( 'Posted in %1$s', 'blank_theme' ), $categories_list ); ?>
    			</span>
    			<?php endif; // End if categories ?>
    
    			<?php
    				/* translators: used between list items, there is a space after the comma */
    				$tags_list = get_the_tag_list( '', __( ', ', 'blank_theme' ) );
    				if ( $tags_list ) :
    			?>
    			<span class="tags-links">
    				<?php printf( __( 'Tagged %1$s', 'blank_theme' ), $tags_list ); ?>
    			</span>
    			<?php endif; // End if $tags_list ?>
    		<?php endif; // End if 'post' == get_post_type() ?>
    
    		<?php if ( ! post_password_required() && ( comments_open() || '0' != get_comments_number() ) ) : ?>
    		<span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'blank_theme' ), __( '1 Comment', 'blank_theme' ), __( '% Comments', 'blank_theme' ) ); ?></span>
    		<?php endif; ?>
    
    		<?php edit_post_link( __( 'Edit', 'blank_theme' ), '<span class="edit-link">', '</span>' ); ?>
    	</footer><!-- .entry-meta -->
    </article><!-- #post-## -->

    This is the content.php file

    Thread Starter webspotco

    (@webspotco)

    Can anyone help?

    Moderator Jose Castaneda

    (@jcastaneda)

    THEME COFFEE MONKEY

    Please try not to bump your thread. http://codex.ww.wp.xz.cn/Forum_Welcome#No_Bumping

    Where did you get the theme from? I tried doing a simple search but turned out quite a few “blank” themes. Unfortunately as I mentioned it is a theme related issue so you may have to wait for the theme author to respond or if it is urgent you can try posting on the http://jobs.wordpress.net site and possibly hire somebody.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Call to undefined function’ is closed to new replies.