Help with How to Remove a Date Block

Community Forums Forums Design Tips and Tricks Help with How to Remove a Date Block

This topic is: not resolved

This topic contains 4 replies, has 3 voices, and was last updated by  sahdow 1 year, 6 months ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #3864

    winemagazine6180
    Participant

    We have the Genesis Platform and have the Decor theme. There is a date block embedded in the image at the top of the page. We would like to remove the date block entirely as we are using this theme for a quarterly online magazine and not a daily post. How can this be removed?  Website is: http://www.wine-country-magazine.com.

    Thanks!

    Paul

    #3998

    anitac
    Participant
    Post count: 6991

    Install the Genesis Simple Edits and then remove the date – http://www.studiopress.com/plugins/simple-edits.


    Let me help you customize your theme, responsive header, Buddypress, Agentpress or technical issue!
    Visit me here: Cre8tiveDiva.com | Tweet Me! | Plus Me!
    When asking for help, please provide a link or screen shot showing your problem!

    #4000

    winemagazine6180
    Participant

    Thank you for your response.  However, we have already tried the Simple Edits and that doesn’t resolve the issue. The date we want to remove is in the header portion of the design.

     

    #4004

    anitac
    Participant
    Post count: 6991

    Using Firebug – I was able to delete the .post-date and it disappeared. Try the same thing in your style.css file.


    Let me help you customize your theme, responsive header, Buddypress, Agentpress or technical issue!
    Visit me here: Cre8tiveDiva.com | Tweet Me! | Plus Me!
    When asking for help, please provide a link or screen shot showing your problem!

    #12999

    sahdow
    Participant
    Post count: 2

    Find the following in post functions:

    /** Add post image above post title */
    add_action( ‘genesis_before_post_title’, ‘decor_post_image’ );
    function decor_post_image() {

    if ( is_page() ) return;

    if ( $image = genesis_get_image( ‘format=url&size=post-image’ ) ) {
    printf( ‘<a href=”%s” rel=”bookmark” class=”post-photo”><span class=”post-date”>%s</span><img src=”%s” alt=”%s” /></a>’, get_permalink(), do_shortcode( ‘<em>[post_date format="j"]</em>[post_date format="F Y"]‘ ), $image, the_title_attribute( ‘echo=0′ ) );
    }

    }

     

    Change to:

    /** Add post image above post title */
    add_action( ‘genesis_before_post_title’, ‘decor_post_image’ );
    function decor_post_image() {

    if ( is_page() ) return;

    if ( $image = genesis_get_image( ‘format=url&size=post-image’ ) ) {
    printf( ‘<a href=”%s” rel=”bookmark” class=”post-photo”><img src=”%s” alt=”%s” /></a>’, get_permalink(), $image, the_title_attribute( ‘echo=0′ ) );
    }

    }

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

You must be logged in to reply to this topic.