scriptygoddess

Archive for the ‘Bookmarks’ Category

10 Feb, 2009

Run WordPress Locally

Posted by: Jennifer In: Bookmarks

I spent a very frustrating evening a few nights ago trying to get MySQL installed on my Mac laptop. I never got it working. I have really been wanting to develop stuff offline just to make things easier. I have plenty of web access to work with – still it would be nice not to [...]

In honor of "Thank a WordPress Plugin Developer" (yes, I know I'm a little late. hush!) I wanted to recognize some plugins and their developers that have made my job so much easier. (FYI – Most of these plugins are particularly helpful when using WordPress as a CMS). I know these kinds of lists have [...]

15 Jan, 2009

Wordpress wp_list_comments()

Posted by: Jennifer In: Bookmarks

I haven't done too much with Wordpress 2.7 until very recently. I was really surprised to see the new way of doing comments. The good news is that wp_list_comments() will list all comments, with threading, and nested replies, all by it's little self. You can turn the nested replies thing on/off from the Settings->Discussion page [...]

14 Jan, 2009

Color Tool

Posted by: Jennifer In: Color Tool Bookmarks

Here's another color tool to add to the list
HSL Color Schemer
Truth be told, I was sent that link too long ago to mention without being embarrassed. It's been sitting in my to do box to post the link since then. Doh!

14 Jan, 2009

Turn off Wordpress Post Revisions

Posted by: Jennifer In: Bookmarks

I know wordpress people believe making this an option is bad, but I really really wish they would. Make an "advanced" settings section that you have to turn on with your profile if need be. Whatever it is – this should be in the UI. In any case, I always have to do this, and [...]

01 Oct, 2008

Repeating backgrounds and IE

Posted by: Jennifer In: CSS related

There's probably a really good reason for this (actually, wait. We're talking about IE. Nevermind)
Just wanted to post a reminder to myself should I ever come across this weirdness again. I was working on a layout recently, and everything was working fine in Firefox, and everything was fine in IE except for one [...]

24 Jul, 2008

Show full post if there is no excerpt

Posted by: Jennifer In: Bookmarks

As the title said – needed to show the excerpt if there was one, or the *full* post if there wasn't (not the shortened version wordpress "fakes")
remove_filter('get_the_excerpt', 'wp_trim_excerpt');
if (get_the_excerpt() == "") {
echo apply_filters('the_content',get_the_content());
} else {
echo apply_filters('the_content',get_the_excerpt());
echo '<p><a href="'.get_permalink().'">Read more…</a></p>';
}
Updated 8/11/08 Made some changes to the code. Excerpts were coming in unformatted, also removed some extra [...]

"Why am I getting that Javascript error?? WTH is it talking about – submit IS a function!!"
So here's the deal – if you have a form and an element in the form is named "submit" – if you try to call document.myform.submit() – you'll end up getting the "submit is not a function" javascript error. [...]

03 Sep, 2007

document.getElementById … has no properties

Posted by: Jennifer In: Bookmarks

This isn't a big deal, but it was something I was fighting with for a bit. If you're trying to set the properties of a DIV via javascript, and you're getting the "document.getElementById("mydiv") has no properties" javascript warning, there's probably two big things that will cause it.
1) you didn't set the id.
Go back and make [...]

18 Aug, 2007

Kudos to W3Schools

Posted by: Jennifer In: Bookmarks

Whenever someone asks me for tutorials on one thing or another, I think the first link I send them is w3schools. Recently, one of my clients was asking if I could do XSLT to format their XML document. I've heard about XSLT, I even get the basics of XML, and or course I understand HTML [...]


Featured Sponsors


  • Michael: You can use get_header(2) in your case. The filename of your custom header has to be header-2.php. The problem with include(your_file.php) is, all
  • cliff: hi wonder if you can help me, pls i designed www.kouga.mobi using dreamweaver CS3 and now want to make the phonenumbers into links so that if you
  • jerey: how do i rewrite this because it tried RewriteEngine on #Options +FollowSymlinks RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FIL

About


Advertisements