John Sundberg
Forum Replies Created
-
Hey Umocrajen,
Thanks for working through that code. It would be nice to only have to create the array of meta_keys once, but this works for now.
In wp-post-meta-revisions.php there is this code block:
// Add the revisioned meta to get_post_metadata for preview meta data public function _add_metadata_preview_filter() { add_filter( 'get_post_metadata', array( $this, '_wp_preview_meta_filter'), 10, 4 ); }And on the plugin’s description page there is this bullet point:
- Adds revisioned meta to the preview data via get_post_metadata
That code and that bullet point led me to think that the meta data would be displayed on the Compare Revisions screen. Perhaps I misunderstood?
Anyhow, thanks again for working on this!
JohnForum: Plugins
In reply to: [WP Document Revisions] Document Storage LocationYou can change this in Settings > Media.
I usually create a directory in my public_html directory called “documents” or “docs” and use that for the Documents upload directory. That helps to keep them separate from your other media uploads.
WPDR scrambles the file name for security purposes.
Forum: Plugins
In reply to: Try the brand new editor message causing confusionYou can disable all the “Just in time” messages by adding this code to your functions.php or a core functionality plugin:
add_filter( 'jetpack_just_in_time_msgs', '__return_false', 99 );(You could disable just that one message, but the code would be a little more involved.)
Forum: Plugins
In reply to: [WP Document Revisions] How to change name of "Documents" directory?You can edit the document upload directory and document slug on the Settings > Media page.
Forum: Plugins
In reply to: [WP Document Revisions] Document Updates Limited to 2 MB?That sounds like a server setting limiting your uploads to 2MB. Do you get the same message when uploading via the Media Library?
Forum: Plugins
In reply to: [WP Document Revisions] Permalink keeps using month and post nameI’m using this WP DR add-on to remove document dates from the permalinks: https://github.com/benbalter/WP-Document-Revisions-Code-Cookbook/blob/master/remove-date-from-permalink.php
If you’ve already created documents, you’ll need to use a plugin such as Better Search and Replace to update the database.
Forum: Plugins
In reply to: [WooSidebars] How to add sidebars in woocommerce single-product-page?You’re welcome!
Forum: Plugins
In reply to: [WooSidebars] How to add sidebars in woocommerce single-product-page?Try setting the “Default Page Sidebar” to draft, and then see if the “WooCommerce” sidebar shows like it’s supposed to on those singe products.
I noticed that the “WooCommerce” sidebar isn’t showing up on your checkout or other pages either. Is there a page where it does appear?
Forum: Plugins
In reply to: [WooSidebars] How to add sidebars in woocommerce single-product-page?I think you misunderstood my question.
I was referring to “Sidebar to Replace” in the widget area settings. Looking at the source code for your site it looks like you have different sidebar options, though I could be wrong.
Forum: Plugins
In reply to: [WooSidebars] How to add sidebars in woocommerce single-product-page?It looks right, but there may be something else interfering with or overriding the sidebar settings that can’t be seen in the screenshot.
Are you sure you have the correct sidebar selected?
Forum: Plugins
In reply to: [WooSidebars] How to add sidebars in woocommerce single-product-page?If you want I can take a quick look at your settings; would need a temporary admin login.
Otherwise, without seeing the admin, I don’t know what else to tell you.
Forum: Plugins
In reply to: [WooSidebars] How to add sidebars in woocommerce single-product-page?@srd75, you could try selecting “Each Individual Product” under the Post Types tab in your widget area settings.
Or there may be something else happening that is overriding the settings for that widget area. Kind of hard to tell without actually seeing the admin.
Forum: Plugins
In reply to: [MediaFire FileDrop Manager] Prevent .zip file uploads?Marking as resolved.
Forum: Plugins
In reply to: [Stream β Activity Log & Audit Trail] Date filtering is off by one dayHi Luke,
My client who noticed this is in the Eastern timezone, and their site is set to that. I’m in Mountain, and I’ve noticed this offset in every site running Stream that I’ve checked so far.
Here’s some info that might help from another client site that is also in the Mountain time zone:
I logged in a few minutes ago, two other users logged in 7 hours ago and 13 hours ago, and a third user logged in 15 hours ago.
When I filter by “Today” there are no returns. When I filter by “Yesterday” I see my activity and the users from 7 and 13 hours ago. When I do a custom filter for the day before yesterday, the return starts with the user who logged in 15 hours ago.
Forum: Plugins
In reply to: [Nav Menu Roles] Problem with NMR when more than 46 menu itemsOh, that makes sense, especially why I didn’t see this issue until the menu (and # of roles) reached a certain size.
Nice to see that WordPress core is responding quickly to this issue. π