Tag Archives: PHP

How to Tell if Your WordPress Widget is Active

Ever wonder if your widget is activated on an external site? Here’s how to find out. When you register a sidebar widget, you use code like this: register_sidebar_widget(array(‘Name of Widget’, ‘class-of-widget’), ‘widget_function’); If you want to check whether the widget … Continue reading

Posted in Web Development, WordPress | Tagged , , , , , , , | 4 Comments

Setting Far Futures Expires in ASP, Using ASP as CSS

I normally don’t work with ASP; I use PHP for my coding. Recently, I had to create a style.css.asp file, and I needed to find how to set a far-futures header in ASP.  Here’s what I found in 5 minutes :

Posted in Code | Tagged , , , | Leave a comment

Use .htaccess to make all your HTML files PHP

Note: the following will not work on all server configurations, which may be why you’re using SSI in the first place. Call your server administrator/tech support and see if the following techniques are supported. Escape static HTML If you want … Continue reading

Posted in Code | Tagged , , , , , | 11 Comments