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 […]
Wordpress
[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 […]
[WordPress] Add content at the end of every post without plugins
Sometimes you may want to add information to every posts but don’t want to open every single post to add that line. In this article, I will show you how to implement three use cases simply by using wordpress add_filter and the_content hook. You may add anything at the end, or at the beginning, of […]
[WordPress] How to transform post title into UPPERCASE without plugins
To transform the post title into different style, for example uppercase, you don’t need to use any plugin. In this article I will show you how to do it simply by using WordPress filter. What we are going to do is to add a filter hook, so that the title of a post will go […]
[WordPress] How to use Polylang to translate Woocommerce variable products
Using Polylang to translate Woocommerce simple products is quite straightforward. But for variable products, it is a bit tricky. In this article, you will see steps by steps how to use Polylang to translate Woocommerce variable products. Polylang and Woocommerce Polylang is a plugin to have your website in multilanguage as it lets users create […]