Support » Plugin: Featured Image for Categories and pages. » Image not showing

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Muhammad Kashif

    (@xpertone)

    Hey,

    You can use shortcode anywhere , in page , post , widget , header or footer.

    the php function will only give the image url and you can display the image by placing that in img tag.

    like

    <img src=”<?php if (function_exists(‘hmk_taxonomy_image_url’)) echo hmk_taxonomy_image_url(); ?>” >

    I hope this helps.

    What if I want a particular size of the featured image, i.e. the ‘large’ image?

    I’d also like to get the title of the image for the alt (images without an alt don’t validate).

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Image not showing’ is closed to new replies.