Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

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, 01:13 AM
greggman
 
3 posts · Feb 2010
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, 07:07 AM
juggledad's Avatar
juggledad
 
23,596 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, 07:29 AM
lmilesw's Avatar
lmilesw
 
10,174 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, 11: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, 11: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

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


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 09:54 AM
Change category template rics Atahualpa 3 Wordpress theme 0 Oct 25, 2009 03:51 PM
Topic / Category Template baszero Atahualpa 3 Wordpress theme 1 Oct 9, 2009 06:19 AM
Page Template and Category Templates baszero Atahualpa 3 Wordpress theme 3 Oct 7, 2009 07:27 AM
[SOLVED] What does ATO means ? Djangos Header configuration & styling 1 Aug 1, 2009 10:50 AM


All times are GMT -6. The time now is 12:47 AM.


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