Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Header configuration & styling (http://forum.bytesforall.com/forumdisplay.php?f=15)
-   -   How can I set an image for each category? (http://forum.bytesforall.com/showthread.php?t=17745)

meetatahualpa Jun 5, 2012 03:16 AM

How can I set an image for each category?
 
Hello,
I'd like to set an image for each category.
I've found a few plugins and the one I was nearly able to get working was
http://wordpress.mfields.org/plugins/taxonomy-images/
Before I continue trying to set plugins, is there an easied option in Atahualpa?

I'd like to have an image appear in each post similar to
http://digwp.com/
I believe they are using the featured image function, which I was not able to get to work.
I do manage to add it in the post, but it does not appear in the live post.
http://en.meetnihon.org/

Thank you

Update I was able to get a similar plugin to work, but now waiting from the developer to get back to me on increasing size via the short code [print-image]
http://wordpress.org/extend/plugins/category-image/

juggledad Jun 5, 2012 03:54 AM

The featured image will show when you are displaying your posts on a multi post page AND you are displaying the posts as EXCERPTS.

If you display the FULL posts on a 'multi post' or 'single post' page - just the images imbedded in the post will display

meetatahualpa Jun 6, 2012 04:32 AM

Hello, thank you for the answer.
I've tested adding a featured image in both a new installation and an old one and don't see the featured image appear anywhere.
I've also inserted it in a twenty eleven theme post and still nothing.
http://it.meetnihon.org/2012/06/05/t...e-wine-for-me/

Do I have to activate the feature somewhere else other that just upload the image in the post, under Featured Image?

juggledad Jun 6, 2012 05:45 AM

It should work automatically -
you edit the post,
go to the featured image box
click the 'Set Featured imag' link
upload or pick your image from the library
select the 'Use as featured image' link at the bottom

you should now see the featured image in the featured image box and it should show up when viewing the post as an excerpt

meetatahualpa Jun 7, 2012 01:51 AM

Thank you for getting back to me.
I've found the issue.
The Atahualpa defualt settings for configure Excerpts were set to
Default: Full Posts

I've now changed them and the featured image appears.

I've thus been able to verify the page looks a lot better but that the images link to the specific post.

I will keep researching for a nice solution to set an image for each category.
If other users have suggestions for the best solution for one image per each category, please let me know.

Thank you

lmilesw Jun 8, 2012 06:53 PM

Have you done a search on wordpress.org for a plugin to help with this.

meetatahualpa Jun 8, 2012 07:05 PM

Hello,
Yes I have.
The simplest plugin was this one
http://pankajanupam.in/wordpress-plu...ategory-image/
But I still ahem to get an answer about how to make the size bigger.

meetatahualpa Jun 10, 2012 07:17 PM

Hello,
I've dropped the search for a decent plugin as just coding it into the loop seems the easiest way to go.

I'm now attempting to use this code

PHP Code:

<?php // category featured image
$category get_the_category(); 
echo 
'<img src="'get_bloginfo('template_directory') .'/file/path/'$category[0]->cat_name .'.png">';
?>

taken from here
http://perishablepress.com/category-...ons-wordpress/

As I am building a network of sites and each will have a different set of pictures for the various categories. Should I implement the above code in a child theme?
I understand Atahualpa is flexible enough not to need a child theme, but I believe it does not accept php in it's settings pages, right?

Does anyone foresee other pitfalls of using Atahualpa in a network of sites and having each site have different artwork, header images, category images, languages etc?

Thank you


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

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