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 » Montezuma Theme »

Working With Postformats


  #1  
Old Feb 18, 2016, 03:04 PM
flyboy's Avatar
flyboy
 
115 posts · Sep 2010
Working With Postformats

I want to create a postformat for podcast type of posts, and I am 100% clear on how to do that in Montezuma. What I don't know is how to give a user the ability to mark his/her post as a podcast postformat in the WYSIWYG interface when creating a post.

Custom postformats I created simply do not get listed anywhere in the interface, so how is Montezuma to know that a given post is of a custom postformat? (the reason this is needed is because the homepage was designed to display a single post of each custom postformat I created)


Last edited by flyboy; Feb 18, 2016 at 07:27 PM.
  #2  
Old Feb 18, 2016, 05:52 PM
CrouchingBruin's Avatar
CrouchingBruin
 
299 posts · Aug 2010
Santa Monica, CA
I've looked into this before, and I don't think you can define your own post formats, you are limited to the 9 special ones, i.e., Wordpress is only going to look for the presence of one of those nine, and if it doesn't find one, it defaults to the standard postformat.php. Are you using the audio post format for anything? If not, then you can create a subtemplate called postformat-audio.php and have your users pick Audio for podcasts.
__________________
My Montezuma-themed sites: ESHS Girls Basketball Team, Venice Hongwanji Buddhist Temple
Please consider making a donation to BytesForAll for their great themes!
  #3  
Old Feb 18, 2016, 06:54 PM
flyboy's Avatar
flyboy
 
115 posts · Sep 2010
Based on what is documented in the theme itself (image below) I'm pretty sure that can be done.

However the documentation doesn't provide any instructions for what needs to be done to have the described custom postformats appear in the interface.

The ability to create custom postformats without the handle to call them into a post would be kind of pointless, so I'm sure there is a way to do it. I'm just not having much luck in finding it


Last edited by flyboy; Feb 18, 2016 at 07:24 PM.
  #4  
Old Feb 18, 2016, 07:00 PM
CrouchingBruin's Avatar
CrouchingBruin
 
299 posts · Aug 2010
Santa Monica, CA
Scroll all the way down to the bottom of that same page and read the paragraph labeled Including Post Format templates. So you can create a template called myformat-video.php, but not myformat-podcast.php, because it won't look for podcast as one of the nine special formats.
__________________
My Montezuma-themed sites: ESHS Girls Basketball Team, Venice Hongwanji Buddhist Temple
Please consider making a donation to BytesForAll for their great themes!
  #5  
Old Feb 18, 2016, 07:22 PM
flyboy's Avatar
flyboy
 
115 posts · Sep 2010
No cigar =(

I just created this postformat:


Yet, this is still all I see in the "add a Post" interface (no new custom type of video is listed, so no way to call it in):


Last edited by flyboy; Feb 18, 2016 at 07:27 PM.
  #6  
Old Feb 19, 2016, 07:33 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
Wordpress doesn't allow new formats (see http://codex.wordpress.org/Post_Formats)
Quote:
The Post Formats feature provides a standardized list of formats that are available to all themes that support the feature. Themes are not required to support every format on the list. New formats cannot be introduced by themes or even plugins. The standardization of this list provides both compatibility between numerous themes and an avenue for external blogging tools to access this feature in a consistent fashion.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Bookmarks

Tags
custom postformat, postformat

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] page align not working IE, but working in other browsers + headers not rotat mafgirl Atahualpa 3 Wordpress theme 12 Sep 21, 2010 11:38 AM
Following widget not working properly, followers working marced Sidebars & Widgets 0 Apr 4, 2010 05:01 AM


All times are GMT -6. The time now is 08:31 AM.


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