| bio | website | moefoster.com |
|---|---|---|
| location | ||
| age | ||
| visits | member for | 1 year |
| seen | May 27 at 5:36 | |
| stats | profile views | 1 |
|
Jul 31 |
awarded | Scholar |
|
Jul 31 |
accepted | Display tags that only appear in one category |
|
Jul 31 |
comment |
Display tags that only appear in one category Perfect, you're a legend. It's not urgent at all, more of just a learning exercise to see what other way there is to do it. Thanks so much for all your assistance. |
|
Jul 31 |
comment |
Display tags that only appear in one category Getting there... Errors have disappeared, but now it's just printing 'Read posts about' over and over. It's printed it ~130 times, which is weird because there's only 90 tags total on the whole site. Although maybe that's getting all tags from all the posts in that category, which means there would be dupes. You can take a look here if you need: beatexplorers.com/testpage |
|
Jul 31 |
awarded | Student |
|
Jul 31 |
comment |
Display tags that only appear in one category I was getting some syntax errors (and still am) trying to get this code to run. It wouldn't execute at all, so i had to change array ( 'tag' -> $posttag ) to array( 'tag' => $posttag ) and am now getting a bunch of these:
Warning: strpos() expects parameter 1 to be string, object given in /home/beatex/public_html/wp-includes/query.php on line 1787
Warning: preg_split() expects parameter 2 to be string, object given in /home/beatex/public_html/wp-includes/query.php on line 1788
Any ideas?
Thanks for your help so far! |
|
Jul 30 |
comment |
Display tags that only appear in one category Sorry, I should have mentioned that the code is being run on pages, so it doesn't have any categories assigned to it. I'd also like to avoid that because I don't want to have these list pages coming up in category pages. |
|
Jul 30 |
awarded | Editor |
|
Jul 30 |
revised |
Display tags that only appear in one category Fixed grammar. |
|
Jul 30 |
asked | Display tags that only appear in one category |