In this post, I would like to implement one small feature: when user clicks an image within my post entry, the image will be opened into a lightbox, so that it is bigger to see. This is useful in case the image has some small details that you would like users to see better. I […]
Front-end
[Vue.js] 8 months into Vue and what I like about it
Luckily I was injected into a Vue project at the time I had a plan to learn it. So I have been learning from an existing codebase which provides a context where Vue is useful for and how to use it. This is probably the first time I work with a JS framework. My early […]
[WordPress] How to Display Modified Date By Using Hooks (in Newspaper Theme, or Any Theme)
A modified date will let web visitors know the date that an article was updated, not the publish date (which probably was several years ago!). It provides some trust to the content of the article, also is a plus point for SEO. I use Newspaper theme in two WordPress websites. It works amazingly as described, […]
[HTML, CSS] Add a floating button to WordPress website without plugins
If you want to create a floating element (such as button) to your WordPress website but do not want to install any plugin, follow this article. In this post, I will show you one simple method to add a call-to-action element (buttons, or text, or anything) stay fixed on the web page no matter how […]
Customizing WordPress Themes: Basic Principles & Examples
The purpose of this article is to provide some methods to customize a WordPress theme.
[HTML, CSS] Make a sticky announcement bar with Bootstrap
A Bootstrap-style announcement/information bar that is fixed to the top, including one text string and one button.