Author Archives: adria

To Do: Efficient, Future-Friendly Front End Strategy

Here’s a list of links of stuff I need to look into and implement. Fluid layout, responsive design, grid layouts, efficient CSS, mobile first strategy, reusable jquery tools. Object Oriented CSS stubbornella.org Object Oriented CSS on Github http://net.tutsplus.com/tutorials/html-css-techniques/object-oriented-css-what-how-and-why/ https://github.com/stubbornella/oocss/wiki CSS … Continue reading

Posted in css, web design | Leave a comment

An Event Apart SF 2011 – Resources and Sound Bites – Part 2

all presentations: http://aneventapart.com/2011/sanfrancisco/slides/ Using Flexible Boxes – Eric Meyer, author, CSS: The Definitive Guide, 3rd Ed. flexible boxes are sort of like tables, but behave much better and do cooler things. starting with: a list with list items (boxes of … Continue reading

Posted in Uncategorized, web design | Leave a comment

An Event Apart SF 2011 – Resources and Sound Bites – Part 1

All presentations: http://aneventapart.com/2011/sanfrancisco/slides/ Content First! – Jeffrey Zeldman, author, Designing With Web Standards, 3rd Ed. Good Design Begins With Content http://www.readability.com/ Progressive Enhancement – Add Layers of Experience http://easy-readers.net/books/adaptive-web-design/ Responsive Web Design http://www.abookapart.com/products/responsive-web-design http://designmodo.com/responsive-design-examples/ http://www.alistapart.com/articles/responsive-web-design/ http://10k.aneventapart.com/ http://futurefriend.ly “Mobile First” Approach … Continue reading

Posted in web design | Leave a comment

Dynamic Height Cross Domain Iframe postMessage Javascript

The task at hand was to embed a 3 page form from another domain as an iframe onto my domain. It is possible to do cross domain communication using the javascript method postMessage (not supported below ie8). The challenge was … Continue reading

Posted in Javascript | Leave a comment

Exclude custom post types from wordpress search – do not use exclude_from_search

I recently started using custom post types to create different types of articles I wanted to display on another site (not my main blog) via a feed. I created a custom post type called “articles”. These post types should not … Continue reading

Posted in Thesis, wordpress | Leave a comment

CSS Resources from Wordcamp SF 2011

A couple weeks ago I attended wordcamp sf, and got to hear some css heavy weights like Estelle Weyl and Chris Coyier present. Here’s a link dump of some their presentations as well as some resources they recommended: http://css-tricks.com/conferences/ConvergeSE2011Pseudos.pdf (Chris … Continue reading

Posted in css, css3 | Leave a comment

Color Numbers in Ordered List with CSS Counter() and :Before Pseudo-Element

I’m going to show you how to make an ordered list where the numbers are a different color than the text. This is commonly done with background images. But there is a way better way to do it, assuming you … Continue reading

Posted in css | Tagged , , | Leave a comment

How To Show The Full Content of Multi-Page/Paginated Posts in the Feed WordPress (content after nextpage tag)

When you are using the full content feed option in wordpress, if your posts are paginated using the nextpage tag, only the first part of the content before the nextpage tag shows up in the feed. In order to force … Continue reading

Posted in wordpress | Tagged , , | Leave a comment

How To Make An American Flag with CSS3 Gradients

I recently came across Lea Verou’s CSS3 gradient pattern gallery, and was inspired to try my hand at making a css3 gradient pattern. I decided to make an American flag. This is not strictly a background pattern, since it requires … Continue reading

Posted in Uncategorized, css3, gradients | Leave a comment

How To Automatically Add Categories to Posts in WordPress

I had a need to create a category feed that included almost every post, except for a few exceptions. Rather than having to manually check a category each time you post, why not have that category automatically get checked? I … Continue reading

Posted in Uncategorized, php, wordpress | Tagged , , , | Leave a comment

Add a custom link dropdown menu with custom links in WordPress Thesis

Thesis theme for WordPress has a built in feature that supports dropdown menus. All you have to do to create dropdown menu items in Thesis is create pages that are child pages (the dropdown list) of the the parent page … Continue reading

Posted in Thesis, wordpress | Comments Off

Best Search Plugin for WordPress – Relevanssi

The default search engine for wordpress is notoriously bad. It does not list your most relevant/best results first, but rather shows more recent posts first. It has no options for customizing and improving the search functionality. There are several plugins … Continue reading

Posted in wordpress | Tagged | Leave a comment

Basic MySQL Commands

Here’s a good resource for basic MySQL commands like logging in, looking at tables, deleting/modifying tables and rows. http://www.pantz.org/software/mysql/mysqlcommands.html

Posted in MySQL | Leave a comment

How to wrap element in CDATA for rss feed using XSLT

I was trying to create a new rss feed using XSLT, from an existing wordpress feed, processed by Java and displayed as a JSP. It seemed to work ok, but when I tried to put it into feedburner, the XML … Continue reading

Posted in Uncategorized, wordpress, xsl | Tagged , , , | Leave a comment

Position Fixed in ie6 – Div That Stays on the Bottom of the Browser Window

If you want to create a div that stays fixed on the bottom of the browser window, even when you scroll up and down, you can use position:fixed. The only problem is that ie6 doesn’t recognize position:fixed. A search for … Continue reading

Posted in ie6 | Leave a comment

How to print literal text and HTML entities in XSL

Use xsl: text disable-output-escaping=”yes”, with a CDATA element inside. Inside that you can put whatever you want. The code snippet plugin messes this up a little, but you get the point.

Posted in Uncategorized, xsl | Leave a comment

How to use gravatar to show the author image on author archive pages in wordpress

echo get_avatar(get_the_author_email(), ’72′ ); 72 is the size you want the image to appear, you can change it to any size you want. Add this code to your author archive file. In Thesis theme, add it to your custom_functions.php file … Continue reading

Posted in wordpress | Leave a comment

AJAX Load for Carousel Template – NextGen Gallery WordPress Plugin

The carousel template in NextGen Gallery by default uses a page load to navigate between each gallery image: http://nextgen-gallery.com/templates/carousel/ The post says “his could be optimized via a Ajax call, maybe someone pick up the idea.” But I haven’t been … Continue reading

Posted in Uncategorized, jQuery, php, wordpress | Leave a comment

How to increase the max upload size in wordpress

.htaccess method – add this line to top of .htaccess file php_value upload_max_filesize 50M change 50 to anything you want If the .htaccess method doesn’t work, you’ll have to edit your php.ini file. php.ini can be located in one of … Continue reading

Posted in php, wordpress | Leave a comment