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”
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:
- Commited the files using normal SVN client (I used Tortoise SVN) to the SVN repository
- Create new repository on GitHub
- On local machine, create empty directory
/plugin-name directory, run
git clone -s <SVN repository URL>
git add remote <GitHub repository URL>
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>
Here’s my new web app: N-puzzle.
I built it to practice PWA usage. You can see the source code on GitHub.
I think PWA is pretty cool. I wonder if it takes over native mobile apps someday.
Sometimes you’d want to remove the “Category: ” or “Archive:” etc. that WordPress automatically adds in front of the archive page title. In order to do that, add below code to your functions.php.
This is what I always include in my css files for visibility control depending on device size.
Below is how this works.
|Class||≤ 567px||568 – 767 px||768 – 1023 px||≥ 1024px|