bookmark_borderNoto Font Theme And Plugin For WordPress

Many of WordPress themes are designed for western languages and they often look awkward when being applied to some of asian languages such as Japanese. I hoped there was a theme with Noto Font which aims to display all languages beautifully with the same typeface. So I created one myself: Noto Simple.

I setup the demo here. Continue reading “Noto Font Theme And Plugin For WordPress”

bookmark_borderGit SVN

I usually use Git for version control, but my debut as a WordPress plugin developer required me to use SVN.

And I was excited to know Git actually can be used as a valid SVN client as well, as stated in the official documentation! This means I can manage my plugin code on SVN repository as well as GitHub at the same time.

Here’s what I did:

  1. Commited the files using normal SVN client (I used Tortoise SVN) to the SVN repository
  2. Create new repository on GitHub
  3. On local machine, create empty directory /plugin-name
  4. In /plugin-name directory, run git clone -s <SVN repository URL>
  5. Run git add remote <GitHub repository URL>
  6. Run git push origin master

and done! The directory is ready for commits to both GitHub and SVN repository.

In the step 4 git svn clone, in my case this had to be an http address. https didn’t work and it took me while to figure out.

git svn clone command takes pretty long. You can specify the revision number like below and then it fetches only versions from the specified revision number:

git svn clone -s -r<revision number>:HEAD <SVN repository URL>

bookmark_borderCSS Responsive Utilities

This is what I always include in my css files for visibility control depending on device size.

Below is how this works.

Class≤ 567px568 – 767 px768 – 1023 px≥ 1024px