Skip to content

WordPress: How to Check if a String Exists in a URL with PHP

For one of the sites I was working on, I had to create a multilingual site for English and French where the English version would use the English logo and the French site would use the French logo. The plugin I used allowed me to have both English and French versions on a single WordPress installation. But, the one challenge I had was working around the base theme’s Theme Options settings where I could only specific one logo file.