Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #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/

    #1257760

    Hey 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,
    Victoria

    #1257995

    Ok I’ve included that info.

    #1258429

    Hi 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,
    Victoria

    #1258511

    I’m still a little confused about what you mean about the thumb field?
    Can I make the image a link as well?

    #1258699

    Hi 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,
    Victoria

    #1259123

    So 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!

    #1259845

    Hi,

    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,
    Ismael

    #1260594

    Still 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.png

    Thanks!

    • This reply was modified 4 years, 1 month ago by KCMRfm.
    #1261430

    Hi,

    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,
    Ismael

    #1261450

    Thanks!
    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,
    Lewis

    #1262237

    Hi,

    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

Viewing 12 posts - 1 through 12 (of 12 total)
  • You must be logged in to reply to this topic.