-
AuthorPosts
-
November 2, 2020 at 4:02 pm #1257630
I have this page on my website which is a category for blog posts. How can I put an image before the text “Jane Fischer and Associates highlight what we love about North Iowa”
I tried putting an image HTML tag on the category description, but that didn’t work.
https://kcmrfm.com/category/on-demand/our-community/what/we-love-north-iowa/November 2, 2020 at 11:14 pm #1257760Hey KCMRfm,
Can you give us temporary admin access to your website in the private content box below, so that we can have a closer look?
That is usually how it’s done.
Best regards,
VictoriaNovember 3, 2020 at 2:05 pm #1257995Ok I’ve included that info.
November 4, 2020 at 8:31 pm #1258429Hi KCMRfm,
Well, you can look at the following threads:
https://wordpress.stackexchange.com/questions/8736/add-custom-field-to-category
https://kriesi.at/support/topic/custom-category-image/There is a thumb field for the product categories nor for the usual categories.
Best regards,
VictoriaNovember 5, 2020 at 5:14 am #1258511I’m still a little confused about what you mean about the thumb field?
Can I make the image a link as well?November 5, 2020 at 6:31 pm #1258699Hi KCMRfm,
The product category has the field to add an image but not the regular category, for the regular category you need to install a plugin.
Best regards,
VictoriaNovember 8, 2020 at 6:14 pm #1259123So what plugin would I install then? I wasn’t totally sure after reading the forum posts you put above.
Am I able to have the image link to something?Thanks!
November 11, 2020 at 12:13 pm #1259845Hi,
Thank you for the update.
You might have to modify the archive.php template directly, or use the ava_after_main_title hook to render additional content above the category description. In the archive.php file, the category description starts around line 33, so the category image code can be added above that line. By default, uploading images to the categories is not available, so you will have to install a plugin or add a custom snippet.
Please check these plugins:
// https://wordpress.org/plugins/categories-images/
// https://wordpress.org/plugins/wp-custom-taxonomy-image/Best regards,
IsmaelNovember 15, 2020 at 6:34 pm #1260594Still not working. Now I get a 503 error. I commented the code on line 33 out for now so people can at least go to our site.
I installed the first plugin you recommended and followed the instructions.
See https://kcmrfm.com/1.png and https://kcmrfm.com/2.pngThanks!
- This reply was modified 3 years, 11 months ago by KCMRfm.
November 19, 2020 at 4:04 am #1261430Hi,
Thank you for the update.
We enabled the line or function z_taxonomy_image in the archive.php file again, applied an image to one of the post categories and it worked as expected. The category image is displaying above the posts. Please check the page of the category “On Demand” in the private field.
Where did you see the service unavailable error?
Best regards,
IsmaelNovember 19, 2020 at 5:23 am #1261450Thanks!
Now how could I have that image link to a sponsor’s website?
https://kcmrfm.com/category/on-demand/our-community/what/we-love-north-iowa/
We would like the Jane Fischer image to link to her site.
That’s the site we want to link to: https://www.janefischer.com/we-love-north-iowa/
Thanks,
LewisNovember 23, 2020 at 4:45 am #1262237Hi,
Now how could I have that image link to a sponsor’s website?
That option is not available in the plugin by default, so you will have to find another or hire a custom developer to modify the archive template and editor so that it will be possible to add a custom link to the featured image. Unfortunately, this kind of modification is beyond the scope of support as stated on our support policy.
Thank you for understanding.
Best regards,
Ismael -
AuthorPosts
- You must be logged in to reply to this topic.