Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Center area post/pages »

[SOLVED] Different template for single posts by category or other means


  #1  
Old Feb 24, 2010, 12:13 AM
greggman
 
3 posts · Feb 2010
Smile [SOLVED] Different template for single posts by category or other means

I'm converting my blog from custom software to Wordpress and using Atahualpa. It's great!

Is it possible to have single posts display differently depending on their category?

Among my various categories have 2 special categories, "Photos" and "Splash". For "photos" posts I want nothing but next/prev and comments. No sidebars, no header, no footer. For "Splash" posts I want noting but the content of the post.

Is there any way to accomplish this? Categories? Tags? Extra data?

Thank you for helping me out.
  #2  
Old Feb 24, 2010, 06:07 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
You could create a PAGE called 'photos' and then use one of the plugins to display your photos. You can then control the items (sidebars, style) for this PAGE.

Doing it by category would be difficult since any post can be in multiple categories. While you can identify the POST by it's category name, the PAGE it is displayed on doesn't know the category so you can't style the PAGE (sidebars, background etc)
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Feb 24, 2010, 06:29 AM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
If you are just looking for a way to have a post show up a bit differently the Custom Post Background plugin will allow you to have a different background on an individual post.
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #4  
Old Feb 24, 2010, 10:11 PM
greggman
 
3 posts · Feb 2010
That's disappointing. I need the each photo to be a post as they have individual user comments associated with each photo, and I need them displayed with a separate style (no sidebars) because they are too big to fit in the main style with side bars. Plus the sidebars, header and footer would detract from the photos.

I guess I could put them on a separate wordpress installation but that seems like overkill just to be able to have some photos.

Hmmm, maybe I can use the Custom Post Background plugin and use CSS to make the sidebars and header be "display: none;". I'll give it a try.
  #5  
Old Feb 24, 2010, 10:34 PM
greggman
 
3 posts · Feb 2010
solved:

Your suggestion of "Custom Post Background" lead to a search in which I found "Custom Post Template"

Thank you for your help.

Bookmarks



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Recent posts of same category, on single post pages GeoParadise Atahualpa 3 Wordpress theme 10 Apr 19, 2010 08:54 AM
Change category template rics Atahualpa 3 Wordpress theme 0 Oct 25, 2009 02:51 PM
Topic / Category Template baszero Atahualpa 3 Wordpress theme 1 Oct 9, 2009 05:19 AM
Page Template and Category Templates baszero Atahualpa 3 Wordpress theme 3 Oct 7, 2009 06:27 AM
[SOLVED] What does ATO means ? Djangos Header configuration & styling 1 Aug 1, 2009 09:50 AM


All times are GMT -6. The time now is 10:57 PM.


Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.