Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author weDevs

    (@wedevs)

    Hello,

    In the plugin folder, you will get this file- wpuf-add-post.php and in this file you will get this hook in line number 478- wpuf_add_post_after_insert. Just you have to call – stick_post($post_id);

    Thanks.

    Thread Starter vikramster

    (@vikramster)

    thank you, but I wanted to know if a post can be done sticky through front end… through WPUF dashboard, or while adding post through WPUF.

    Plugin Author weDevs

    (@wedevs)

    I am not clear about your question. Please describe in more details.

    Thanks.

    Thread Starter vikramster

    (@vikramster)

    Hi, sorry for not being clear last time.

    I am using “WP User Frontend” (WPUF) to add posts from front end. When a user adds a post through WPUF, he is asked for title, featured image, content, etc.

    My question is, can I also ask the user to specify if the post can be “sticky” when adding a post in this way? i.e., I am looking for a way to add “Is sticky post” checkbox in the “WP User Frontend” form.

    Thank you.

    Plugin Author weDevs

    (@wedevs)

    Hello,

    You can but you may require customization to do that.

    Thanks.

    Thread Starter vikramster

    (@vikramster)

    Hi, last question. By customization, do you mean I need to modify the code within WP User Frontend plugin? Thanks!

    Plugin Author weDevs

    (@wedevs)

    Yes, You are right.

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

The topic ‘Making post sticky from front-end’ is closed to new replies.