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

    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.


  • 予告

    Raindrops 0.963 の アップデートで、

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

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

    削除される機能は、現在プライベートプラグインとして公開している
    https://www.tenman.info/wp3/raindrops-helper/(b:Raindrops helper plugin)
    の機能として、移管する予定です。

    現在の予定では、プラグインの機能に移す事で、theme https://www.tenman.info/wp3/obandes(b:obandes テーマ) https://www.tenman.info/wp3/enough(b:enough テーマ)でも、同様の機能を利用できるように企図しています。 

    [php]
     /**
      * 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);
     */
    [/php]


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

    こんにちは

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

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

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

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

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

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

    新しいRaindropsをお楽しみください 🙂


  • For Child theme Contributors and Developers

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

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

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

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

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


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

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

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

    行間30:

    ❗ 今回のレビューで、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`

    [php firstline=”581″ highlight=”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];
    }
    }
    [/php]

    修正コード

    Corrected code
    [php firstline=”581″ highlight=”585,586,587,588,589″]

    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;
    [/php]


  • Raindrops 0.959 has bug

    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

    [php firstline=”60″ highlight=”64″]
    <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>
    [/php]

    blank_front.php template

    [php firstline=”395″]
    <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>
    [/php]