Home > Tech > WordPress

WordPress Archive

Wordpress Plugin for Meetup Everywhere

This allows you to control Meetup Everywhere from your Wordpress site!

Please be noted that this is still very experimental.

Go to Github: beatak / Meetup-Everywhere-WordPress-plugin

Requirement

  • WordPress 2.9 and after?

Version 0.1
Todos

  • Clean up widget’s visual (it should look similar to the official widget?)
  • Organize config pages
  • Reflect changes on config page to Meetup Everywhere

ブログロールを導入

思い立って blogroll を入れてみました。ただ wp.Vicuna ではデフォルトで blog roll は使われないのか知らん?調べてみました。2.5 以降は widget という仕組みになっているのかな?今日はとりあえず調べない。以前のバージョンの解決方法などを参考にしつつ(Vicunaテーマでブログロールを表示する際の不具合)、今回採用した簡単な方法は…

  1. Theme Editor で Sidebar (sidebar.php) を編集。
    
    <dt>Links</dt>
    <dd>
    	<ul><?php get_links_list(); ?></ul>
    </dd>
    
  2. 上記コードで呼び出されている get_links_list を grep して、/wp-includes/deprecated.php にて発見(deprecated って…)。
  3. deprecated.php を編集
    
    // Display the category name
    //echo '  <li id="linkcat-' . $cat->term_id . '" class="linkcat"><h2>' .
    apply_filters('link_category', $cat->name ) . "</h2>\n\t<ul>\n";
    
    // Call get_links() with all the appropriate params
    get_links($cat->term_id, '<li>', "</li>", "\n", true, 'name', false);
    
    // Close the last category
    //echo "\n\t</ul>\n</li>\n";
    echo "\n</li>\n";
    

とこんな感じになりました。

Home > Tech > WordPress

Search
Feeds
Meta
Links
Ads!

Return to page top