• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

WP SITES

2665

Original Genesis Tutorials & 5000+ Guaranteed Code

Snippets

  • Support
  • Newsletter
  • Videos
  • Log in

Premium Member? - Request custom code

Move Entry Title After Post Info On Home Page

Found a question recently on the forums which should help you understand how easy it is to customize your home page.

Note: This code only works in a home.php file.

Basically the question relates to repositioning the entry title after the post info and aligned right of the featured image on the home page.

Here’s the before shot:

default home page

Here’s the result the code on this page produces:

archive page customization

Code Installation

The PHP code in the Gist labelled home.php should be copied from the view raw link and pasted into a new file you can create using a text editor like Notepad++. Upload the new file to the root directory of your child theme.

The PHP code in the Gist labelled functions.php should be copied from the view raw link and pasted at the end of your child themes functions.php file.

Use on Archives – More Flexible Solution

Use this code which repositions entry titles inline with your featured image on other archives.

Entry Meta

Reader Interactions

Comments

  1. mjp says

    April 21, 2014 at 8:33 pm

    This is great — can it be customized for different custom post types?

    That is, I have two different CPT archive pages. I’d like to do this for one and not the other.

    Log in to Reply
    • Brad Dalton says

      April 22, 2014 at 3:55 am

      Conditional tags are the key after the function

      Log in to Reply

Leave a Reply Cancel reply

You must be logged in to post a comment.

Primary Sidebar

PHP Code

template_include

get_body_class

if else

array

class_exists

foreach

sprintf

add_action

printf

variable

Advertise · WPEngine · Genesis · Log in

  • How Premium Membership Works
  • Sign Up
  • Support
  • Subscription Details/Invoice
  • Tagged Tutorials
  • Access-Download Problems