Byronyasgur's Blog

Random Web Developer Stuff, Mostly WordPress

Media Query Top Labeller

I am working on my first real responsive website and I was finding it hard to get my head around which media query was affecting the display. I’m sure there are tons of other ways of doing the same thing but this one is pure css and works quite well. It uses the :after pseudo class to add the content to body and you can read which query you are on at the top of the page. Just put the code in your css file. Read the rest of this entry »

Advertisements
Leave a comment »

Best Collection of Code for your functions.php file

I discovered this post recently. I just thought it was a great resource.

http://wordpress.stackexchange.com/questions/1567/best-collection-of-code-for-your-functions-php-file

Leave a comment »

WordPress Comments (comments.php file)

I recently needed to do a comments.php file for a WordPress template and found it pretty hard to get to the bottom of some of the newer coding principles. The comments.php file is possibly the most involved piece of a theme. WordPress 2.7 had brought in threaded comments and WordPress 3.0 added the comment_form() function. Read the rest of this entry »

20 Comments »