Custom Post Type Move Heading

Community Forums Forums Design Tips and Tricks Custom Post Type Move Heading

This topic is: resolved

This topic contains 1 reply, has 1 voice, and was last updated by  Scott Buehler 2 years ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #69909

    Scott Buehler

    Hey guys, I need assistance in moving the heading in my Custom Post Type. Currently I have

    I hope this is OK, but I attached an image on Google Plus Genesis Community to show what I want it to look like in the end.

    Can anyone assist?

    This is my template so far:

     * Featured Social Toolchest Tools
    // Text on top of page
    add_action( 'genesis_before_content', 'text_top' );
    function text_top() {
    <div id="featured">
      <h2>Featured Must-Have Social Media Tools</h2>
      <p>Intro text here</p>
    // Force full width content layout
    add_filter( 'genesis_pre_get_option_site_layout', '__genesis_return_full_width_content' );
    //* Modify the length of post excerpts
    add_filter( 'excerpt_length', 'sp_excerpt_length' );
    function sp_excerpt_length( $length ) {
    return 200; // pull first 50 words
    //* Remove the post meta function "Filed Under" WORKS
    remove_action( 'genesis_entry_footer', 'genesis_post_meta' );
    //* Remove the entry meta in the entry header "By Author and Date" WORKS
    remove_action( 'genesis_entry_header', 'genesis_post_info', 12 );
    //* Remove the entry header markup "removes line under title" WORKS
    remove_action( 'genesis_entry_header', 'genesis_entry_header_markup_open', 5 );
    remove_action( 'genesis_entry_header', 'genesis_entry_header_markup_close', 15 );
    //* Remove Post Last Modified Function WORKS
    remove_action( 'genesis_entry_footer', 'last_modified' );
    // Change the sort/orderby
    add_action('genesis_before_loop', 'stc_before_loop');
    function stc_before_loop () {
            global $query_string;
            query_posts( wp_parse_args( $query_string, array( 'post_type' => 'featured', 'posts_per_page'=>20, 'orderby'=>'title','order'=>'ASC') ) );

    TygrScott on Social Media

    Scott Buehler

    I was able to fix what I needed with

    //* Move Featured Image Before Entry Title
    remove_action( 'genesis_entry_content', 'genesis_do_post_image', 8 );
    add_action( 'genesis_entry_header', 'genesis_do_post_image', 3 );

    Thanks to:

    TygrScott on Social Media

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘Custom Post Type Move Heading’ is closed to new replies.