Adding post date and author below post title

Community Forums Forums Design Tips and Tricks Adding post date and author below post title

This topic is: not resolved

This topic contains 9 replies, has 2 voices, and was last updated by  Anita 1 year, 8 months ago.

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #3877

    lorena
    Participant
    Post count: 4

    Hi. I’d like to add the post date and title to my posts. I like the way it shows up on LiveYourLegend.net. I’ve got the Add to Post plugin but I need help with the coding. Thanks.

    #3899

    Anita
    Participant
    Post count: 7565

    Look at this to see if this will help you – http://www.studiopress.com/plugins/simple-edits.


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

    #3910

    lorena
    Participant
    Post count: 4

    Thanks! I think this will work great- but the changes haven’t taken effect yet. About 20 minutes later. Any ideas?

    #3926

    Anita
    Participant
    Post count: 7565

    I see changes. I see you added your Twitter ID on there. Your site looks really nice. Great job.


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

    #9039

    lorena
    Participant
    Post count: 4

    I need some more help here. I still can’t see my post date, comments or the twitter ID. I can sort of see it in my Triberr feed but not actually displaying on my site. I can tell that anitac can see it but why can’t I? Could there be a conflict? Would there be another way to do this?

     

    Thanks,

    Lorena

    #9056

    Anita
    Participant
    Post count: 7565

    I think I erred. I went to http://liveyourlegend.net/ which is not your site. Post the link to your site so I can take a look.


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

    #9067

    lorena
    Participant
    Post count: 4

    My site is bigstatebiglife.com

     

    Thanks,

    Lorena

    #9071

    Anita
    Participant
    Post count: 7565

    Did you modify your functions.php, home.php, or your style.css files?


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

    #9085

    lorena
    Participant
    Post count: 4

    I have made a few modifications- the only manual one was to my style.css. I’ve included them all. Thanks for the help.

    Here is my style.css:

    #optin2 {
    background: #cfcfce url(‘images/gloss.png’) no-repeat bottom center;
    border: 3px solid #6c6c6c;
    color: #fff;
    padding: 20px 15px;
    text-shadow: 1px 1px #111;
    width: 60%;
    }

    #optin2 input {
    border: 1px solid #585858;
    font-size: 15px;
    margin-bottom: 10px;
    padding: 8px 10px;
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    box-shadow: 0 2px 2px #5a5a5a;
    -moz-box-shadow: 0 2px 2px #5a5a5a;
    -webkit-box-shadow: 0 2px 2px #5a5a5a;
    }

    #optin2 input.email {
    background: #fff url(‘images/email.png’) no-repeat 10px center;
    padding-left: 35px;
    }

    #optin2 input.name {
    background: #fff url(‘images/name.png’) no-repeat 10px center;
    padding-left: 35px;
    }

    #optin2 input[type="submit"] {
    background: #f6640e url(‘images/orange.png’) repeat-x top center;
    border: 1px solid #a44913;
    color: #fff;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    padding-left: 35px 0;
    text-shadow: -1px -1px #562806;
    text-transform: uppercase;
    width: 30%;
    }

    #optin2 input[type="submit"]:hover {
    color: #ffdeb3;
    }

    #optinsidebar {
    background: #cfcfce url(‘images/gloss.png’) no-repeat bottom center;
    border: 3px solid #6c6c6c;
    color: #fff;
    padding: 20px 15px;
    text-shadow: 1px 1px #111;
    width: 70%;
    }

    #optinsidebar input {
    border: 1px solid #585858;
    font-size: 15px;
    margin-bottom: 10px;
    padding: 8px 10px;
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    box-shadow: 0 2px 2px #5a5a5a;
    -moz-box-shadow: 0 2px 2px #5a5a5a;
    -webkit-box-shadow: 0 2px 2px #5a5a5a;
    }

    #optinsidebar input.email {
    background: #fff url(‘images/email.png’) no-repeat 10px center;
    padding-left: 25px;
    }

    #optinsidebar input.name {
    background: #fff url(‘images/name.png’) no-repeat 10px center;
    padding-left: 25px;
    }

    #optinsidebar input[type="submit"] {
    background: #f6640e url(‘images/orange.png’) repeat-x top center;
    border: 1px solid #a44913;
    color: #fff;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    padding: 8px 0;
    text-shadow: -1px -1px #562806;
    text-transform: uppercase;
    width: 60%;
    }

    #optin2 input[type="submit"]:hover {
    color: #ffdeb3;
    }

    #header {
    background: url(“http://bigstatebiglife.com/wp-content/themes/eleven40/images/headerimage.png”) no-repeat scroll center top transparent;
    }

     

     

    Function.php:

     

    <?php
    /** Start the engine */
    require_once( get_template_directory() . ‘/lib/init.php’ );

    /** Add support for custom header **/
    add_theme_support( ‘genesis-custom-header’, array( ‘width’ => 1024, ‘height’ => 300 ) );

    /** Child theme (do not remove) */
    define( ‘CHILD_THEME_NAME’, ‘eleven40 theme’ );
    define( ‘CHILD_THEME_URL’, ‘http://www.studiopress.com/themes/eleven40′ );

    /** Create additional color style options */
    add_theme_support( ‘genesis-style-selector’, array( ‘eleven40-blue’ => ‘Blue’, ‘eleven40-green’ => ‘Green’, ‘eleven40-red’ => ‘Red’ ) );

    /** Add support for structural wraps */
    add_theme_support( ‘genesis-structural-wraps’, array( ‘header’, ‘nav’, ‘subnav’, ‘inner’, ‘footer-widgets’, ‘footer’ ) );

    /** Add new image sizes */
    add_image_size( ‘grid-thumbnail’, 270, 100, TRUE );

    /** Add Viewport meta tag for mobile browsers */
    add_action( ‘genesis_meta’, ‘eleven40_viewport_meta_tag’ );
    function eleven40_viewport_meta_tag() {
    echo ‘<meta name=”viewport” content=”width=device-width, initial-scale=1.0″/>’;
    }

    /** Add the page title section */
    add_action( ‘genesis_before_content_sidebar_wrap’, ‘eleven40_page_title’ );
    function eleven40_page_title() {
    genesis_widget_area( ‘page-title’, array(
    ‘before’ => ‘<div class=”page-title widget-area”>’,
    ) );
    }

    /** Add the after post section */
    add_action( ‘genesis_after_post_content’, ‘eleven40_after_post’ );
    function eleven40_after_post() {
    if ( ! is_singular( ‘post’ ) )
    return;
    genesis_widget_area( ‘after-post’, array(
    ‘before’ => ‘<div class=”after-post widget-area”>’,
    ) );
    }

    /** Add 3-column footer widgets */
    add_theme_support( ‘genesis-footer-widgets’, 3 );

    /** Register widget areas */
    genesis_register_sidebar( array(
    ‘id’ => ‘page-title’,
    ‘name’ => __( ‘Page Title’, ‘eleven40′ ),
    ‘description’ => __( ‘This is the page title section.’, ‘eleven40′ ),
    ) );
    genesis_register_sidebar( array(
    ‘id’ => ‘after-post’,
    ‘name’ => __( ‘After Post’, ‘eleven40′ ),
    ‘description’ => __( ‘This is the after post section.’, ‘eleven40′ ),
    ) );

    /** Modify the speak your mind text */
    add_filter( ‘genesis_comment_form_args’, ‘custom_comment_form_args’ );
    function custom_comment_form_args($args) {
    $args['title_reply'] = ‘Leave a Comment’;
    return $args;
    }

    /** Customize the post meta function */
    add_filter( ‘genesis_post_meta’, ‘post_meta_filter’ );
    function post_meta_filter($post_meta) {
    if (!is_page()) {
    $post_meta = ”;
    return $post_meta;
    }}

     

     

    and home.php

     

    <?php

    remove_action( ‘genesis_loop’, ‘genesis_do_loop’ );
    add_action( ‘genesis_loop’, ‘eleven40_grid_loop_helper’ );
    /** Add support for Genesis Grid Loop */
    function eleven40_grid_loop_helper() {

    if ( function_exists( ‘genesis_grid_loop’ ) ) {
    genesis_grid_loop( array(
    ‘features’ => 1,
    ‘feature_image_size’ => 0,
    ‘feature_image_class’ => ‘alignleft post-image’,
    ‘feature_content_limit’ => 0,
    ‘grid_image_size’ => ‘grid-thumbnail’,
    ‘grid_image_class’ => ‘alignnone’,
    ‘grid_content_limit’ => 250,
    ‘more’ => __( ‘[Continue reading]‘, ‘genesis’ ),
    ‘posts_per_page’ => 5,
    ) );
    } else {
    genesis_standard_loop();
    }

    }

    genesis();

    #9094

    Anita
    Participant
    Post count: 7565

    I think it has to do with your “Customize the Post Meta Function.” I don’t code, so I cannot tell you what – but that’s probably where the problem is.


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

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

You must be logged in to reply to this topic.