Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Jul 17th, 2012  |  syntax: None  |  size: 0.28 KB  |  hits: 9  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. $description = term_description();
  2.            echo $description; // This is a test to see if I get the data. and I do
  3.            $new_string = preg_replace('#(.+?),(.+?)#', '\\1 \\2', $description);
  4.            $array_of_images = explode( $new_string, ' ' );
  5.            echo '<p>'.$array_of_images[0].'</p>';