## How to upload post thumbnail while wp_insert_post?

Question
I am trying post submit on front end. All works without thumbnail uploading and setting. Here is my html form. <form method="post" action=""> <input type="text" name="title"> <textarea name="content"></textarea> <input type="file" name="thumbnail"> ...
0
1 day 0 Answers 24 views

Question
How to set first image from $_FILES array to product woocommerce post thumbnail and the rest put into woocommerce product gallery. I have this code: if ( ! empty($_FILES['thumbnail'] ) ) { $files ... 0 3 days 0 Answers 16 views ## Update user meta via ajax from frontend, saving issue Question I want to save/update a custom user meta field from the frontend, via ajax. This field should hold a list of post ID´s. No double ID´s should allowed. My problem is that my field value get saved as an multidimension array, every ... 0 6 days 0 Answers 38 views ## Set Featured Image Front Frontend Form Question I have been struggling for days to figure this one out. I have successfully implemented a form to submit posts from the front end of my site. ButI can't figure out how to make the image uploads work. I want whatever ... 0 2 weeks 0 Answers 52 views ## Woocommerce Frontend product uploading specific for every users [closed] Question I am making woocommerce WordPress store where I want to add features like Anyone can register on the frontend Any user can upload/edit/delete own products from the frontend and cannot edit/delete other products All users' products will show up on a home page ... 0 2 weeks 0 Answers 55 views ## How to call plugin functions in a custom template Question I want to try calling the pre-defined functions from the front end private messages plugin in my custom template. But It shows that the function does not exist. But that function is working fine in the plugin. What ... 0 3 weeks 0 Answers 51 views ## Front end Ajax custom file uploads with multiple file return 404 not found, single file upload working perfectly Question in the templete file I gave the below code, <input type="file" name="files[]" id="files" multiple onchange="javascript:updateList()"/> ... 0 1 month 0 Answers 18 views ## How to do the simplest possible frontend ajax call from a plugin? Question I'm trying to make this as simple as possible just to get the basics down, but I keep getting a 400 error and 0 response from admin-ajax.php. I just want to hit ajax with some data. Here's my js: jQuery(document).ready(function($) { ...
0
1 month 0 Answers 15 views

## Gutenberg Editor: display error with a combination of transform and background-attachment:fixed

Question
For the output of post content, the main column is constrained to 700px. This allows for images etc. to be aligned left and right whilst remaining within the content column. Adding a solution using a combination of left and translateX to ...
0
1 month 0 Answers 27 views

## User profile in front-end

Question
I want every user to get a profile in the front-end of my website. So I want to visit website.com/user/user-name and view all the information of this user. Is this somehow possible? I would like to do this without a plug-in. ...
0
1 month 0 Answers 16 views