• I love the Origin theme! I notice that featured images don’t display at the top of Pages the way they do in Posts. Is there any way to enable them for Pages?

Viewing 4 replies - 1 through 4 (of 4 total)
  • This is strictly a hack – in every sense of the word. Try it at your own will, and please make backups of files you intend to edit, before you edit. ??

    Open page.php, and place this directly under <div class="entry-content"> located on line 34.

    <?php if ( current_theme_supports( 'get-the-image' ) ) get_the_image( array( 'meta_key' => 'Thumbnail', 'size' => 'single-thumbnail', 'link_to_post' => false, 'image_class' => 'featured', 'attachment' => false ) ); ?>

    Absolutely no guarantee, entirely off the cuff, and a knee-jerk edit. More may be required depending on the themes page features.

    Thread Starter dgodot

    (@dgodot)

    Works! Thanks ??

    Where do I inset the code?

    Theme Author Griden

    (@griden)

    Copy page.php to a child theme first. Then you can edit it. Otherwise, the next theme update will restore everything to its original state.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Enable Featured Images on Pages in Origin Theme?’ is closed to new replies.