Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter gregalam

    (@gregalam)

    Ok,

    Fixed my own problem. Pretty simple.

    I needed to have the structure of the code

    if
    else if
    else

    as opposed to

    if
    if
    else

    My new code looks like

    <?php
    $post = $wp_query->post;
    if ( in_category('37') ) {
    include(TEMPLATEPATH . '/single-update.php');
    }
    else if ( in_category('55') ) {
    include(TEMPLATEPATH . '/single-diy-or-go-pro.php');
    }
    else {
    include(TEMPLATEPATH . '/single-all.php');
    }
    ?>

    Thanks ancawonka. Your solution worked perfectly!

    This is what I found out:

    • Go to the plugins editor and edit the mailchimp.php file
    • .mc_signup_submit – that will change the SUBMIT button
    • #mc_signup_form .mc_var_label, #mc_signup_form .mc_input – this will change the signup boxes withthin the form container – EX: the email address, first name, and last name boxes
    • .mc_custom_border legend – this will change the container box that the form sits within
    • #mc_signup_form legend – controls the box within the signup form box that has the title of your signup form

    My form title text overflows if too long though, and for the life of me can’t figure out how to fix that. Tried overflow, text-overflow, and word-wrap.

    The code to be pasted into the functions.php file should have
    <?php
    before it and
    ?>
    after it like this.

    <?php function excerpt_ellipse($text) {
       return str_replace('[...]', ' <a href="'.get_permalink().'">Read more...</a>', $text); }
    add_filter('the_excerpt', 'excerpt_ellipse');
    ?>
Viewing 4 replies - 1 through 4 (of 4 total)