Seems like post format have gone wild with JumpStart 1.1.0. Wonder if anyone can reproduce.
I use default theme for test + default a child theme, “stretched”. Sample content imported.
Added theme support for post format, then the snippet from doc http://dev.themeblvd.com/tutorial/incorporating-post-formats/
content-link.php can be this
<?php /** * What ever */ ?> <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> <br /> <div class="entry-content"> <?php the_content(); ?> </div><!-- .entry-content --> <div class="clear"></div> <?php edit_post_link( themeblvd_get_local( 'edit_page' ), '<p class="edit-link clearfix">', '</p>' ); ?> </article><!-- #post-<?php the_ID(); ?> -->
Post format does work but in my example it mess up other posts. For example in an archive view where there is a “link” post supposed to have no title – all posts loose title. Because all posts get “Template Part: content-link.php” applied. This is from a plugin adding that inline code but nm. that.
Same result when index.php is used, like on front/home page.
As if JumpStart cant correctly identify what is what.
is_object($post)not good enough?
Code from doc might work but is overruled by something new in 1.1.0?
I just tried something. Deleted Jumpstart folder, uploaded 1.0.2 and all works. content-link.php applied when it should! I am suspicious towards 1.1.0 now 😉
Front page displays set to “latest posts”
In Jumpstart “Homepage Content” set to posts.
- You must be logged in to reply to this topic.