twistysnacks
Forum Replies Created
-
Forum: Developing with WordPress
In reply to: Adding Page Templates, Metas to Revisions@macmanx No, I am not using a Block Theme. I have a custom theme. I have never seen revisions include the page template as part of the saved data.
Also, don’t get fixated on the Yoast aspect. Our ability to update what meta fields are saved by revisions should not be affected by which plugins *use* those meta fields.
Forum: Everything else WordPress
In reply to: Live site does not reflect updates made@biancaparker Unfortunately those caching plugins are really aggressive and persistent. But like I said, I’m willing to bet that it was related to the minification. Just a heads up, coming from someone with about 15 years of experience in WordPress, caching plugins (especially that one) are… not awesome. They aren’t as effective as manually fixing certain things about your site code and plugins, and they cause a lot of issues. The minification is, by itself, one of the biggest. I am happy to share tips privately if you’re interested
Forum: Fixing WordPress
In reply to: My WordPress site taken over by unauthorized personThe only thing you can do is access the files via your hosting provider. Who is your host? They are the ones you need to contact. Let them know your site has malware installed, they will have a vested interest in removing it. If you’re not familiar enough to do it yourself, you may need to pay someone to remove the malware, or to reinstall your site. I’ve had to do this probably a hundred times… these ad bots don’t typically want to trash your site, they just want to advertise.
The good news is that your site is probably intact under the malware, the bad news is that you need to go through the files on the server to identify malware. WordFence will help you with that, should you regain access. It scans all files and compares them to what they should be, and tells you if any have been changed.
Try the “lost password” function to regain access.
In the future, use more secure passwords.
Forum: Fixing WordPress
In reply to: Wrong timezone even when set rightdate() is a PHP function, not a WordPress function. It will *always* use the server time, which is typically set to GMT.
@gohelkunjan is correct, you need to use the WordPress function.
Forum: Developing with WordPress
In reply to: Preheader title block renders diff for non-admin userI can’t be sure what you’re seeing because it was changed since you posted… maybe threadi resolved it for you. But the first thing I check when I have weird header issues between logged in, and not logged in, is whether or not that WordPress edit bar is turned on. It breaks all sorts of things.
Forum: Everything else WordPress
In reply to: Live site does not reflect updates madeGeorge is right, you’re almost definitely caching.
You’re using a minification plugin… those usually show you something different if you’re admin vs user. I’d check that plugin. Maybe even turn it off and check your results.
Forum: Everything else WordPress
In reply to: WordPress Email AccountsHow your server handles email from WordPress can get really complicated… over 15 years of building WordPress sites, I was forced to figure out how all of that works because clients didn’t care whose fault it was, and their IT departments would be kinda clueless about it. The problem is that there’s not a ton of overlap between server IT and WordPress development, so you’ll get mixed answers from all sides.
Adding the SMTP plugin can certainly help, but it won’t always, as you’re finding out.
Here are some things you can check:
- Since you’re on Hostgator, you definitely need to make sure your web server hasn’t been flagged as spam. A lot of Hostgator (and other cheap provider) sites are used to send spam, and then any email sent from that server will be flagged as spam, even if they’re from a different website. Go to https://mxtoolbox.com/blacklists.aspx and enter in your server IP.
- If you’re not familiar with DNS, this part can be complicated, but you need to know where your DNS is hosted. Your domain is your address, and your DNS is the address book that tells everyone which address points to which thing. Your website can be hosted in a different place than your email server. If you’re using an A record to point to your website, and you’re using an MX record to point to a completely different place for your email hosting, then anything sent from your website might get flagged as spam. It will look like your website is pretending to have the right to send email, even though your DNS says that a completely different email server has ownership. I can’t really help here without knowing what your domain is.
- Verify that your forms are being sent with a “from” email address that matches the website. If the DNS is fine, then your forms should all submit with an email address that looks like your website. Otherwise you’re still going to trigger spam filters. Like if your “from” email address is “[email protected]”, then Google’s mail servers will be like “there’s no way that’s correct, *we* own gmail.com, this is spam” and they’ll flag it. So you’ll need to change your “from” email address to something like [email protected].
I hope that all helps. There are still a bunch of other things it can be, some of which involve looking at mail logs on your server (which you probably can’t) or bad settings on your SMTP plugin, but those are the top three reasons I’d see email delivery issues.
Forum: Fixing WordPress
In reply to: Changing post actions menu in adminIt does, thank you much. I also discovered a plugin I was using is doing something similar, so I am stealing some of its code as well.
For everyone finding this topic later, the answer involves the hook post_row_actions or quick_edit_custom_box depending on what you’re trying to do. And actually this tutorial is super explicit in how to do this. Awesome!
https://rudrastyh.com/wordpress/quick-edit-tutorial.html
(Edit: updated because I included the wrong hook at first, and I wanted to include a good tutorial on updating the quick edit box entirely.)
- This reply was modified 2 years, 8 months ago by twistysnacks.
- This reply was modified 2 years, 8 months ago by twistysnacks.
Forum: Fixing WordPress
In reply to: Allowing list block in Gutenberg inner blockI think we’d all just take it for granted that not everything can be done the way you’re describing. Sometimes your only option is going to be adding a new block, rather than hitting enter. As long as there’s a keyboard-friendly way to create the new block, it doesn’t have to be hitting enter.
Forum: Fixing WordPress
In reply to: Can you stop a dropdown parent first tap linking..?There is a plugin that works really well for mobile menus that I use regularly. It’s called mmenu.js. It basically converts your mobile menu to something that slides in from the side, and then it shows you a mobile-friendly list of links. You can either tap a little arrow to open the sub menu, or you can tap the link itself.
There are many JS plugins that achieve this same effect. In short, you should not expect your desktop menu to work well on mobile. You should use something to create a mobile-friendly menu.
Forum: Fixing WordPress
In reply to: WP-admin login page complete brokenI’ve never seen anything like that before, but my first guess is that you have malware. Can you scan your files for malware?
Forum: Fixing WordPress
In reply to: Better to have multi-site or have geotarget for multi-lingual siteI think a multi-site might be too complicated for what you’re talking about. That’s my personal opinion. I also wouldn’t use geo-targeting, because that assumes too many things that could be wrong. First, not everyone in a certain area speaks the same language. I’m in Utah, but I might be a native English speaker, OR Spanish, or something else entirely. Also, I have a VPN, and I hate it when a site assumes I speak Dutch just because I have my VPN on.
I think that using a plugin to offer multiple translations of the page is the best you can offer, short of paying someone to translate each page individually into different languages.
Forum: Fixing WordPress
In reply to: I want to re-edit header & footerI’m not completely clear on your issues right now, because the way you worded this is a little bit confusing for me. But if you’re not sure why the site isn’t showing changes you made, or why it isn’t using the correct files, you may want to learn more about the template hierarchy. Sometimes WordPress will pull unexpected templates – like if you’re on the homepage, it will automatically use front-page.php.
You can read more here: https://developer.www.ads-software.com/themes/basics/template-hierarchy/
Forum: Plugins
In reply to: [Contact Form 7] Disable Button on Form SubmitIs there at least some way to create this functionality as an addon? I’m not familiar enough with these things to do it myself.
Forum: Plugins
In reply to: [Contact Form 7] Disable Button on Form SubmitI appreciate the plugin and your input, Takayuki. I disagree with the idea that it’s simply poor design. I think users are confused pretty easily, to be honest, and we have this issue across sites. I think that adding a function that disables the button submit would simply improve your excellent plugin. I think it would be good to add it in some way, at least as an option.