Wordpress Themes - WP Forum at BFA
Click Here To DONATE! Support the theme development, get more attention and additional benefits based on your donation level. Your forum name will be highlighted.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » New Versions, & Updating »

Post Formats (Wordpress 3.1+)


Build custom WP THEMES, without
coding.
Click here for THEMEFRAME

From the author of Atahualpa, the #1 most
downloaded (700,000+) theme @ wordpress.org
  #1  
Old May 4, 2011, 10:58 AM
Mikeylito
 
4 posts · Aug 2009
Bay Shore, NY / Long Beach, CA
Send a message via ICQ to Mikeylito Send a message via AIM to Mikeylito Send a message via Yahoo to Mikeylito Send a message via Skype™ to Mikeylito
How has Atahualpa implemented support for the new post formats feature?
If it hasn't yet been implemented, are there plans to implement it in the future?

Ciao for now!
Mike
  #2  
Old May 4, 2011, 03:18 PM
lmilesw's Avatar
lmilesw
 
9,381 posts · Jul 2009
Central New York State USA
Not sure what the plans are for the theme but many plugins already use that feature and you can add there are plugins that let you add your own custom post types.
__________________
~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.
  #3  
Old Jun 28, 2012, 07:15 PM
Sonja
 
3 posts · Jul 2010
S.F. bay area
Larry,

"post formats" are not the same as custom post types. Post formats are a standard set of formats added in WP3.1 that include:
aside
gallery
link
image
quote
status
video
audio
chat

The are added via call to "add_theme_support". One would normally style them with some css and possibly a little php.

Lack of support by Atahualpa for new WordPress core functions is a major issue for many of us going forward.

Is there any chance they will be added?

-Sonja
  #4  
Old Jun 28, 2012, 08:16 PM
juggledad's Avatar
juggledad
 
19,989 posts · Mar 2009
OSX 10.6.8/10.7.3 WP 2.8.x/2.9.x/3.x Atahualpa 3.5.x/3.7.x Safari 5.x Firefox 11 XP
Check out http://jeffsebring.com/wordpress/plu...ormats-plugin/
  #5  
Old Jun 29, 2012, 12:01 PM
juggledad's Avatar
juggledad
 
19,989 posts · Mar 2009
OSX 10.6.8/10.7.3 WP 2.8.x/2.9.x/3.x Atahualpa 3.5.x/3.7.x Safari 5.x Firefox 11 XP
You can also edit function.php and add the following just before the last line
HTML Code:
add_theme_support( 'post-formats', array( 'aside', 'chat', 'gallery', 'image', 'link', 'quote', 'status', 'video', 'audio' ) );
Now you can add CSS Inserts based on the class format-xxxxxxxx where xxxxxxxx is one of the new formats like 'format-aside' or 'format-standard'
  #6  
Old Apr 15, 2013, 06:31 PM
swimflyfast2's Avatar
swimflyfast2
 
102 posts · Aug 2010
Horse Country in Virginia
I'd love to see some examples that people come up with. Show off and show code
  #7  
Old Apr 16, 2013, 09:55 AM
Mikeylito
 
4 posts · Aug 2009
Bay Shore, NY / Long Beach, CA
Send a message via ICQ to Mikeylito Send a message via AIM to Mikeylito Send a message via Yahoo to Mikeylito Send a message via Skype™ to Mikeylito
Two plugins are making things a little simpler.

The first, WP Post Formats from Ben Casey, adds that code that juggledad referred to without we having to make the modifications to functions.php. One less thing to worry about when upgrading the theme.

The second, CF Post Formats from Alex King and Crowd Favorite, modifies the user interface on the post entry page to give users an idea of what data can be included.

Now, if I can just get some guidance on how to style post-formatted entries, I'll be... in like Flynn.

I'm looking at post-formatted samples on the blogs of Matt Mullenweg and Justin Tadlock to get some ideas about styling. Tadlock, in particular, writes about post formats on his blog. If you want to look at those entries, you can browse his archives or enter "post formats site:justintadlock.com" at your favorite search engine to find those posts.

Anyone that has any suggestions on styling Atahualpa to handle post-formatted entries, especially asides, quotes, status, all of which could exclude a header on the displayed page.


Ciao for now!
Mike

Last edited by Mikeylito; Apr 16, 2013 at 09:58 AM.
  #8  
Old Apr 16, 2013, 11:05 AM
Mikeylito
 
4 posts · Aug 2009
Bay Shore, NY / Long Beach, CA
Send a message via ICQ to Mikeylito Send a message via AIM to Mikeylito Send a message via Yahoo to Mikeylito Send a message via Skype™ to Mikeylito
Some additional information can be found in the Wordpress Codex article "Post Formats", including answers to some questions I had about how to style post-formatted entries without a header.

Ciao for now!
Mike
  #9  
Old Apr 16, 2013, 12:36 PM
Mikeylito
 
4 posts · Aug 2009
Bay Shore, NY / Long Beach, CA
Send a message via ICQ to Mikeylito Send a message via AIM to Mikeylito Send a message via Yahoo to Mikeylito Send a message via Skype™ to Mikeylito
In my first experiment executing Post Formats on my blog, I tackled the format "aside" which is generally styled without a header. At first, I was confused how I could make the header disappear, but using Juggledad's comment as a clue and doing some reading in that WordPress Codex article I referred to above, I came up with the following code.

Code:
/* Added 16 April 2013 - Post Formats */

.format-aside .post-headline,
.format-aside .post-byline {
	display: none;
}

.format-aside .post-kicker {
	font-weight: bold;
}
The display: none; CSS entry causes whatever items are styled with that entry to "disappear". I had to look into functions.php to find the proper CSS classes to style, but upon making that discovery, it was easy to code.

One thing I would like to do in keeping with the styling of asides, as implemented by Mullenweg and Tadlock, was to place the Infinity symbol (∞) at the end of the aside with the permalink of the aside "embedded" in the symbol. However, if I'm correct, there's no way to do this without making changes to index.php.

Two questions.
  1. Is that correct?
  2. Wouldn't this be a good use for a child theme?

Ciao for now!
Mike

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Child themes, CSS formats, and shortcodes... RonCrocker Atahualpa 3 Wordpress theme 1 Oct 16, 2010 08:39 PM
Date Formats in Post Bylines bseppa Post-Kicker, -Byline & -Footer 8 Mar 26, 2010 04:13 PM
Switching permalink formats - how to avoid Error 404 page not found?? Eve Comments, trackbacks & pings 5 Dec 5, 2009 03:22 PM
Keeping formats consistent with main page Newdust.com Atahualpa 3 Wordpress theme 5 Nov 16, 2009 09:47 AM
WordPress Problem with Add New Post - Missing Buttons digitalRobbie Post-Kicker, -Byline & -Footer 2 Apr 11, 2009 12:27 PM


All times are GMT -6. The time now is 02:29 PM.


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