Title: Call function from template
Last modified: August 24, 2016

---

# Call function from template

 *  Resolved [michael.omizzolo](https://wordpress.org/support/users/michaelomizzolo/)
 * (@michaelomizzolo)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/call-function-from-template/)
 * Hi, is it possible to call your function that updates the featured image from
   my template? I need this because i create posts from the front-end and the image
   isn’t updated until I save the post again from admin panel.
 * [https://wordpress.org/plugins/quick-featured-images/](https://wordpress.org/plugins/quick-featured-images/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Contributor [Martin Stehle](https://wordpress.org/support/users/hinjiriyo/)
 * (@hinjiriyo)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/call-function-from-template/#post-6009991)
 * How do you create posts from the frontend? With which plugin?
 *  Thread Starter [michael.omizzolo](https://wordpress.org/support/users/michaelomizzolo/)
 * (@michaelomizzolo)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/call-function-from-template/#post-6010031)
 * Actually it’s a theme. Classiads
    [http://themeforest.net/item/classiads-classified-ads-wordpress-theme/8625840](http://themeforest.net/item/classiads-classified-ads-wordpress-theme/8625840)
 * it uses wp_insert_post to create posts
 *  Plugin Contributor [Martin Stehle](https://wordpress.org/support/users/hinjiriyo/)
 * (@hinjiriyo)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/call-function-from-template/#post-6010115)
 * Try in file `quick-featured-images-defaults.php` the class `Quick_Featured_Images_Defaults`
   method `add_featured_image()`. Maybe that helps.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Call function from template’ is closed to new replies.

 * ![](https://ps.w.org/quick-featured-images/assets/icon-256x256.png?rev=2478502)
 * [Quick Featured Images](https://wordpress.org/plugins/quick-featured-images/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/quick-featured-images/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/quick-featured-images/)
 * [Active Topics](https://wordpress.org/support/plugin/quick-featured-images/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/quick-featured-images/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/quick-featured-images/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Martin Stehle](https://wordpress.org/support/users/hinjiriyo/)
 * Last activity: [11 years, 2 months ago](https://wordpress.org/support/topic/call-function-from-template/#post-6010115)
 * Status: resolved