Skip to main content
6 events
when toggle format what by license comment
Mar 2, 2011 at 2:36 comment added PNMG Ok, so when I echo that I get 'quote'. In a moment of desperation I have turned off all plugins and switched back to the default twentyten theme, and created 3 test posts, one with a format of quote. I have updated the functions.php file to add quote to the add_theme_support call and updated index.php to use the following code: [see edit at bottom of original post]
Mar 1, 2011 at 23:49 comment added Bainternet well 'terms' => array('quote') is working form me, try to echo out the post format with 'echo get_post_format();' and see what you get
Mar 1, 2011 at 23:30 comment added PNMG Do you mean I should put 'terms' => array('quote') since that is what I have quote defined as up in the add_theme_support function? I tried that as well. Still no luck.
Mar 1, 2011 at 23:24 comment added Bainternet no its not you need to put the post format it self like "quote" and not post-format-quote
Mar 1, 2011 at 22:53 comment added PNMG Has anyone tried this and gotten it to work. I added the array part and it still did not return anything. Is post-format-quote the correct slug to put in the array?
Mar 1, 2011 at 22:31 history answered Bainternet CC BY-SA 2.5