| bio | website | kristinachilds.com |
|---|---|---|
| location | Seattle | |
| age | ||
| visits | member for | 8 months |
| seen | Jan 9 at 17:54 | |
| stats | profile views | 43 |
|
Nov 13 |
comment |
Custom post types not using archive structure Found it. For some odd reason it's using page.php. I can force it to use a certain template, but would like to know what is going wrong to cause it to use this instead of the archive page. |
|
Nov 13 |
comment |
Custom post types not using archive structure On that line of thought, I changed 'rewrite' => array('slug' => 'artists') to 'rewrite' => true and flushed the permalinks. That at least got it to come up as site.com/cpt/ which is a start. So I changed it back to 'rewrite' => array('slug' => 'artists') and now it's coming up as site.com/artists/ but it's not using the archive template or archive.php. I'm in the process now of trying to figure out what file it's using, but I have body text in all the docs saying what the filename is and I don't see that anywhere on the page. Strange. |
|
Nov 13 |
comment |
Custom post types not using archive structure that didn't work :( |
|
Nov 13 |
asked | Custom post types not using archive structure |
|
Nov 12 |
comment |
function to return comma separated list of meta values I'm learning :) That's the main reason I am doing this by hand instead of searching for a plethora of plug-ins. Thanks again! |
|
Nov 12 |
accepted | function to return comma separated list of meta values |
|
Nov 12 |
comment |
function to return comma separated list of meta values JOIN!! Thank you so much. I tried so many variations of print, echo, implode, etc, just throwing spagetti at the wall. join is new to me and that did the trick. Only for anyone else this will help, the "true" needs to be removed :) (I assume that was a typo). |
|
Nov 12 |
comment |
function to return comma separated list of meta values Short answer? I have no idea. I've cobbled together pieces of code from the interwebs to achieve something way outside of my skill set. All I know is that it works... well, this one problem aside. by var_dump( $gear ) are you referring to the single post code? $gear is a custom field I've set up so the gear each artist uses can be attached to their profile. |
|
Nov 12 |
asked | function to return comma separated list of meta values |
|
Nov 12 |
comment |
Get parse_query filter to return slug instead of id Beautiful! Thank you so much! |
|
Nov 12 |
accepted | Get parse_query filter to return slug instead of id |
|
Nov 10 |
comment |
Loop after page content After doing some more work on this I still don't think the end result is understood. I already use category-slug.php to display things, like a query for a genre within the podcast category. However I am specifically referring to a PAGE. Not a post. The PAGE in this theme pulls up the static content describing what the podcast is all about, just like the "About" or "Contact" page displays static content. Only in 2.9 I was also able to run a query to show the most recent 10 or so episodes as well. So yes, you are right, but that's not the end goal here. In this case, the query is secondary. |
|
Nov 10 |
comment |
Listing custom post types on archive page with array I changed the category slug, changed the working category-artists.php to archive-band_artists.php and now it pulls up nothing. Doesn't look to be a category name issue. I'm stumped. Sometimes with permalinks you need to flush it to reset. Does categories have a similar idiosyncrasy? |
|
Nov 10 |
asked | Get parse_query filter to return slug instead of id |
|
Nov 9 |
accepted | Sorting custom post types in edit.php : Post disappear |
|
Nov 9 |
comment |
Sorting custom post types in edit.php : Post disappear ...i think i just answered my own question here. Thanks blush |
|
Nov 9 |
comment |
Sorting custom post types in edit.php : Post disappear Or this tutorial only allows to sort by metadata and not any column data in the table? |
|
Nov 9 |
comment |
Sorting custom post types in edit.php : Post disappear Okay, so it seems I have confused taxonomy slugs with category slugs. With regard to the other, though, I followed this tutorial which seemed to work for a host of other people. Did I just follow it incorrectly? justintadlock.com/archives/2011/06/27/… |
|
Nov 9 |
asked | Sorting custom post types in edit.php : Post disappear |
|
Nov 9 |
comment |
Listing custom post types on archive page with array The same slug, yes, but it is attached to that custom post type... carried over from the original setup. But it's supposed to look for a custom post type first and didn't want to make significant changes before I was sure this worked. sigh catch-22. Good point, though. I'll check it out. |