I’m on PHP 8.3 and WordPress 6.5.3 , nothing shows in the PHP error log.
//============================================================================
function AddBungalookRole($RoleName, $RoleOptions)
// CREATE ROLES
//============================================================================
{
add_role("Bungalook_{$RoleName}", "Bungalook {$RoleName}", $RoleOptions);
}
//============================================================================
function CreateBungalookUserSecurityRoles()
// CREATE ROLES
//============================================================================
{
$RoleOptions = [
'read' => true,
'create_posts' => true,
'edit_posts' => true,
'edit_others_posts' => true,
'publish_posts' => true,
'manage_categories' => true,
];
AddBungalookRole('Newsletters', $RoleOptions);
AddBungalookRole('Orders', $RoleOptions);
AddBungalookRole('Plants', $RoleOptions);
AddBungalookRole('Reimbursements', $RoleOptions);
}
add_action( 'init', 'CreateBungalookUserSecurityRoles' );
]]>In the theme/template that I use the headings and titles of posts are in upper case. I would like to change to lowercase with the exception of the first letter of the heading. I tried the following
h1, h2, h3 {
text-transform: lowercase;
}
But it converts to all the entire heading to lower case.
]]>Thanks and best regards,
Philip
I want to redirect
https://www.datanumen.com/downloads/files/DNTU.EXE
to
https://www.datanumen.com/downloads/files/dntu.exe
How to write the rule?
]]>I have some troubles during migration from one website to another. After importing some posts, I get more then 100 error messages from Broken Link Checker.
There is some troubles between upper and lower case. For Linux it is a different and therefore I see the error messages from Broken Link Checker.
The import of the media from the old wordpress website produces url with lower case, but the import of the posts still have a lot of url with upper case. If I change that one by one, it will fix the problem, but there really to much of them to do a manually fix for all…
Therefore my question, if Broken Link Checker is able to do mass transfer of the url from upper to lower case? The most times, it is only one upper letter like “big_Image.jpg” which need to be “big_image.jpg”. Please for help.
best regards
Andyt
I’m already amazed as to how tuneable the OceanWP/Elementor combination is.
The difference is like comparing riding on an old steam loco with travelling on a Japanese bullet-train(!) & right now I’m currently stuck on a couple of probably easy-to-do issues & so I’m asking on here for some help (I’ve read through the FAQ / docs but couldn’t find a solution to these two issues).
1. I can’t work out how to right-align the main menu for the home page, even though I’ve set this for the other pages and posts.
2. I can’t see how to remove the tagline on the home page.
In Celestial-Lite I had to deal with things like this (and many other settings your combination does easily) by adding lines to the CSS child theme editor but I’d imagine there are ways to adjust both of the above without actual ‘coding’.
If anyone can suggest any ways to deal with this I’d appreciate it.
My website’s https://www.thescholarshiphunt.co.uk & apologies for the rough & ready look it has at present, only started on it this morning & the weird colours as so I can easily see which parts are which!
]]>I’m using the banned URL feature of Wordfence a lot to immediately block hackers from accessing unwanted URLs.
Today I realized that the URLs entered into banned URLs list are case-sensitive. For example, if we add /phpmyadmin URL to the list and if someone try to access /phpMyAdmin URL, he’ll not be blocked. There might be many variations of a URL if we change case of each and every character and it’ll be very hard for us to block all variants.
In my opinion the entered banned URLs should be case-insensitive. So that we add one URL one time and can be sure that Wordfence will block visitors from accessing that URL no matter what case they choose.
I noticed it because I have entered /phpMyAdmin to the banned list and today someone tried to access /phpmyadmin and he was not banned. I tried it myself and I was also not blocked. I got 404 not found page.
So please fix this bug and make banned URLs case-insensitive.
Thank you.
]]>