Michelle
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Hostinger backup restore: Broke my WP DatabaseClosing: Fixed
- It was not PHP messages
- All I had to do was switch Hotinger’s inbuild LightSpeed Cache off.
- I do not recommend Hostinger. You get what you pay for — SiteGround may seem expensive but not when you weigh it up against all the unique headaches I have had this past year with Hostinger. The resilience of their platform and support is incomparable to SiteGround.
Forum: Fixing WordPress
In reply to: Hostinger backup restore: Broke my WP DatabaseOh I see, thanks @threadi I will give it a try. I am really struggling to get any support from Hostinger. Can you tell me if switching PhP messages off is in wp_config.php, and if so what to insert? I have enough knowledge to try that at least (I switched my error logging on too, but so far nothing in debug.log).
What is remarkable is that I did not change any settings, things have worked fine for a year. And then all of a sudden not. But still, thank you I will give PHP messages off a try. Awaiting your reply.
/**
* For developers: WordPress debugging mode.
*
* Change this to true to enable the display of notices during development.
*/
if ( ! defined( 'WP_DEBUG' ) ) {
define( 'WP_DEBUG', false ); // Michelle: Don't show errors on site (defaults to False)
define( 'WP_DEBUG_LOG', true ); // Michelle: Log errors silently to wp-content/debug.log (I switched on)
}Forum: Fixing WordPress
In reply to: Hostinger backup restore: Broke my WP DatabaseHello @threadi thank you for taking the time to reply but unfortnuately it was not usefu. The problem that I need help with are points (1), (2), (3) — not whether or not I can see PHP messages. Also, as mentioned in my initial message, I have no Site Health problems. Thanks for trying though 🙂
Additional Details:- WordPress version: 6.7.1
- PhP version: 8.2 (not 8.3… is this okay?
- Database repair: I ran it, no issues found
Forum: Fixing WordPress
In reply to: Hostinger backup restore: Broke my WP DatabaseUpdate: I ran
https://ailearnlog.com/wp-admin/maint/repair.phpand no problems were detected.Where to from here, any advice please 🙂 ?
Not to worry — I didn’t have 404 logging on. I switched it on, went to a factitious page to get a 404, then ran the repair again and
The wp_slim_seo_404 table is fine.My bigger problem is not Slim 😐
Forum: Fixing WordPress
In reply to: Block Editor: Look & Feel changed all of a suddenHello @mayuripatel . thank you for your prompt and detailed reply. It must have been the Elementor Hello theme update. They’ve just released a new update since yesterday. I updated the Elementor Hello theme for a second time, and it is all back to normal now. Thank you very much.
Forum: Plugins
In reply to: [Advanced Custom Fields (ACF®)] Make Custom Post Type — PrivateEdit:
I tried to use a Code Snippet:
I copied the code snippet from here and ensured that ‘my_post-type’ was changed to my SCF “Post Type Key” setting. The same result as above – when I copied the custom Post URL into a browser where I was not logged in with WordPress, I could see the post.function force_type_private($post)
{
if ($post['post_type'] == 'my_post_type') // I used my SCF "Post Type Key"
$post['post_status'] = 'private';
return $post;
}
add_filter('wp_insert_post_data', 'force_type_private');I used WP functionality — Private (it worked):
I went to WP Dashboard > find the specific custom post > Edit > Set Status = ‘Private’ . This workedQuestion 1:
But I’m worried someone creates a new custom post, and they forget to set it to private. I would like use a code snippet so that ALL instances of this custom post type are always private. Is this possible?Question 2:
And if not through a code snippet, through SCF settings? (I’m not using a Field Group, just Custom Post).Super thank you @rilwis !
I’m going to post my social previews soon to this forum, they are just lovely!!! What a super duper plug-in. Setting up Slim was so easy and o know next to nothing about SEO. Just great.Forum: Plugins
In reply to: [The Events Calendar] Change/translate “List” and “MonthForum: Plugins
In reply to: [The Events Calendar] Change/translate “List” and “Monthhi @rafix777 I often find when I change an unrelated TEC setting via the dashboard my translations break and sometimes I get errors on the page too.
The only thing that helps me, is to change the site la gauge back to English – refresh the /events/ page (I just do it out of habit) and then back to German – magically fixes things. Sometimes.
Forum: Plugins
In reply to: [The Events Calendar] Change/translate “List” and “Monthhi @rafix777 .
I also struggled with translations. The method I described below worked perfectly for me – for the TEC filter bar (but not for TEC Calendar Pro). If you’re not using the pro version and aren’t fixed to using Loco, maybe try this for “The Events Calendar” (free) — if you watch the video I give in my 3rd message you’ll see how it works too. Just ensure you do this in a staging environment because it could go either way!
https://wordpress.org/support/topic/given-up-on-tec-translations-easy-steps-here-🟢/
Hope you give it a try, more so, I hope it works for you.
- This reply was modified 1 year, 5 months ago by Michelle. Reason: Grammar
Hi @rilwis
thank you for your detailed reply, it is very helpful. Just one last question, for the below do you perhaps have a documentation link that details how to potentially add this code?
If you need to add a snippet for a Cookie Consent service, then you can use Slim SEO to insert code as well.
Thank you
MichelleOh.
Sorry. Not to worry. I didn’t expect it to work like that. I thought the word “extension” means everything is in the one Eventprime plugin and all you need to do is switch functionality on with the various licence keys. THanks no reply needed.
Forum: Developing with WordPress
In reply to: How to select Guttenberg “code block” for CSS customisationSorry… I made a mistake. I’m too embarrassed to say what it was. I’ll close this thread (but thank you for your replies).