Archive for September, 2009
Custom Styling Wordpress Widgets
I love Wordpress because I learn more about PHP and how it works with every requirement that comes my way. One issue is with a Wordpress theme that has multiple widgets, and you want each section of widgets to be styled differently. Let’s say you have two sections of widgets on your website:
Sidebar (the basic [...]
Continued List of Why I Hate ‘XCode’ for Mac
This is a constantly updated list of why I hate the programming client in Mac called ‘XCode’.
You cannot find and replace. Seriously.
No line view? I’m spending all day counting down to line 400000.
September Upgrade Wordpress Due to Security Issues!
We’ve been getting a LOT of reports of people who’ve suddenly noticed their sites have some weird stuff in the URLs. Notably “eval” and “base64_decode“.
http://wordpress.org/support/topic/307652
http://wordpress.org/support/topic/297639
http://wordpress.org/support/topic/307518
So far, all of these reports (that I can find) have been on people running older versions of WordPress.
YOU NEED TO UPGRADE TO THE LATEST VERSION OF WORDPRESS.
Security updates are for [...]
Wordpress Author Link Open in New Window
Very frustrating the default Wordpress code allows Author links (found in Comments for example) to open in the same window. To change this open up the ../wp-includes/comment-template.php file and find the following:
$return = “<a href=’$url’ rel=’external nofollow’>$author</a>”;
And add
target=’_blank’
to the end. That is all. Now viewers will be able view the Author links while staying on [...]
Easier Syntax for C Loops
While it is common knowledge that to create a while loop in C you would use the following,
counter = counter + 1;
There are two even easier ways to do the above,
counter += 1;
and an even easier loop statement would be
counter++;
No WPMU site defined on this host. with Wordpress MU
This is a weird issue when trying to install the massive beast of WPMU on a shared server.
All you need to do is comment out two lines and will not look. Then you can install as usual.
open wp-blog-header.php, comment line 9 “if ( !file_exists( dirname(__FILE__) . ‘/wp-config.php’) && !file_exists( dirname( dirname(__FILE__) ) . ‘/wp-config.php’)) {”
then [...]
Follow my C Programming Language with me in Class
I am currently taking a C Programming Language class at my alma mater, The University of Louisville, in preparation for hours spent waiting for the door to be open before class starts. You can view my online class notes updated each Mon and Wed located here in my Google Doc for class notes. Also review [...]
C Variables
To use a variable in C Language, you must first declare a name and type. There are four types of variables with C Programming as we can see below,
int (stands for integer, i.e. 2, 44, 90, etc)
float (standing for floating point variable, i.e. 1.33, 2.44444, etc)
double (stands for double percision, a difficult way of saying [...]

