Event title on Events list page – Elegant Themes Nimble

Home Forums Calendar Products Events Calendar PRO Event title on Events list page – Elegant Themes Nimble

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #44009
    kevin
    Participant

    We have the Event Title on Events List Page problem. I’ve looked at and worked on the “Calendar Page Title shows the title of an event…” FAQ.
    We are using the Elegant Themes – Nimble for our site. After searching several theme files I found the file that drives the title in headers for Nimble is a file called top_info.php –
    I’ve tried several different permutations of your instructions to set up a way to push the Events in rather than that title of the most current event but so far, I’ve been unable to defeat the Nimble system. I’m sure at this point I’m not changing the theme variable $et_page_title at the right point, but I haven’t been able to get the logic changed successfully.
    The Events List page displays at http://techranchaustin.com/events/upcoming/
    Any suggestions?
    The area of top_info.php I am trying to use to change behavior reads:

    get_queried_object();
    $et_page_title = esc_html__(‘Posts by ‘,’Nimble’) . $curauth->nickname;
    } elseif ( is_page() || is_single() ) {
    $et_page_title = get_the_title();
    if ( is_page() ) $et_tagline = get_post_meta(get_the_ID(),’Description’,true) ? get_post_meta(get_the_ID(),’Description’,true) : ”;
    } elseif ( is_tax() ){
    $et_page_title = single_term_title( ”, false );
    $et_tagline = term_description();
    }
    ?>

    array() ) ); ?>
    <?php if ( $et_tagline ” ) { ?>
    array() ) ); ?>

    <?php
    if ( is_single() && 'project' != get_post_type( get_the_ID() ) ) {
    $single_postinfo = et_get_option( 'nimble_postinfo2' );
    if ( $single_postinfo && have_posts() ) {
    the_post();

    echo '’;
    et_postinfo_meta( $single_postinfo, et_get_option(‘nimble_date_format’), esc_html__(‘0 comments’,’Nimble’), esc_html__(‘1 comment’,’Nimble’), ‘% ‘ . esc_html__(‘comments’,’Nimble’) );
    echo ”;

    rewind_posts();
    }
    }
    ?>

    #44011
    Jonah
    Participant

    Hi Kevin,

    We have pretty crappy code pasting capabilities here still. Can you please share your code on http://snippi.com/

    Additionally it might help if you could provide me with the theme for evaluation/testing purposes. You post with https://droplr.com/hello and then share through the private reply function below.

    Thanks,
    Jonah

    #44012
    kevin
    Participant

    It appears my best effort to post code has gone a bit off. Once again:

    get_queried_object();
    $et_page_title = esc_html__(‘Posts by ‘,’Nimble’) . $curauth->nickname;
    } elseif ( is_page() || is_single() ) {
    $et_page_title = get_the_title();
    if ( is_page() ) $et_tagline = get_post_meta(get_the_ID(),’Description’,true) ? get_post_meta(get_the_ID(),’Description’,true) : ”;
    } elseif ( is_tax() ){
    $et_page_title = single_term_title( ”, false );
    $et_tagline = term_description();
    }
    ?>

    array() ) ); ?>
    <?php if ( $et_tagline ” ) { ?>
    array() ) ); ?>

    <?php
    if ( is_single() && 'project' != get_post_type( get_the_ID() ) ) {
    $single_postinfo = et_get_option( 'nimble_postinfo2' );
    if ( $single_postinfo && have_posts() ) {
    the_post();

    echo '’;
    et_postinfo_meta( $single_postinfo, et_get_option(‘nimble_date_format’), esc_html__(‘0 comments’,’Nimble’), esc_html__(‘1 comment’,’Nimble’), ‘% ‘ . esc_html__(‘comments’,’Nimble’) );
    echo ”;

    rewind_posts();
    }
    }
    ?>

    Hopefully that will give you all the information…

    #44013
    kevin
    Participant

    Ok then – here is the droplr link http://d.pr/f/b646

    the code itself is in the /includes directory and on Snippy at http://snippi.com/s/bhj5oar

    Hope this helps. Thank you so much.

    #44015
    Jonah
    Participant

    Hi Kevin,

    See if this works for you: http://snippi.com/s/gwn8gqa

    – Jonah

    #44016
    kevin
    Participant

    Yes! I need to make a few small changes to the way the events list title reads, but with this – no problem.

    Thanks so much!

    #44056
    Jonah
    Participant

    You’re welcome Kevin! Let us know if there’s anything else you need help with.

    – Jonah

    #978858
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Event title on Events list page – Elegant Themes Nimble’ is closed to new replies.