cpkthirdoakpro
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Site Health after installing Ver 6.6FYI, this bug has now been patched in WP v6.6.2!
Forum: Fixing WordPress
In reply to: Site Health after installing Ver 6.6Hi everyone, I was noticing this issue to and realized it is a bug in v6.6 and v6.6.1. All you need to do is add “fonts” directory (folder) back to the “wp-content/uploads/” folder and it will work again. I guess they deleted it in these versions and forgot to reprogram this section. If you don’t want to go in the file manager for every site you have, I programmed a quick fix plugin, you can download it here: https://thirdoakproductions.com/wp-content/uploads/2024/07/wordpress-directories-and-sizes-v6-6-patch.zip – It will patch on activation and you can immediately uninstall and delete this plugin once it’s patched (and it will still work). I have used it on many sites and it works great, it will only activate if you have WP v6.6. or higher. Once they patch this, this plugin will be useless fyi. Hope that helps!
Forum: Plugins
In reply to: [Code Manager] Enhancement RequestHi there, check out the solution I posted here, is that what you’re looking for?
Hi Sacha, I didn’t program this plugin but yes you can absolutely do this. You have to write the code in PHP. Create PHP code like this, make sure to replace “your_table” with a table that exists in your DB and “id” with the column name in your table:
<?php global $wpdb; //Mandatory $row = $wpdb->get_row("SELECT * FROM your_table WHERE id = '1'", ARRAY_A); ?> <!-- Now you can write HTML, and inject the PHP variables in it --> <!-- Will display name, if you have a column in your table labeled "name" --> <h2>Name: <?= $row['name'] ?></h2> <!-- Will display email, if you have a column in your table labeled "email" --> <h2>Email: <?= $row['email'] ?></h2>Also, be sure to wrap your_table and id with grave accent symbols in your SQL. Hope that helps!
- This reply was modified 5 years, 2 months ago by cpkthirdoakpro.
- This reply was modified 5 years, 2 months ago by cpkthirdoakpro.