• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

Ani's Webdev Blog

A learning diary of website development

  • Home
  • Demo
    • Ajax Contact Form
  • WordPress
  • Front-end
  • Backend

Wordpress

[WordPress] Open Images in Posts into Lightboxes On Clicks (Without Plugins)

Modified on: January 2, 2021

open images into lightbox

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 […]

Filed Under: Backend, Front-end, Wordpress, WordPress Themes Tagged With: javascript, php

[WordPress] How to Display Modified Date By Using Hooks (in Newspaper Theme, or Any Theme)

Modified on: December 21, 2020

how to display modified date in wordpress using hooks

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, […]

Filed Under: Front-end, Wordpress, WordPress Themes Tagged With: php

[HTML, CSS] Add a floating button to WordPress website without plugins

Modified on: September 19, 2020

add a floating button to wordpress site

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 […]

Filed Under: Front-end, Wordpress, WordPress Themes Tagged With: add_action, css, html, php, wordpress hooks

[WordPress] Add content at the end of every post without plugins

Modified on: September 19, 2020

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 […]

Filed Under: Wordpress, WordPress Themes Tagged With: add_filter, php, wordpress hooks

[WordPress] How to transform post title into UPPERCASE without plugins

Modified on: September 18, 2020

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 […]

Filed Under: Wordpress, WordPress Themes Tagged With: add_filter, php, wordpress hooks

[WordPress] How to use Polylang to translate Woocommerce variable products

Modified on: September 18, 2020

using 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 […]

Filed Under: Wordpress, Wordpress Plugins Tagged With: polylang

  • Go to page 1
  • Go to page 2
  • Go to page 3
  • Interim pages omitted …
  • Go to page 5
  • Go to Next Page »

Primary Sidebar

Hello! My name is Anh. I am a front-end developer in Oulu, Finland. Currently, I work with PHP, HTML, CSS, JavaScript and love writing about them. This blog is my learning diary. Please feel free to join the discussion!

FOLLOW MY BLOG

Thank you for visiting this website! I hope you find something useful here :). Contact me by email: anh@anhkarppinen.com.