Muhammad Kashif
Forum Replies Created
-
Forum: Plugins
In reply to: [Random Featured Image] This Plugin Does Not Have a Valid HeaderUpdated the plugin.
Forum: Plugins
In reply to: [Random Featured Image] Feature request: Post and Page checkboxAlready working on another request to do the same for existing posts.
Forum: Plugins
In reply to: [Random Featured Image] Feature request: Post and Page checkboxHey Blair,
Yes currently it does both posts and pages , I will add a setting to enable/disable this for post types.
Thank you for the note.
Hey waynecoda,
Have you added featured image to shop page?
Forum: Plugins
In reply to: [Featured Image for Categories and pages.] Image not showingHey,
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.
@ algerdes do you want to place it via shortcode or via PHP ?
@ n.allen , its coded in a way it detects automatically the page or category being displayed and will display the image accordingly.
you can place the short-code in content , in sidebar or any other position of your choice.
Forum: Plugins
In reply to: [Random Featured Image] No Featured Image ShowingHey Terry,
Thanks for the note.
It sets random featured image for new posts , for old ones you have to edit and save them to get random featured image.
I will add an option to assign featured images to existing posts in next update.
Thanks,
Forum: Plugins
In reply to: [Random Featured Image] tried to install, got fatal errorHey Celebrianne,
Thanks for the note , Can you please paste the complete error here so that I can fix that.
Thanks.
Forum: Plugins
In reply to: [Random Featured Image] tried to install, got fatal errorHey,
Looks like your theme is using Options Framework and the plugin also uses that. I will update the plugin in my next available free time slot.
Regards,
here is an example code :
<img src=”<?php echo hmk_taxonomy_image_url(); ?>” />
You can place above code for image in your themes header.php at your desired position.
where you want to display the image on front end ?
I hope that helped.
Hey,
the plugin don’t display the image on front end automatically because it provides the choice to display that image on any place via shortcode or php function :
The image can be displayed on front-end by using shortcode [‘header_ads_image’] or Use <?php if (function_exists(‘hmk_taxonomy_image_url’)) echo hmk_taxonomy_image_url(); ?> to get the url and put it in any img tag in header or any page template.
Hey Carl,
Thanks for the note I will check and update the plugin.
Regards,