Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Header configuration & styling »

How can I set an image for each category?


  #1  
Old Jun 5, 2012, 03:16 AM
meetatahualpa
 
6 posts · Jun 2012
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/

Last edited by meetatahualpa; Jun 5, 2012 at 03:48 AM.
  #2  
Old Jun 5, 2012, 03:54 AM
juggledad's Avatar
juggledad
 
23,648 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
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
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Jun 6, 2012, 04:32 AM
meetatahualpa
 
6 posts · Jun 2012
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?
  #4  
Old Jun 6, 2012, 05:45 AM
juggledad's Avatar
juggledad
 
23,648 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
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
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #5  
Old Jun 7, 2012, 01:51 AM
meetatahualpa
 
6 posts · Jun 2012
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
  #6  
Old Jun 8, 2012, 06:53 PM
lmilesw's Avatar
lmilesw
 
10,174 posts · Jul 2009
Central New York State USA
Have you done a search on wordpress.org for a plugin to help with this.
__________________
~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.
  #7  
Old Jun 8, 2012, 07:05 PM
meetatahualpa
 
6 posts · Jun 2012
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.
  #8  
Old Jun 10, 2012, 07:17 PM
meetatahualpa
 
6 posts · Jun 2012
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

Bookmarks

Tags
category, featured, image

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to put different header image per category unelma Header configuration & styling 12 Jul 17, 2012 12:41 PM
Help i want image as background on the category bar!! Crispuchita Page & Category Menu Bars 9 Jan 6, 2012 07:32 AM
Different logo image based on category (via css) sober Header configuration & styling 1 Jun 29, 2011 07:44 PM
Change header image per category Craig Atkinson Header configuration & styling 22 May 22, 2010 06:48 AM
Replacing Category title with own image mcbanks Sidebars & Widgets 2 Aug 13, 2009 02:07 PM


All times are GMT -6. The time now is 12:47 AM.


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