WordPress.org

Support

Support » Plugins and Hacks » css patch for chrome, php patch for category page

css patch for chrome, php patch for category page

  • Would have sent you an email but did not find an address. Tried your forum but why would I want a password for a forum that is 8 characters long and has capital letters?

    Anyway thank you for the control as it works great in general. 2 things:

    1. in the default css I recommend that you change the width specification:

    .normal-day-heading {
    text-align:center;
    width:14.3%;
    height:25px;
    font-size:0.8em;
    border:1px solid #DFE6DE;
    background-color:#EBF2EA;
    }
    .weekend-heading {
    text-align:center;
    width:14.3%;
    height:25px;
    font-size:0.8em;
    border:1px solid #DFE6DE;
    background-color:#EBF2EA;
    color:#FF0000;
    }

    Otherwise it does not render correctly in google chrome.

    2. Tried to display your calendar from a category page by calling <?php echo calendar() ?> and the next & previous links did not work. This is my fix:

    function permalink_prefix()
    {
    // Get the permalink structure from WordPress
    if (is_home()) {
    $p_link = get_bloginfo(‘url’);
    if ($p_link[strlen($p_link)-1] != ‘/’) { $p_link = $p_link.’/’; }
    }
    elseif (is_category())
    {
    $p_link = get_category_link( get_query_var(‘cat’) );
    }
    else
    {
    $p_link = get_permalink();
    }

    // Based on the structure, append the appropriate ending
    if (!(strstr($p_link,’?’))) { $link_part = $p_link.’?’; } else { $link_part = $p_link.’&’; }

    return $link_part;
    }

    Any questions, you can contact me here:
    bjdodo at hotmail dot com

    Thank you again for the control and all the best,
    Jozsef

  • The topic ‘css patch for chrome, php patch for category page’ is closed to new replies.