Jennifer Zelazny

Random and Opinionated Thoughts

Tag: Hints

Hints Ideas

WordPress Wednesdays: Where to Begin

Posted by: Jennifer Zelazny | 0 Comments

A lot of people want a web site or a blog but do not know where to start or what all WordPress has to offer. If you are looking for a great, easy to use system to publish content on the web – I would start here: Start Free. If you want to simply check out WordPress and see what is made of – sign up for a free account at wordpress.com You can choose from several free themes (look and feel) and have no worries about backup, hosting, etc. This will allow you to focus on the content and... Read More » Read more

Featured HOWTOs WordPress

WordPress Wednesdays: It is All About the Query

Posted by: Jennifer Zelazny | 0 Comments

My last ten or so projects I have been working on all have a common theme: maximize WordPress’s ability to be a powerful CMS. Clients more and more are coming to me with the need to create a custom fields which they can store/query data throughout their site. WordPress is completely customizable and because of this – it is easy to add custom fields to any post or page and then use the data put in them throughout the page. Example: You have all your clients listed on your web site – and have created profile pages for them. Not... Read More » Read more

Hints HOWTOs Web Development

PHP 4 or PHP 5? You Pick the Flavor

Posted by: Jennifer Zelazny | 0 Comments

I recently ran into a situation where there were two versions of PHP on a server and I needed to make sure PHP 5 was being used. To pick the version – all you need to do is add the following into your .htaccess file (assuming you do not have access to your httpd config): For PHP 5: AddType application/x-httpd-php5 .php For PHP 4: AddType application/x-httpd-php4 .php It does not get much more easier than that! Read more

CSS Featured Web Development WordPress

Quick CSS for WordPress Images (Updated)

Posted by: Jennifer Zelazny | 0 Comments

A week or so ago, I posted some information on how to quickly style your WordPress images. After recently updating my company’s web site (SDAC Inc. – I noticed if you used captions, my custom CSS would not work. Here is some CSS that will work with and without image captions: The difference? I used img.align.. which worked if you did not use captions, but if you use caption, there is an outer div class called align… The more generic CSS posted here takes care of both issues. Read more

CSS Featured Hints HOWTOs HTML/XTML jappler.com Web Development WordPress

Quick CSS for WordPress Images

Posted by: Jennifer Zelazny | 3 Comments

If you install WordPress and use the media uploader to manage your images in your posts – you can easily style your images quickly by adding the following code to your theme’s stylesheet. This code will set up your images to float appropriately, as well as give a nice border as seen below. Note* This information is now updated: Updated CSS Read more

Hints HOWTOs WordPress

Find and Replace With phpMyAdmin (or using SQL)

Posted by: Jennifer Zelazny | 2 Comments

Ever need to find and replace something in your WordPress database? (perhaps you changed domain names and have the old domain name or folder structure hard coded into some of your posts) You can easily update your database by using phpMyAdmin or by using the following code in any SQL interface: The first part of the command says “update the database table wp_posts” (where your content is stored). The later part of the command says “use the field “post_content” (where all your actual post content is stored” and then find “http://olddomain.com/blog” and replace it with “http://newdomain.com”. You can find anything... Read More » Read more

Business Hints HOWTOs

How to Get Stuff Done

Posted by: Jennifer Zelazny | 3 Comments

The last few weeks I have been extremely busy and on top of that I have been dealing with a sick child and also being sick myself. There is no time to be wasted so efficient use of the time I had was crucial. I feel that since owning my own business, I have had to work very hard to make the most of my time and have a few tips: Focus on 1-3 big tasks per day. Any more tasks than 3 will most likely cause you to spend too much time switching gears. I have begun making a... Read More » Read more

CSS Hints HOWTOs Javascript Web Development

Add a "Pseudo" Pseudo Class Hover in Inline CSS.

Posted by: Jennifer Zelazny | 5 Comments

I have been busy this week with a few really cool projects – one of them to create a widget for any site that will show the latest news items from a RSS feed – while not limiting the widget to servers with PHP. After putting that together, I had to add inline CSS to style the feed output. Everything looked great but I could not figure out how to add a :hover to an inline style…until I realized I could fake it by adding some basic javascript: onmouseover and onmouseout to change the font color. Read more

Hints jappler.com

repairing a mysql table

Posted by: Jennifer Zelazny | 1 Comment

I have run into some database problems over the years, but had to do something different today when I saw that this site had a problematic table (wp_posts). When I looked at the issue first, I got the message “MySQL error code 145 = Table was marked as crashed and should be repaired”. To repair a table, I have run (at a mysql prompt in the command line): REPAIR TABLE wp_posts; but today that did not work. After doing some research, I finally was able to fix the table by using: myisamchk -r wp_posts (see documentation. This was a lifesaver! Read more