KostasNi
Forum Replies Created
-
Thank you for the update @kimmyx .
Forum: Plugins
In reply to: [Appointment Booking Calendar] Deprecated JS on WP 5.5.1Great! Thanks for fixing it so quickly!
Forum: Plugins
In reply to: [Appointment Booking Calendar] Deprecated JS on WP 5.5.1Here’s a screenshot
The errors appear in the dashboard, inside the Enable jQuery Migrate Helper plugin notification which was created to troubleshoot themes and plugins with deprecated Javascript. It doesn’t matter which browser I’m using.
Thanks for the explanation Jeremy. That makes sense.
Forum: Plugins
In reply to: [Gravity Forms: Post Updates] Unwanted Post Status change on updateThe problem ended up being not with this plugin or the Better Notifications for WordPress plugin, but with the way Gravity Forms handles the post creation/update.
If anyone else runs into this problem, I’ve added some more details in this thread.
Hi Jack,
The problem ended up being not with the Gravity Forms: Post Updates plugin, but with the way Gravity Forms handles the post creation/update.Specifically, GF changes the post’s post_status to draft
// remove original post status and save it for later $post_status = $post_data['post_status']; // replace original post status with 'draft' so other plugins know this post is not fully populated yet $post_data['post_status'] = 'draft';
and then changes it back to whatever it was
// update post status back to original status (if not draft) if ( $post_status != 'draft' ) { $post = is_object( $post ) ? $post : get_post( $post_id ); $post->post_status = $post_status; }
It was the second change, draft to publish, that triggered the draft_to_publish hook which Better Notification for WordPress uses.
To prevent the “New Post” notifications, you need to eliminate the draft to publish change.
I accomplished that by first changing the post_status to something other than publish (I used ’temp_status’) and then after GF does it’s thing, changing it back to publish. I also added a second post_update at the end to trigger the publish_to_publish hook and send the “Post Updated” notification.
I hope this helps anyone who runs into the same issue in the future.
- This reply was modified 7 years, 10 months ago by KostasNi. Reason: formatting
Thanks for getting back to me @voltronik.
Gravity Forms Post Updates doesn’t seem to be actively maintained or supported. I’ve posted a support topic there as well: Unwanted Post Status change on update.
I’d love to see this added at some point!
amanda blum did you find a way around this?
Forum: Fixing WordPress
In reply to: Responsive mobile site not workingAbby,
I had to look (much) closer and unfortunately I am pretty certain that your site has been infected with malware.I found that the contents of some theme and plugin files have been replaced with some malicious code. This code is executed only on mobile and that’s why the site looks fine on desktop.
Remain calm and carefully follow this guide. When you’re done, you may want to implement some (if not all) of the recommended security measures.
For the record, this is the malicious code I found in the theme’s styles.css, genericons.css, spacious-custom.js and other CSS and JS files: https://pastebin.com/c6j7Pb4n
Forum: Fixing WordPress
In reply to: Error message: Cannot modify headerI suggest taking a backup of your theme and then re-uploading a fresh copy.
If this doesn’t solve the issue, and since X is a commercial theme, we ask that you please go to their official support channel, so you can get support from the people who know it best.
Forum volunteers are also not given access to commercial products, so they would not know why it is not working properly. Other community members who may have faced your issue might be able to help you but your best bet is your product’s developer. Keep in mind we encourage you to use the official support venues, as it allows the developers to be aware of issues with their code and gives back to the community in a more robust way.
Forum: Networking WordPress
In reply to: Website not functioning after moving to root folderI am not an expert in Multisite installations but I am pretty sure all sites share one database (that is why it is more complicated).
Could it be that there were other WordPress installations that have been deleted but the databases haven’t? Or perhaps before switching to multisite the sites were on separate WordPress instances?
You can go into each database and navigate to the [wp] _options table and look at the values for these 3 options: siteurl, home, blogname. It might shed some light on what each database is for.
Forum: Networking WordPress
In reply to: Website not functioning after moving to root folder@neotechnomad: I believe the “https://i0.wp.com” is from using Photon
The fact that all images are linking to your other domain means that some instances of the domain in the database will need to be changed.
First of all, make a backup of your database and keep it safe on your hard drive.
Then go through the two articles posted above: Moving WordPress Multisite and How to WP Mayor : Migrate WordPress Multisite.
You will have to make some changes to the database as described in the articles.
Forum: Fixing WordPress
In reply to: How to add a banner in header#logo { padding-top: 0 !important; }
and change what you previously added to:
.header-banner { float: right; padding-top:30px; }
To remove all the white space from above the logo add this as well:
#main-header { padding-top: 0; }
Forum: Fixing WordPress
In reply to: How to add a banner in headerYou are welcome.
Can you please mark the topic as resolved so that other volunteers know that the issue is fixed and move on to help on other topics?
Forum: Fixing WordPress
In reply to: Snaptube Header Open Facebook & Twitter in new tabHi James,
If you use a commercial theme or plugin and need support, please go to their official support channel. In order to be good stewards of the WordPress community, and encourage innovation and progress, we feel it’s important to direct people to those official locations.Forum volunteers are also not given access to commercial products, so they would not know why your commercial theme or plugin is not working properly. This is one other reason why volunteers forward you to the commercial product’s vendors. The vendors are responsible for supporting their commercial product.