jondownin
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Taxonomy image link helpThanks man! That last change totally made it functional! Really appreciate it!
Forum: Fixing WordPress
In reply to: Taxonomy image link helpOkay, found a big error on my part. I didn’t have the taxonomies registered in my test theme. Now, after registering the taxonomies in my function.php, nothing shows up where the code should execute.
Here the code output by the code you said to insert before the loop:
array(3) { [39]=> object(stdClass)#185 (10) { ["term_id"]=> string(2) "39" ["name"]=> string(16) "Anthony Gallegos" ["slug"]=> string(16) "anthony-gallegos" ["term_group"]=> string(1) "0" ["term_taxonomy_id"]=> string(4) "2031" ["taxonomy"]=> string(6) "people" ["description"]=> string(0) "" ["parent"]=> string(1) "0" ["count"]=> string(2) "61" ["object_id"]=> string(5) "11363" } [429]=> object(stdClass)#186 (10) { ["term_id"]=> string(3) "429" ["name"]=> string(11) "Arthur Gies" ["slug"]=> string(11) "arthur-gies" ["term_group"]=> string(1) "0" ["term_taxonomy_id"]=> string(4) "2030" ["taxonomy"]=> string(6) "people" ["description"]=> string(0) "" ["parent"]=> string(1) "0" ["count"]=> string(2) "41" ["object_id"]=> string(5) "11363" } [40]=> object(stdClass)#196 (10) { ["term_id"]=> string(2) "40" ["name"]=> string(16) "Matt Chandronait" ["slug"]=> string(16) "matt-chandronait" ["term_group"]=> string(1) "0" ["term_taxonomy_id"]=> string(4) "1973" ["taxonomy"]=> string(6) "people" ["description"]=> string(0) "" ["parent"]=> string(1) "0" ["count"]=> string(2) "48" ["object_id"]=> string(5) "11363" } }
Thanks for sticking with me on this. I appreciate the help!
Forum: Fixing WordPress
In reply to: Taxonomy image link help…and triple.
Forum: Fixing WordPress
In reply to: Taxonomy image link helpOops, double post. Damn.
Forum: Fixing WordPress
In reply to: Taxonomy image link helpHere is my current code that returns “../people//”:
<h3><b>Posted in:</b></h3> <?php foreach((get_the_terms($post->ID, 'people')) as $tax) { $taxname =$tax->slug; echo "<a href=\"/people/"; echo $taxname; echo "/\">"; echo "<img src=\"/wp-content/themes/gtd1.0/images/"; echo $taxname; echo ".jpg\" alt=\"$tax category image\" border=\"0\" /></a>\n"; } ?><br />
Forum: Fixing WordPress
In reply to: Taxonomy image link helpCaught that, changed it and it still isn’t quite functioning. Now instead of “…/people/person” I’m just getting “…/people//”. Thanks for the insight though.
Anyone else have any ideas?
Forum: Fixing WordPress
In reply to: Images disappeared from Media Library (issue/hack?)No go. Time to call my host I guess. Thanks for all the suggestions Mark.
Forum: Fixing WordPress
In reply to: Images disappeared from Media Library (issue/hack?)Twitter Tools recently updated, but I disabled it to no avail.
Forum: Fixing WordPress
In reply to: Images disappeared from Media Library (issue/hack?)Thanks. I gave those suggestions a go, and no dice. ??
Forum: Fixing WordPress
In reply to: Images disappeared from Media Library (issue/hack?)Oops, now realized that this is in the wrong heading. Uh, should I repost in the appropriate place?
Forum: Fixing WordPress
In reply to: Post thumbnails & custom taxonomiesSorry for the bump, but the post is over a day old and sufficiently buried. 1 last time, anyone have any help?