Brian's Threaded Comments: Kachasị mma

One of the plugins I love to run on my blog is Brian's Threaded Comments. It allows for communications to be nested, organized and very easy to read and respond to. I'm not sure why the logic hasn't been pulled into the core of WordPressOtú.

Ka m na-elele peeji nke peeji m, ngwa mgbakwunye ahụ gbakwunyere ọgbaghara. Ihe mgbakwunye ahụ na-etinye ma Javascript na mkpado imezi ka ọ rụọ ọrụ. Ihe bụ nsogbu bụ na inline styling na javascript nwere ike ịbawanye oge ibu n'ihi na sket dị iche iche jikọtara ya na faịlụ javascript nwere ike ịchekwa otu ugboro site na ihe nchọgharị ahụ.

Since search bots index the top ‘x' amount of a page, code like this pushes the real content down. I've not heard of it proved, but I believe this can impact your site's Search Engine Optimization. The right way to feed a Search Engine is to skip the toppings and provide more meat. I did just that and moved both the Javascript and the CSS to a linked file. I'm running the optimized plugin here.

I've written Brian on the optimized plugin, but the email bounced. I also threw him a tip from my blog to see if he'll stop by. If you're interested, you can budata kachasị ngwa mgbakwunye Ebe a.

8 Comments

  1. 1

    Ana m ekele gị nke ukwuu maka biputere faịlụ a!
    M nwa oge (ihe na-erughị nkeji iri) tinye mkpịsị ụkwụ m n'ime Mkparịta ụka siri ike n'ihi na ọ dị mfe ịkọwa ihe na-amasị m .. Ọ bụ ezie na m hụrụ n'anya ịchụpụ saịtị m, usoro ha dị ukwuu iji kwado maka okomoko a naanị.

  2. 2

    Anọ m na-elele faịlụ gị na zip na ọ dị ezigbo mma, agbanyeghị mmadụ tiri gị ihe na ọkpọ n'April. Lelee nke a.

    Ihe ọzọ iji melite ga-abụ inwe amaokwu mpaghara dị iche iche na-akpọ ha site na mpụga ya na ụdị koodu ezoro ezo, ọbụlagodi nke ahụ bụ ihe ọ dị ka gburugburu ebe ọ na-akpọ foto png.

    Echiche?

  3. 4

    Ndewo Doug,
    Achọrọ m ime otu ihe ahụ, ị ​​zọpụtara m oge ahụ.

    Ekwesịrị m ịgbakwunye ọrụ ole na ole site na Brian Threaded Comments 1.5 nke na-agbaji oge gị.
    N’elu btc_add_reply_id($id):

    function btc_has_avatars() {
    if( function_exists('get_avatar'))
    return true;
    else if(function_exists('MyAvatars'))
    return true;
    return false;
    }

    function btc_avatar() {
    if( function_exists('get_avatar')) {
    echo get_avatar(get_comment_author_email(), '64');
    return;
    }
    else if(function_exists('MyAvatars')) {
    MyAvatars();
    return;
    }
    }

    M tinyekwara obere CSS site na BTC 1.5 ka .css faịlụ:

    .btc_gravatar {
    float: right;
    margin: 3px 3px 4px 4px;
    }
    .collapsed .btc_gravatar { display:none; } /* I added this, since the gravatars weren't collapsing nicely */

  4. 5

    Nke a dị mma, Doug! Otu esemokwu: O yiri ka ngwa mgbakwunye chọrọ ugbu a na folda briansthreadedcomments nke plugins, mana ole na ole n'ime ihe onyonyo a sụgharịrị site na ịnweta faịlụ PHP na ndekọ plugins (mgbe onye ọrụ debanyere email alerler, dịka ọmụmaatụ). Arụrụ m ọrụ gburugburu nke a site na ịnwe faịlụ PHP na ebe abụọ ahụ. Eleghị anya ọ dị mkpa ka URL gbanwee ya na koodu ahụ.

  5. 8

Kedu ihe ị chere?

Ebe a na-eji Akismet iji belata spam. Mụta otu esi etinye usoro data gị.