• 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

Front-end

[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

[Vue.js] 8 months into Vue and what I like about it

Modified on: January 1, 2021

using vue js

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

Filed Under: Front-end Tagged With: vue

[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

Customizing WordPress Themes: Basic Principles & Examples

Modified on: September 18, 2020

customizing wordpress themes

The purpose of this article is to provide some methods to customize a WordPress theme.

Filed Under: Backend, Featured, Front-end, Wordpress, Wordpress Plugins, WordPress Themes Tagged With: add_filter, php, wordpress hooks

[HTML, CSS] Make a sticky announcement bar with Bootstrap

Modified on: July 4, 2020

A Bootstrap-style announcement/information bar that is fixed to the top, including one text string and one button.

Filed Under: Front-end Tagged With: bootstrap, css, html

  • Go to page 1
  • Go to page 2
  • Go to page 3
  • 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.