Forum Replies Created

Viewing 8 replies - 1 through 8 (of 8 total)
  • Forum: Plugins
    In reply to: Adding a link to dashmenu

    try this:

    function addDashmenuLinks() {
    	echo '<li><a href=""></a></li>';
    }
    
    add_action('dashmenu', 'addDashmenuLinks');

    should work for 2.5+

    Following the highlight blog author comments method as described at http://5thirtyone.com/archives/774, here’s how you could use comment_author_url()

    <?php if ($comment->comment_author_url != '') : ?>
    <a href="<?php comment_author_url(); ?>">Text you wish to have linked</a>
    <?php endif; ?>

    Explanation: if comment_author_url is NOT empty, show the url

    replacing dwlogin with this will redirect to the edit page:

    function dwlogin_redirect() {
    global $redirect_to;
    if(!current_user_can('level_10')){

    $redirect_to = get_option('siteurl').'/wp-admin/edit.php';
    	}

    }

    Thread Starter scottlenger

    (@scottlenger)

    Otto: if you’re deciding between 1.1 and transitional, I think you’ll find this article useful (i had the wrong link above)
    http://fadtastic.net/2006/11/02/the-invisible-design-decision/

    Thread Starter scottlenger

    (@scottlenger)

    re: jonlandrum

    The homepage images does not rotate (though I’ve thought about it…and it may in the future)

    It does change based on what section of the site you’re in via a php script that assigns a css file based on page or category id. If you click the links in the header nav you’ll see what I mean.

    Thread Starter scottlenger

    (@scottlenger)

    Hey Root, seems like you’re referring to your post The end of XHTML?

    I use XHTML because it helps promote good coding practices

    From WASP:
    XHTML is easier to maintain

    XML syntax rules are far more rigorous than HTML. As a result, XHTML makes authors work more precisely, having to address issues such as:

    • all elements and attribute names must appear in lower case
    • all attribute values must be quoted
    • non-Empty Elements require a closing tag
    • empty elements are terminated using a space and a trailing slash
    • no attribute minimization is allowed
    • in strict XHTML, all inline elements must be contained in a block element

    Also: down the road I want to begin working with API’s (like flickr), and it seems that XHTML (being based off xml) is better suited for that.

    I’m glad I checked your post as it helped make me aware of the significance of media types

    I also found this post (The Invisible Design Decision) extremely helpful in sorting out which media type to use with XHTML.

    Thread Starter scottlenger

    (@scottlenger)

    that halfbloodprince. I think you might be right about the recent comments…

    Thread Starter scottlenger

    (@scottlenger)

    thanks, that’s what I’m talking about!!

    I’m losing the ‘www’ that’s a no-brainer

    I’m curious why the ‘footer’ is getting flagged. I feel like the content area gets constrictive when the white area (with my wife’s link) is removed. Would it be helpful to put a little bit more content there so it isn’t so empty?

    Gmail does a rad job of killing spam so I’m not really concerned about posting my actual address, though if at some point I switch to a domainname address I’ll definitely want to use a submission form.

    I’m pretty focused on accessibility so, though I’ll concede that underlined links are less pleasant, for the time being they’ll be sticking around (at least as long as the link color is green (hard for colorblind users)

    I really do appreciate the feedback, please keep it coming.
    I’d especially like some thoughts on:
    The placement of ‘scott/lenger’ is it too low?
    Does the picture seemed balanced?
    Is the black left hand column too dark and heavy?
    What initial feelings to you get (warm, cold, light, serious, funny, engaging, academic, edgy)

Viewing 8 replies - 1 through 8 (of 8 total)