Community Forums › Forums › Archived Forums › Design Tips and Tricks › Post Formats Not Working
Tagged: post format
- This topic has 15 replies, 3 voices, and was last updated 12 years, 1 month ago by pamela631.
-
AuthorPosts
-
December 4, 2012 at 11:31 am #3277pamela631Member
I'm working with the Lifestyle Theme.. I've already finished a blog just fine with the post formats and now I'm working on a new blog, I changed the code in functions.php by copy and paste via the read me file instructions, the post formats are in the correct images folder, but they are not working.. can someone help me? Here is the site I'm working on.. Right under the sticky post sample are a couple of post format "posts".. you'll see they are not working right.. Thanks for any help with this.
December 4, 2012 at 11:48 am #3281AnitaCKeymasterNot sure if this will help - but in the information you copied/pasted - make sure you have referenced the correct theme name. Sometimes that throw things off. But I'm not sure.
Need help with customization or troubleshooting? Reach out to me.
December 4, 2012 at 11:59 am #3284pamela631MemberNo, I don't think so because the theme name isn't in that function code.
I changed this:
/** Add support for post formats */
// add_theme_support( 'post-formats', array( 'aside', 'audio', 'chat', 'gallery', 'image', 'link', 'quote', 'status', 'video' ) );
// add_theme_support( 'genesis-post-format-images' );To this:
/** Add support for post formats */
add_theme_support( 'post-formats', array( 'aside', 'audio', 'chat', 'gallery', 'image', 'link', 'quote', 'status', 'video' ) );
add_theme_support( 'genesis-post-format-images' );December 4, 2012 at 12:14 pm #3293AnitaCKeymasterSo you removed the // from the beginning of the second and last lines and it doesn't work. Did you try adding the // back on those lines?
Need help with customization or troubleshooting? Reach out to me.
December 4, 2012 at 1:32 pm #3303pamela631MemberYes, because that actually ADDS the Post Format options back into the post posting area.. otherwise, post format is not an option when creating a post.. when I take those out, it is an option when creating a post.. Here are the instructions:
To utilize the post format functionality of WordPress and the Lifestyle theme, you will need to go into the Lifestyle child theme functions.php file and change this code:
/** Add support for post formats */
// add_theme_support( 'post-formats', array( 'aside', 'audio', 'chat', 'gallery', 'image', 'link', 'quote', 'status', 'video' ) );
// add_theme_support( 'genesis-post-format-images' );To this:
/** Add support for post formats */
add_theme_support( 'post-formats', array( 'aside', 'audio', 'chat', 'gallery', 'image', 'link', 'quote', 'status', 'video' ) );
add_theme_support( 'genesis-post-format-images' );So when I do this, it added the options to select which post format I want.. but the images are not shown.. that's the problem..
December 4, 2012 at 3:27 pm #3328AnitaCKeymasterAre you using the same theme as your first blog? And did you style the CSS for that area?
Need help with customization or troubleshooting? Reach out to me.
December 4, 2012 at 5:43 pm #3359pamela631MemberYes, I'm using the exact same theme (Lifestyle), and I didn't change anything in the CSS for that area...
December 4, 2012 at 6:06 pm #3362AnitaCKeymasterWow. This may sound kinda dumb, but it's worked for me in the past - copy and paste the code into Notepad - then check all your quotes and appostrophe's, then copy it back in there. Sometimes it doesn't copy over right. This happened to someone else on here last week.
Oh, and can you share the link to the first blog so I can look at that one too - to compare them?
Need help with customization or troubleshooting? Reach out to me.
December 4, 2012 at 6:16 pm #3363AnitaCKeymasterOn the old forum board, someone had this problem and Andrea wrote this:
Edit the post. Click the image upload button. The image must be listed in the Gallery tab. Uploading an image while editing your post creates an association in the db whereby WP sees the image as "attached" to the post.
Need help with customization or troubleshooting? Reach out to me.
December 4, 2012 at 8:08 pm #3378pamela631MemberGood Evening Anita.. First, I want to thank you for helping me.. I really appreciate it.
Yes, I checked all of the ' and ".. everything is fine.
Here is the blog that they work in, the direct page that they are on.. page 4 of that blog: http://preview.theposhbox.net/threecol/?paged=4
Then of course, the one I'm workin on now with the problem: http://preview.theposhbox.net/client1/
Now my question, especially in reading your second reply.. I have never wrote a post and used them, only in a sample and I thought they are supposed to automatically appear after choosing one of the formats, right? I don't have to embed them myself, right? I'm hoping I'm not showing my blonde roots here, LOL
Thanks for your help..
December 4, 2012 at 8:16 pm #3381pamela631MemberSo.. I just now added each of the icons to my gallery via media library.. still not working...
December 4, 2012 at 8:42 pm #3382AnitaCKeymasterOkay, so I believe you need to create a Post - then select the correct Post Format from the drop down on the right. Try creating a post.
Need help with customization or troubleshooting? Reach out to me.
December 4, 2012 at 8:55 pm #3383pamela631MemberYes, that is exactly what I have been doing.. I just did another one, choosing the "link" post format.. nothing...
December 4, 2012 at 8:59 pm #3385AnitaCKeymasterThe URL's are written differently - the one that works is "?paged=4" - the one that doesn't work is "?page_id=24" - why is one "paged" and the other page_id? Maybe it's your Permalinks. Try resetting your permalinks.
Need help with customization or troubleshooting? Reach out to me.
December 4, 2012 at 10:02 pm #3394nickthegeekMemberPamela,
This is an issue with the blog page template and the post formate icon code. It will need to be fixed in Genesis. Look at your category page to see that the icons are working
December 6, 2012 at 8:26 am #3580pamela631MemberThanks Anita and Nick, I truly appreciate you both helping me.. I started the clients TRUE blog and the page issue is fixed, that wasn't a concern on that test blog.. but I figured why not start over fresh and try it again.. The post formats still do not work, so I have decided to not even bring up "Post Formats" with my clients.. they are off the table at the point.. IF anyone wants them, I'll revisit this issue again.. I need to move forward..
Thanks again! Have a great weekend,
Pamela
-
AuthorPosts
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.