33 reputation
5
bio website
location
age 25
visits member for 1 year, 8 months
seen Mar 25 at 22:19

Dec
3
awarded  Supporter
Dec
3
awarded  Teacher
Dec
3
answered Add title for previous and next posts to Yoko Theme
Dec
3
awarded  Scholar
Dec
3
accepted Wordpress - Creating multiple versions of the same single-customtype.php depending on selected taxonomy categories
Dec
3
comment Wordpress - Creating multiple versions of the same single-customtype.php depending on selected taxonomy categories
I saw you updated. I can confirm that everything works now :)
Dec
3
awarded  Commentator
Dec
3
comment Wordpress - Creating multiple versions of the same single-customtype.php depending on selected taxonomy categories
string 'web' (length=3) string 'web-design' (length=10)...when viewing a client that i have placed in 3 taxonomy cats, it spits out: string 'web' (length=3) string 'logo-design' (length=11) string 'video-production' (length=16) string 'web-design' (length=10) (when viewing web-design version)...so it seems to list them in order somehow, logo-design being first defaults to the logo-design template..?
Dec
3
comment Wordpress - Creating multiple versions of the same single-customtype.php depending on selected taxonomy categories
Yes, URL changes. I am on /web-design/project-name but for some reason its showing this project's logo template (project is under both web and logo taxes). It says 'int 1'. ALso, when I view a project that is ONLY a part of /web-design/, it's showing the correct template.
Dec
3
comment Wordpress - Creating multiple versions of the same single-customtype.php depending on selected taxonomy categories
ok that looks like it did something - the templates are being picked up. var_dump( $wp->matched_query ); spits out: string 'clients_categories=logo-design&clients=this-is-test&page=' when viewing a client on logo-design taxonomy. there is a different problem which is one client is part of two taxonomies, both logo and web design. if you view the project from category page for logo design it spits out my unique code for logo, but if u click on web design it's still showing the logo-design template...
Dec
3
comment Wordpress - Creating multiple versions of the same single-customtype.php depending on selected taxonomy categories
Yes, i'm using add_filter( "clients_template", "get_clients_correct_template", 1000 ); turning on WP_DEBUG displays nothing :(
Dec
3
comment Wordpress - Creating multiple versions of the same single-customtype.php depending on selected taxonomy categories
hmm weird if i echo anywhere in the function get_clients_correct_template($single_template) i don't see anything on the front end...
Dec
3
comment Wordpress - Creating multiple versions of the same single-customtype.php depending on selected taxonomy categories
doesn't echo out anything for me - i am viewing a client
Dec
3
comment Wordpress - Creating multiple versions of the same single-customtype.php depending on selected taxonomy categories
I got it working, except for the templates. Wow this is cool man...just now have to get the templates working
Dec
3
comment Wordpress - Creating multiple versions of the same single-customtype.php depending on selected taxonomy categories
What should the permalink structure be? I am just using 'post-name'?
Nov
30
comment Wordpress - Creating multiple versions of the same single-customtype.php depending on selected taxonomy categories
I tried the code but it doesn't seem to be working. Do I have to query anything specific on the taxonomy category pages to tie into this function?
Nov
30
awarded  Student
Nov
30
comment Wordpress - Creating multiple versions of the same single-customtype.php depending on selected taxonomy categories
If we don't use this method, administrator will need to create multiple posts for one client such as: Client Logo Client Web Client Video Which will result in a lot of unorganized content. It'd be much easier to create one post on client, and when editing this post, be able to input content for each category - logo, web, video.
Nov
29
asked Wordpress - Creating multiple versions of the same single-customtype.php depending on selected taxonomy categories