Categories
WordPress

Memorandum #8.

同一記事の日本語版
ROLIS descent image
ROLIS descent image
   Hey, have you heard?
 
   Philae landed on comet on November 12th at 15:35 UTC (13th at 00:35 JST).
 
   The comet name is 67P/Churyumov-Gerasimenko. Wow!!
 
   By the way, have you known that our Hayabusa 2 launch is scheduled on November 30th? I can’t wait and I hope good weather!
    Memo 1

  • HeadlineI added alphabet headlines to Notes, and I use Kranky for their font. For this, I made the following customization to the style.css of the main site. I added the lines with “+” at its head.
    @import url("../sugar-and-spice/style.css");
    +@import url(https://fonts.googleapis.com/css?family=Kranky);
     
    /* Typography */
    h1, h2, h3, h4, h5, h6 {
    color: #000;
    }
    +h2 {
    + font-family: 'Kranky', cursive, Arial, sans-serif;
    + font-size: 2em;
    + margin: 0 0;
    +}
     
    Here is the old CSS file before work.
     
    Note) In my case, I changed <h2> tag’s property because I don’t use this tag for any other places on my main site. So, this change does not give any effects to rest of the main site.
  • Memo 2

  • I stopped using the plugin Google Analytics by Yoast. But I still use Google Analytics, so I made some configuration for it.
    1. Make a file named ‘analyticstracking.php’ under instructions at Tracking ID page of Google Analytics and copy it to the child theme directory.
    2. Copy the original header.php of my theme to the child theme directory.
    3. Edit new headr.php.
      Add <? php include_once ("analyticstracking.php")?> to just after <body> tag.
    4. That’s it.
      Note) The change is reflected within several hours or days.

Leave a Reply

Your email address will not be published. Required fields are marked *