![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
|
New Webmasters ask "How-To" questions here. This is where other fucking Webmasters help. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Industry Role:
Join Date: Dec 2012
Posts: 184
|
WP Template Hierarchy - Same theme across entire taxonomy, but different info depending on term?
So far, I'm just throwing together a layout on one model, which you can see here, but eventually I want to roll it out across my entire model taxonomy. I'd like to do this by simply applying the theme to the model taxonomy(taxonomy-model.php), and not by creating a new template for each and every model in the taxonomy (taxonomy-model-asa-akira.php, etc etc etc)
But, I can't think of any other way to input unique information on to each individual models page without creating a new template for each model. Right now I can pull up their photo and name by grabbing the term slug. That will work the same for each and every model. How would I go about doing something similar with, say, their twitter page, official website, etc? Many other sites have profiles for each model, usually thousands of them, how do they do that? Is there some way to lay out every page like: <div class="profile"> <div class="twitter(code to grab slug)"></div> <div class="facebook(code to grab slug)"></div> <div class="officialsite(code to grab slug)"></div> </div> And have something similar to a css file this: Twitter: .model-one {twitter.com/model-one} .model-two {twitter.com/model-two} .model-three {twitter.com/model-three} .model-four {twitter.com/model-four} Official site: .model-one {model-one.com} .model-two {model-two.com} .model-three {model-three.com} .model-four {model-four.com} Having thousands of templates for each model would be a nightmare in the event of a redesign. If anyone has any idea on how to accomplish this, or can shed some light on how the big guys manage these links and information, I'd appreciate it. ~TT
__________________
www.tittytweaker.com |
![]() |
![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Industry Role:
Join Date: Jun 2007
Location: Western Canada
Posts: 89
|
Not on topic in regards to your template... but the content more so.
I get that this is an example.. and hey man, thanks for choosing Bryci but when you advertise our images... if you'd like to make some sales, I might suggest grabbing a code from bellacash.com to accompany the images. Perhaps a banner or two? ![]() The stuff you have listed is also 3 years old so not sure how well it's going to convert, you might want to try newer content. (I know, I know, an example)
__________________
BellaPass |
![]() |
![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed User
Industry Role:
Join Date: Dec 2012
Posts: 184
|
Hey! Thanks for pointing that out.
Back when I first started the site, I had a script that rotated banners underneath the galleries, that way they'd see a fresh banner for Bryci each time they visited one of her galleries. That script eventually quit working, and it appears I forgot to re add the banners manually. Sorry about that! I'll work on getting that sorted out. And yeah, the newer content will be put up eventually. I'm still kind of "finding my groove" when it comes to efficiently getting content onto the site in an organized fashion. Some things are in the works that will hopefully make that easier, so fingers crossed. I appreciate the reply. -TT
__________________
www.tittytweaker.com |
![]() |
![]() ![]() ![]() ![]() |