clubmate.fi

A good[ish] website

Web development blog, loads of UI and JavaScript topics

HomeTagsCategories

25 posts tagged with "snippets"

  • Enable plugin and theme updates over SFTP on WordPress
  • Better stat command in OS X
  • Shell script to create MySQL database and user
  • Display any file in a browser as plain text
  • Change URL in WordPress database when migrating
  • Strip punctuation from a string with regex using PHP
  • Give each excerpt a unique class in WordPress
  • How to make form element label clickable
  • Sass mixin to make a button element look like a normal link.
  • Base64 encoded 1px gifs, black, gray and transparent
  • If not IE, conditional HTML comment
  • Check if element exists in jQuery
  • SCSS @font-face mixin
  • PHP function to load jQuery in WordPress footer
  • Get the first image inserted into a post body in WordPress
  • Redirect parent page to its first child
  • How to easily view and log PHP errors
  • How to open a popup window with jquery
  • Remove weird characters like ö and ä from file names in WordPress. Aka, sanitize file upload image names.
  • Different ways to redirect URL
  • How to remove image dimension attributes in WordPress
  • Get WordPress post ID inside and outside of the loop
  • Change the WordPress title field placeholder text
  • Add support for WordPress custom menus
  • Add image sizes to WordPress
All tags
  • © 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.
  • I love u!