Raindrops

WordPress extend theme Raindrops

WordPress extend theme Raindrops


  • WordPress theme Raindrops

    Posted on by tenman

    :idea: Download

    Download (github)

    Raindrops class and functions Document


  • 投稿内のリンク色を変更する方法

    投稿内のリンクの色をカスタマイズする方法を紹介します

    style.cssの最後の行に以下のスタイル規則を追加してください

    .hentry .entry-content a:link,
    .hentry .entry-content a:active,
    .hentry .entry-content a:visited,
    .hentry .entry-content a:hover{color:#f00;}
    

  • Raindrops 0.964 レビュー審査提出しました。

    Posted on by tenman

    Raindrops0.964をレビュー審査に提出しました。

    今回の変更は、

    テーマオプションページのヘルプタブの変更と、
    sub,sup要素が適切な表示になっていなかったために、スタイルルールの変更を行いました。


  • Raindrops 0.963 bug report

    Posted on by tenman

    Raindrops 0.963
    sub, sup要素が適切に表示されないバグがありましたので、お知らせします

    以下の、CSS ルールを、style.cssに追加していただく事で、正常に表示できます。


    Sorry sub sup elements display improperly.

    Although corrected by the following version
    I think that it can display if you add the following codes to the end of style.css.

    sub, sup{
    font-size: .83em;
    }
    sub{
    vertical-align: sub;
    }
    sup {
    vertical-align: super
    }
    

    このバグは、Raindrops 0.964 で修正する予定です

    Exponents not displaying properly with Raindrops theme

  • Raindrops 0.962 Bug report

    Posted on by tenman

    Raindrops not support Settings/general/ Time Format

    Time setting is not displayed where Publish date.

    This bug will fixed next version Raindrops.

    patch below.

    Please open functions.php and paste at last line .

    <?php
    add_filter('raindrops_posted_on', 'bug_time_format_follow');
    
    function bug_time_format_follow($content){
    $time= get_option( 'time_format' );
    $time= get_the_date( $time );
    return preg_replace(' |(<span class="entry-date">)([^<]+)(</span>) |', '$1$2 '.$time.'$3',$content);
    }
    ?>
    

  • version 0.962 of Raindrops is now live

    Posted on by tenman

    Raindrops 0.962がライブになりました

    新しいRaindropsをお楽しみに :-)


  • Design full customization which is possible at 5 steps, maybe 3min

    Posted on by tenman

    Raindrops design remove and your CSS config is easy.

    Maybe 3min finish.

    1. Raindrops options click.(or child theme name )
    2. Header and Footer background image value set ‘none’
    3. Color type value set ‘raindrops’ or child theme name.
    submit

    4. apear textarea where Color type below.
    5. textarea text delete all.
    submit.

    You can add style where options textarea.

    h1 a{ color:red;}

    note. hyperlink color style rule need a.
    not h1{color:red;}
    good h1 a{ color:red;}

    color type ‘raindrops’(or child theme name) is magic, like a PLATFORM 9 and the 3/4th track of Harry Potter

    Thank you.


  • 予告

    Posted on by tenman

    Raindrops 0.963 の アップデートで、

    raindrop.jsのスクリプト変更を行います。

    コメントアウト部分を削除する予定ですので、事前にお知らせします

    削除される機能は、現在プライベートプラグインとして公開している
    Raindrops helper plugin
    の機能として、移管する予定です。

    現在の予定では、プラグインの機能に移す事で、theme obandes テーマ enough テーマでも、同様の機能を利用できるように企図しています。 

     /**
      * Raindrops javascript actions
      *
      * @package Raindrops
      */
     (function(){
      jQuery(function(){
     
       jQuery("blockquote").each(function(){
      var cite = jQuery(this).attr("cite");
      if( cite ){
     jQuery(this).append("<p style=\"text-align:right;\">cite:<a href=\"" + cite +"\" onclick=\"this.target='_blank';\" onkeypress=\"this.target='_blank';\">" + cite + "</a></p>");
      }
     
      });
     
      jQuery("#month_list ul li:last-child").css({border:"none"});
      jQuery(".widget ul li:last-child").css({border:"none"});
      jQuery('a').removeAttr("title");
     
     /** Toggle
      *
      *
      * @package Raindrops
      * @since Raindrop 0.922
      */
     
      /* jQuery('.raindrops-toggle').hide().css("width","90%");
      jQuery('.raindrops-toggle.raindrops-toggle-title').show().css({"width":"90%","list-style":"none","font-weight":"bold","margin":"0 0 0 -1em"}).prepend("+ ");
      jQuery('.raindrops-toggle.raindrops-toggle-title').css("cursor","pointer").click(function(){
     
      jQuery(this).siblings().toggle("slow");
     
      var v= jQuery(this).html().substring( 0, 1 );
     
      if ( v== "+" ){
     jQuery(this).html( "-" + jQuery(this).html().substring( 1 ) );
      }else if ( v== "-" ){
     jQuery(this).html( "+" + jQuery(this).html().substring( 1 ) );
      }
      });*/
     
      });
     
     
     
     })(jQuery);
     
     /** Tab Controll
      *
      *
      * @package Raindrops
      * @since Raindrop 0.922
      */
     /*
     (function(){
      jQuery(function(){
     
      var element= ".raindrops-tab-content h3";
      var prefix= "raindrops-tab-page-";
     
      jQuery(element).each(function(i){
     var fragment= prefix + i;
     
     var title= "<li><a href=\"#" + fragment + "\">" + jQuery(element).eq(i).html() + "</a></li>" ;
      jQuery(this).parents(':eq(1)').prev().append(title);
      jQuery(this).parent().attr("id", fragment );
     
     });
     
      jQuery(".raindrops-tab-list li.dummy").remove();
     
      //Default Action
      jQuery(".raindrops-tab-page").hide(); //Hide all content
      jQuery(".raindrops-tab-list li:first").addClass("active").show(); //Activate first tab
      jQuery(".raindrops-tab-page:first").show(); //Show first tab content
     
      //On Click Event
      jQuery(".raindrops-tab-list li").click(function() {
      jQuery(".raindrops-tab-list li").removeClass("active"); //Remove any "active" class
      jQuery(this).addClass("active"); //Add "active" class to selected tab
      jQuery(".raindrops-tab-page").hide(); //Hide all tab content
      var activeTab= jQuery(this).find("a").attr("href"); //Find the rel attribute value to identify the active tab + content
      jQuery(activeTab).fadeIn(); //Fade in the active content
      return false;
      });
      jQuery(".raindrops-tab-list").css({"margin": "auto"});
      jQuery(".raindrops-tab-list li").css({"float":"left","list-style":"none"});
      jQuery(".raindrops-tab-list li a").css({"display":"block","padding":"10px","text-decoration":"none","margin-right":"1px" });
      });
     })(jQuery);
     */
    

  • Raindrops 0.962 がレビュー審査に合格しました

    Posted on by tenman

    こんにちは

    Raindrops 0.962がレビュー審査に合格しました。

    今回の変更は、セキュリティのための変更です。

    Raindropsのオプションパネルから、想定外の値が入力された時に、不正な値を除外する機能が、働いていませんでした。

    今回の変更で、より安心して使っていただく事が出来ると思います。

    また、0.960から搭載したフォールバックビューについて、修正を行いました

    ライブになるまでもう少しお待ちください

    新しいRaindropsをお楽しみください :-)


  • For Child theme Contributors and Developers

    Posted on by tenman

    チャイルドテーマ制作を行う方へのご連絡

    Raindrops テーマでは、チャイルドテーマを制作する場合に、親テーマのstyle.cssをチャイルドテーマの、style.cssで インポートする必要はありません。

    Raindrops is no need import parent style.
    @import url("../raindrops/style.css");
    

    レインドロップスは、チャイルドテーマを検知すると、CSSフレームワークなどと同様に自動的に、親スタイルをインクルードします。

    Raindrops theme detect a child theme then autoload parent style.css


  • Raindrops 0.960 ライブになりました

    Posted on by tenman

    Version 0.960 of raindrops is now live at Raindrops

    Raindrops 0.960 が 今朝方ライブになりました

    新しいレインドロップスをお楽しみください :-D


  • Raindrops 0.960 レビュー審査通過しました

    Posted on by tenman

    Raindrops 0.960 がレビュー審査を通過できましたのでお知らせします。

    ライブになるまで、しばらくかかると思いますが、お楽しみに


    :!: 今回のレビューで、PHPのパースエラーが1つあると指摘がありましたので、お知らせします。

    このバグは、次のバーションで以下のように修正する予定です。

    Raindrops has bug PHP parse error.

    Raindrops 0.960 functions.php

    Just a notice from debbuger; `Undefined index: raindrops_style_type in \raindrops\functions.php on line 585`
    function raindrops_add_body_class($class) {
    global $post;
    $lang = get_locale();
    $raindrops_options = get_option("raindrops_theme_settings");
    $color_type= "rd-type-".$raindrops_options["raindrops_style_type"];
    if(is_single() or is_page()){
    $raindrops_content_check= get_post($post->ID);
    $raindrops_content_check= $raindrops_content_check->post_content;
    if(preg_match("!\[raindrops[^\]]+(color_type)=(\" |')*?([^\"' ]+)(\" |')*?[^\]]*\]!si",$raindrops_content_check,$regs)){
    $color_type= "rd-type-".trim($regs[3]);
    }
    if(preg_match("!\[raindrops[^\]]+(col)=(\" |')*?([^\"' ]+)(\" |')*?[^\]]*\]!si",$raindrops_content_check,$regs)){
    $color_type .= ' ';
    $color_type .= "rd-col-".$regs[3];
    }
    }
    

    修正コード

    Corrected code

    
    function raindrops_add_body_class($class) {
    global $post;
    $lang = get_locale();
    $raindrops_options = get_option("raindrops_theme_settings");
    if(isset($raindrops_options["raindrops_style_type"]) and !empty($raindrops_options["raindrops_style_type"])){
    $color_type= "rd-type-".$raindrops_options["raindrops_style_type"];
    }else{
    $color_type= '';
    }
    if(is_single() or is_page()){
    $raindrops_content_check= get_post($post->ID);
    $raindrops_content_check= $raindrops_content_check->post_content;
    

  • Raindrops 0.959 has bug

    Posted on by tenman

    Raindrops 0.959 has bug

    typo

    Sorry Bad<div style="entry-content">…</div>

    O.K<div class="entry-content">…</div>

    How to fix

    page.php and blank_front.php correct below code.

    Sorry

    page.php

    <div id="post-<?php the_ID(); ?>" <?php post_class();?>>
    <h2 class="h2 entry-title"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>">
    <?php the_title(); ?>
    </a></h2>
    <div class="entry-content">
    <?php the_content(__('Read the rest of this entry &raquo;','Raindrops')); ?>
    <br class="clear" />
    </div>
    

    blank_front.php template

    <div class="entry-content">
    <?php if($raindrops_display_page_content== 'y'){?>
    <?php the_content(__('Read the rest of this entry &raquo;','Raindrops')); ?>
    <?php
    }else{
    echo $substitution_content;
    } ?>
    <br class="clear" />
    </div>
    

  • Raindrops 0.960更新予定

    Posted on by tenman

    Raindrops Optionパネルのページ幅を100% fluidに指定した場合、Chrome firefox等のCSS3対応ブラウザで段組表示をしたいと考えています。
    ブラウザ幅が小さい時は、段組表示は行いません

    表示サンプル


  • Raindrops 0.959 レビュー通過しました

    Posted on by tenman

    本日、Raindrops0.959がレビュー審査に合格しました

    ライブになるまで もうしばらくかかると思いますが お楽しみに :-)


  • Raindrops 0.959での変更について

    Posted on by tenman

    Raindrops 0.959では、フロントページ用の新しいテンプレートblank_front.phpを追加しました。

    WordPressでウェブサイトを構築する場合、カスタムページを利用して、フロントページ用のテンプレートとして利用するという方法が広く行われています。

    フロントページ用のページテンプレートを作る場合、htmlの知識だけでなくPHPやCSS、とりわけ、そのテーマファイルが持っている特長などを把握していないと、うまくいかない事も少なくありません

    付属のpage.phpをコピーして、フロントページ用のテンプレートを作成しても、例えば、ページコンテンツのタイトルや、記事が不要だとか、ナビゲーションバーをトップページには置きたくないだとか、いろいろな希望があると思いますが、闇雲に変更をしてしまうと、レイアウトが崩れてしまったり、真っ白になってしまったなどということも少なからず発生します。

    当サイトにも、Raindropsを使っていただいているユーザーの方から、時々、「タイトルを消すにはどうすればいいの?」とか、ページのコンテンツを表示する部分に自分の書いたhtmlに置き換えたいけど、どうすればいいの?」といった質問が寄せられたりします。

    サイドバーのコンテンツを非表示にして、自分の書いたhtmlに置き換えたり、タイトルやコンテンツの表示 非表示を切り替える設定項目を持ったテンプレートファイルを作ってみました。

    実際の使い方については、レビューの審査が終了した時点で、また改めて紹介させていただきたいと思います お楽しみに :-)




©2012 Raindrops エントリ(RSS) and コメント(RSS)  レインドロップス テーマ