Title: Adding excerpt to billboard
Last modified: August 31, 2016

---

# Adding excerpt to billboard

 *  Resolved [paranthropus](https://wordpress.org/support/users/paranthropus/)
 * (@paranthropus)
 * [10 years ago](https://wordpress.org/support/topic/adding-excerpt-to-billboard/)
 * I recently switch over to justwrite and I (along with my readers) love it.
 * However, some don’t like the way the billboard can push content “below the fold”.
   So I was planning on adding the excerpt (or a subtitle from another plugin) into
   the billboard but can’t seem to figure out how.
 * In other words, where would I stick the code like,
    <?php the_excerpt(); ?> <?
   php get_secondary_title($post_id, $prefix, $suffix); ?> Or something along those
   lines
 * Any help would be appreciated.

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

 *  Theme Author [acosmin](https://wordpress.org/support/users/acosmin/)
 * (@acosmin)
 * [10 years ago](https://wordpress.org/support/topic/adding-excerpt-to-billboard/#post-7314397)
 * you are talking about the slider? AC SEC: Slider?
 *  Thread Starter [paranthropus](https://wordpress.org/support/users/paranthropus/)
 * (@paranthropus)
 * [10 years ago](https://wordpress.org/support/topic/adding-excerpt-to-billboard/#post-7314442)
 * No, just the “billboard” featured image at the top of each post.
 * Ideally, it would look something like [this](http://www.evoanth.net/excerpt/);
   adding in the excerpt (or some other custom field) below the main title.
 * I can already achieve this effect with plugins (hence how I made that screenshot)
   but these stick the “subtitle” everywhere the title appears. I’d like it just
   to appear on the posts themselves.
 *  Theme Author [acosmin](https://wordpress.org/support/users/acosmin/)
 * (@acosmin)
 * [10 years ago](https://wordpress.org/support/topic/adding-excerpt-to-billboard/#post-7314447)
 * You can open `/post-templates/layouts/layout-cover.php` and right bellow:
 * `the_title( '<h2 class="title">', '</h2>' );`
 * add:
 *     ```
       ?><header class="details clearfix" style="margin-bottom: 1em;">
       <span class="detail left"><em><?php the_excerpt(); ?></em></span></header><br /><?php
       ```
   
 * You can then set the excerpt when you edit the post, as you normally do.
 *  Thread Starter [paranthropus](https://wordpress.org/support/users/paranthropus/)
 * (@paranthropus)
 * [10 years ago](https://wordpress.org/support/topic/adding-excerpt-to-billboard/#post-7314448)
 * Thanks, that worked perfectly.
 * It did add a weirdly formatted jetpack “like box” but turning off the feature
   in jetpack disabled that. Since I don’t really care about the like box I didn’t
   mind turning the whole thing off. It might just be something to consider if you’re
   ever dealing with this again.
 *  Theme Author [acosmin](https://wordpress.org/support/users/acosmin/)
 * (@acosmin)
 * [10 years ago](https://wordpress.org/support/topic/adding-excerpt-to-billboard/#post-7314450)
 * You can also try something like:
 *     ```
       if( '' != get_the_excerpt()) { ?><header class="details clearfix" style="margin-bottom: 1em;">
       <span class="detail left"><em><?php the_excerpt(); ?></em></span></header><br /><?php };
       ```
   
 * In case you don’t have an excerpt set, it will not show an empty space…
 * Don’t forget to leave a review 🙂 if you really like the theme.

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

The topic ‘Adding excerpt to billboard’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/justwrite/2.0.3.6/screenshot.png)
 * JustWrite
 * [Support Threads](https://wordpress.org/support/theme/justwrite/)
 * [Active Topics](https://wordpress.org/support/theme/justwrite/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/justwrite/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/justwrite/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [acosmin](https://wordpress.org/support/users/acosmin/)
 * Last activity: [10 years ago](https://wordpress.org/support/topic/adding-excerpt-to-billboard/#post-7314450)
 * Status: resolved