• 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

Blog

[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

WordPress functions returns with var_dump (TO BE CONTINUED)

Modified on: January 4, 2021

Sometimes you may want to know what a function outputs. Here is hopefully a good cheatsheat for you. get_terms Purpose: Get the term for a specific taxonomy (Developer page). Output If term found, return an array of WP_Term object If term does not exist, return WP_Error object Example use: Find top-level terms from a category […]

Filed Under: Wordpress, Wordpress Plugins, WordPress Themes Tagged With: php

5 Ways to Migrate WordPress Sites

Modified on: July 4, 2020

migrating wordpress sites

In this post, I would like to share some methods when migrating the WordPress host.

Filed Under: Backend, Featured, Wordpress, Wordpress Plugins, WordPress Themes

[WordPress] Difference between die() and wp_die()

Modified on: May 15, 2022

wp die and die

WordPress uses PHP as the core language. So die() would be just fine to use. In fact, I have used it several times and did not notice any major bugs. Never wonder what is the real different between them before I tried the wp_die() yesterday. This is how it is different on the look: So, […]

Filed Under: Backend, Wordpress Tagged With: php

  • « Go to Previous Page
  • Go to page 1
  • Go to page 2
  • Go to page 3
  • Go to page 4
  • Interim pages omitted …
  • Go to page 7
  • 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. 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.