How to customize theme?

FTP is the default and most popular method. You will need FTP access to the server itself for this method. Without FTP access you can actually edit the theme code from the WP Admin with the right permissions, /wp-admin/theme-editor.php. Your best bet is probably to create a child theme and upload it via the theme … Read more

‘str_replace’ and ‘strtr’ not working inside plugin

Mark was correct that it was some other code causing the issue. I tracked it down to a plugin I use during testing: Insert PHP; https://wordpress.org/plugins/insert-php/ There’s a line in the plugin’s code that’s replacing forward slashes. Anyhow, I ran the same code I was trying yesterday via a shortcode, and everything works as expected.