This topic contains 6 reply and 2 voices, and was last updated by Nayem 4 years, 3 months ago
Viewing 6 Posts - 1 through 6 (of 6 total)
Author Posts
July 13, 2015 at 8:14 am 55352
Nayem Hi guys, I Have exactly the same problem, BUT I don't know how to use "action hook" and where add this magical code ... https://wedevs.com/support/topic/running-action-hook-on-frontend-post/ function wpuf_get_vide_thumbnail( $post_id ) { get_video_thumbnail( $post_id ); } add_action( 'wpuf_add_post_after_insert', 'wpuf_get_vide_thumbnail' ); add_action( 'wpuf_edit_post_after_update', 'wpuf_get_vide_thumbnail' ); Someone can help me? Thanks guys :)
July 13, 2015 at 10:57 am 55370
Nayem Nayem

Hello Havel,

You can insert those code in your theme function.php file. It will be better if you will create a child theme and put those codes in the function.php file of your child theme.

Thanks.

July 13, 2015 at 5:31 pm 55465
Havel Havel

Hi Nayem

Thanks for you reply !

But where in the function.php ?? I’m lost ^^

Thx mate !

July 13, 2015 at 6:30 pm 55472
Havel Havel

I put this code in the end of my Function.php, but nothing append.
http://hpics.li/3861abc

Thanks for you future help 🙂

July 14, 2015 at 3:41 pm 55692
Nayem Nayem

Hello Havel,

I have to discuss with our developer about this.

Thanks.

July 14, 2015 at 11:40 pm 55749
Havel Havel

Ok, let me know 🙂

Little precision, on my frontend form, where people put the youtube/vimeo video URL is “Post body”(post field) with the normal program.

Thanks mate.

July 16, 2015 at 1:43 pm 56006
Nayem Nayem This reply has been marked as private.
Viewing 6 Posts - 1 through 6 (of 6 total)