Title: Custom post type not working
Last modified: August 21, 2016

---

# Custom post type not working

 *  Resolved [inkyinkz](https://wordpress.org/support/users/inkyinkz/)
 * (@inkyinkz)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/custom-post-type-not-working-3/)
 * Custom post type doesn’t appear after installation. running latest version of
   wordpress.
 * [http://wordpress.org/plugins/advent-calender/](http://wordpress.org/plugins/advent-calender/)

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

 *  Thread Starter [inkyinkz](https://wordpress.org/support/users/inkyinkz/)
 * (@inkyinkz)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/custom-post-type-not-working-3/#post-4368945)
 * Fatal error: Call to undefined function twentythirteen_entry_meta() in E:\Program
   Files\wamp\www\kate\wp-content\plugins\advent-calender\public\views\single-advent-
   calendar-entry.php on line 37
 *  Plugin Author [Paul Vincent Beigang](https://wordpress.org/support/users/bassgang/)
 * (@bassgang)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/custom-post-type-not-working-3/#post-4369009)
 * What version is the latest, please name it by version number, makes it easier
   to help.
    What theme are you using? Just remove line 37 from “advent-calender\
   public\views\single-advent-calendar-entry.php”.
 * Does it help?
 *  [boborg](https://wordpress.org/support/users/boborg/)
 * (@boborg)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/custom-post-type-not-working-3/#post-4369164)
 * If you are not using the twentythirteen theme you could just make a single-advent-
   calendar-entry.php version of your theme single.php. I think only this is needed`
   <?php if ( has_post_thumbnail() && ! post_password_required() ) : ?>
    <div class
   =”entry-thumbnail”> <?php the_post_thumbnail( ‘advent-calendar-full-image’ );?
   >`
 *  Plugin Author [Paul Vincent Beigang](https://wordpress.org/support/users/bassgang/)
 * (@bassgang)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/custom-post-type-not-working-3/#post-4369165)
 * And if you want to display the title you need also the part to display the custom
   post type title:
 *     ```
       <?php if ( is_single() ) : ?>
       	<h1 class="entry-title">
       		<?php the_title(); ?> </h1>
       <?php else : ?>
       	<h1 class="entry-title">
       		<a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a>
       		</h1>
       <?php endif; // is_single() ?>
       ```
   
 * Thanks [@boborg](https://wordpress.org/support/users/boborg/) for the help, what
   theme are you using? Did you had the same problem? I think I should add some 
   notes about how to use the plugin in a theme which is not twentythirteen (copy
   the own single template to the plugin ones and make sure to include title and
   thumbnail output)
 *  [boborg](https://wordpress.org/support/users/boborg/)
 * (@boborg)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/custom-post-type-not-working-3/#post-4369167)
 * I am using a Premium Theme from SoloStream. So yes same issues.
 *  Plugin Author [Paul Vincent Beigang](https://wordpress.org/support/users/bassgang/)
 * (@bassgang)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/custom-post-type-not-working-3/#post-4369222)
 * Released Advent calendar version 1.0.2 which fixes this issue.

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

The topic ‘Custom post type not working’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/advent-calender_ffffff.svg)
 * [Advent Calendar](https://wordpress.org/plugins/advent-calender/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/advent-calender/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/advent-calender/)
 * [Active Topics](https://wordpress.org/support/plugin/advent-calender/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/advent-calender/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/advent-calender/reviews/)

 * 6 replies
 * 3 participants
 * Last reply from: [Paul Vincent Beigang](https://wordpress.org/support/users/bassgang/)
 * Last activity: [12 years, 6 months ago](https://wordpress.org/support/topic/custom-post-type-not-working-3/#post-4369222)
 * Status: resolved