Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter inkyinkz

    (@inkyinkz)

    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

    (@bassgang)

    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?

    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

    (@bassgang)

    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 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)

    I am using a Premium Theme from SoloStream. So yes same issues.

    Plugin Author Paul Vincent Beigang

    (@bassgang)

    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.