clubmate.fi

A good[ish] website

Web development blog, loads of UI and JavaScript topics

How to remove image dimension attributes in WordPress

Just a quick snippet. May come handy on responsive layouts. Source . More on the subject .

Get WordPress post ID inside and outside of the loop

Getting the post ID comes handy sometimes when writing conditional logic. Post ID inside loop As simple as: I find it that sometimes when…

Make WordPress SEO friendly with a proper title and description tags

Someone said something like "if you're ever been charged of SEO, you've bee cheated". Having the basics right, gets you long way. This post…

Change the WordPress title field placeholder text

Really handy snippet to change the "Enter title here" text to suit your post type better. Just paste this to your functions.php , change…

Automatic backup solutions for WordPress

Here’s a guide to different solutions how to automatically backup WordPress database and/or files. I've never needed my backups, but their…

CSS beveled corners

Beveled corners aren’t as easy to achieve as rounded ones, but there’s few extremely handy methods to do them, other one even works down to…

Firefox wont take percentage padding on form elements

Irritating little bug. But, there is a fix as always. ℹ️ I think this bug has been fixed, so this article is a bit useless. It's an ugly fix…

Obey the the natural flow of a website

When designing a website in Fireworks or Photoshop you should keep in mind how things fall on their places in a browser. Here’s a thought…

Get custom taxonomy term name on an archive page on WordPress

How to retrieve the term’s name when rendering a custom taxonomy route. If you’re viewing a normal Post category rendered via archive.php…

Advanced WordPress loop techniques

How to get posts only from a specific custom post type, or how to show posts only from a custom taxonomy. How to keep the original query…

  • © 2021 Antti Hiljá
  • About
  • Follow me in Twatter → @hiljaa
  • All rights reserved yadda yadda.
  • I can put just about anything here, no one reads the footer anyways.
  • console.log('Smash the patriarchy!')
  • I love u!