Add more field on WordPress media upload

not without creating your own custom form. There are 2 ways to achieve this, uploading attachments in the post editor, In your post edit page you can create a custom metabox which will allow you to enter custom fields for your posts. When you save your post, you can hook into the backend saving process … Read more

Media files not loading

WordPress 4.9.5 does not have the field to specify the upload path. You can do it by editing the wp-config.php: define( ‘UPLOADS’, ‘wp-content/media’ ); // relative to ABSPATH See Moving uploads folder.

Media files not loading

WordPress 4.9.5 does not have the field to specify the upload path. You can do it by editing the wp-config.php: define( ‘UPLOADS’, ‘wp-content/media’ ); // relative to ABSPATH See Moving uploads folder.

Media URL slugs without uploads folder path

if you change permalink to post name in setting and attach the testimony.pdf in your post, you will get http://example.com/your_post/testimony.pdf, to get url of the textimony u can get with this code <?php $args = array( ‘post_type’ => ‘attachment’, ‘numberposts’ => -1, ‘post_status’ => ‘any’, ‘post_parent’ => $post->ID, ‘exclude’ => get_post_thumbnail_id(), ); $attachments = get_posts( … Read more

File upload in WordPress

May I know what plugin you are using for Uploading the File? If you are using the current version of php & cPanel, And have your WordPress to the latest version, I recommend you using the CALDERA FORMS. Here is the Link: https://wordpress.org/plugins/caldera-forms/ So next time you create for example a Job Application form with … Read more

wp_update_attachment_metadata breaks after 10 files

It seems like it is a execution time problem. So I decreased it on the server & am doing the year folder now hardcoded one by one, write the executed images in a json file and only insert those who are not in there… and hope for the best.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)