styling, Tech Support, WordPress
If you’ve ever needed to remove the title header from a specific WordPress page you can do it using custom CSS. No additional plugins required. Copy and past the code below updating “.page-id-###” to reflect the ID# of your post or page.
/* Enter your remark here about why you’ve added this custom CSS */
.page-id-### .page-header {
display: none;
}
styling, Tech Support, WordPress
The WordPress search form widget is seriously ugly. This custom CSS will give you some control over the search widget only a mother could love.
.searchform input[type=”text”]{
width: 100%;
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
border-radius: 2px;
}
.searchform input[type=”submit”]{
padding:5px 15px;
background:#FFF;
border:0 none;
cursor:pointer;
-webkit-border-radius: 2px;
-moz-border-radius: 2px
border-radius: 2px;
}
Tech Support, WordPress
I like using the WordPress plugin “Fancybox” to add clean fly out effects to images, PDFs, and YouTube videos. I noticed depending on the theme I was using sometimes you would click a newly inserted image and FancyBox worked other times it took you to an attachments page for the image. That’s when it hit me. For FancyBox to function correctly the link to the image has to be set as “file URL”. It also dawned on me that some of my themes defaulted to “file URL” while others defaulted to “attachment URL”
To set your default image link URL to “file” add the bit of code below to your functions.php file.
update_option('image_default_link_type','file');
(Via WordPress Forum link Submitted by Adam Capriola)
Tech Support
The other day I was playing around with my wordpress MySQL install on an Ubuntu 9.10 server. It didn’t take long before the only thing showing up in my browser was “Error Establishing a Database Connection”. Damn I had managed to mess up WordPress and it’s sweet 5 min no hassel install. Everyplace I’d looked for help told me to review the settings in my wp-config.php file. …and since it was my server, my wordpress, and my mySQL, I could only blame the A-hole who messed it up. Me. (more…)