justmigrating
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Dashboard Home screen blankTurned about to be an issue with the WP core files. DreamHost replaced WP and all is good now. I’m guessing that when DreamHost moved the site from staging to live, not all the WP files were moved.
Forum: Plugins
In reply to: [Post Carousel Slider for Elementor] Equal height post columnsI tried the CSS (first I tried it in the Elementor Custom CSS and then in my child theme stylesheet), and I even used !important, but it doesn’t change the heights of the columns.
Here is a link to a test page https://www.jdaviswebdesign.com/staging/5473/test/
Forum: Plugins
In reply to: [Woo Invoices - Quotes and Invoices] Plugin has not been updated in 10 monthsThanks for replying. ??
Forum: Plugins
In reply to: [Elementor Addon Elements] Change image size on mobileYes, the client had me remove the EAE-Timeline widget and I switched to creating something myself. The client wasn’t happy with how some of the images were cropped on mobile.
Forum: Plugins
In reply to: [Premium Addons for Elementor] Modal Box content as Elementor TemplateYes, using a standard Elementor section template worked fine. Thank you!
Forum: Plugins
In reply to: [Imsanity] Dry run for bulk resize?Yes! I have an Admin Column plugin that was hiding the Imsanity button in the Media Library. Thanks for replying!
Forum: Plugins
In reply to: [Iptanus File Upload] Store image captionNickolas – turns out I still couldn’t get your code to work anymore, but I got what I needed with this code (in case anyone else sees this post).
$the_query = new WP_Query( array(
‘author’ => $user_id,
‘post_status’ => ‘inherit’,
‘post_type’ => ‘attachment’
)
));
if ( $the_query->have_posts() ) {
while ( $the_query->have_posts() ) {
$the_query->the_post();
$imagelink = get_the_guid();
$postid = get_the_ID();
$metadata = wp_get_attachment_metadata($postid);
$caption = $metadata[‘WFU User Data’][‘Caption’];
}
}
wp_reset_postdata();Forum: Plugins
In reply to: [Iptanus File Upload] Store image captionNickolas –
No other plugins are installed that I think could be interfering with the code you provided to store the Caption upon image upload. When I look in the WordPress postmeta table, I can see the Caption there in a serialized array in the _wp_attachment_metadata key, but I can’t figure out how to retrieve the value. The value of the key is below, Caption is at the end of the serialized array. I have tried the following code to retrieve the value of the Caption, but it does not return anything. Any advice?
$my_data = wp_get_attachment_metadata( get_post_thumbnail_id( $postid ) ); $my_data = $my_data[‘WFU User Data’][‘Caption’];
echo $my_data;a:6:{s:5:”width”;i:1200;s:6:”height”;i:1200;s:4:”file”;s:27:”2020/12/EnterpriseTheme.jpg”;s:5:”sizes”;a:3:{s:6:”medium”;a:4:{s:4:”file”;s:27:”EnterpriseTheme-400×400.jpg”;s:5:”width”;i:400;s:6:”height”;i:400;s:9:”mime-type”;s:10:”image/jpeg”;}s:9:”thumbnail”;a:4:{s:4:”file”;s:27:”EnterpriseTheme-150×150.jpg”;s:5:”width”;i:150;s:6:”height”;i:150;s:9:”mime-type”;s:10:”image/jpeg”;}s:12:”medium_large”;a:4:{s:4:”file”;s:27:”EnterpriseTheme-768×768.jpg”;s:5:”width”;i:768;s:6:”height”;i:768;s:9:”mime-type”;s:10:”image/jpeg”;}}s:10:”image_meta”;a:12:{s:8:”aperture”;s:1:”0″;s:6:”credit”;s:0:””;s:6:”camera”;s:0:””;s:7:”caption”;s:0:””;s:17:”created_timestamp”;s:1:”0″;s:9:”copyright”;s:0:””;s:12:”focal_length”;s:1:”0″;s:3:”iso”;s:1:”0″;s:13:”shutter_speed”;s:1:”0″;s:5:”title”;s:0:””;s:11:”orientation”;s:1:”0″;s:8:”keywords”;a:0:{}}s:13:”WFU User Data”;a:1:{s:7:”Caption”;s:26:”Enterprise WordPress Theme”;}}
Forum: Plugins
In reply to: [Max Mega Menu] Adjust space in grid layoutThank you for pointing that out. I removed the margin and padding for the <p> tag on the grid items and that took care of the issue, but using the default WordPress image widget should work too. Thanks.
Forum: Plugins
In reply to: [Iptanus File Upload] Uploads bypass Imsanity pluginNickolas –
Yes!! This works. Thank you so much.
Jennifer
Forum: Plugins
In reply to: [Iptanus File Upload] Uploads bypass Imsanity pluginNickolas-
It didn’t work, but thank you for trying.
Jennifer
Forum: Plugins
In reply to: [Iptanus File Upload] Uploads bypass Imsanity pluginNickolas-
The image-upload-resizer plugin I use the most is Imsanity. I also tried EWWW Image Optimizer by Exactly WWW and Smush by WPMU DEV.
Jennifer
Forum: Plugins
In reply to: [Iptanus File Upload] Image permalink wrongNever mind on this. Turning on the “Attach uploaded files to post” in the Interoperability tab will do enough.
Forum: Plugins
In reply to: [Iptanus File Upload] Image permalink wrongNickolas –
Yes, the “Add Uploaded Files to Media” is active. Any ideas on a WordPress hook that would add a category to the permalink structure, such as https://domain.com/category/name-of-uploaded-image
Jennifer
Forum: Plugins
In reply to: [Iptanus File Upload] Uploads bypass Imsanity pluginNickolas-
The “Include Uploaded Files in Media” is checked (and the images get added to the Media Library just fine), but I’ve tried three different “image resize” plugins and all of them fail to resize images that are uploaded using the WordPress File Upload plugin. Of course, the images can be resized manually after upload, but with the number of members my client has, and each member will be uploading multiple images, we are hoping to find a way to handle the resizing automatically. I also have reduced the maximum file size to 1MB. I’m just surprised that the file upload bypasses the resize plugins.
Jennifer