I’m currently using the Ambleside theme and wanted to be able to change the logo on the top left depending on the country (we have the country name made into the USA logo) and I think this plugin will do what I need.
The first issue I ran into was that IP-2-Nations wouldn’t install. When I clicked on the “The IP-2-Nations data needs to be updated/installed before you can use the Content By Country plugin.” link, it would start loading but not go anywhere (stuck on the link http://192.168.254.170/wp-admin/index.php?CBC_INSTALL_DB=install). After a little bit of googling, I found that I could just restore the database manually, and did this without any problem, but the message at the top of the admin controls is still there. Have I missed something when installing or is there any way to make it realise that I have installed it?
Secondly, the logo for the theme is done through a control panel for the theme. In the box provided for a custom title, I have entered “[CBC country=”us” show=”y”]<img src=”IMAGE-FOR-US” />[/CBC][CBC show=”y”]<img src=”IMAGE-FOR-ELSEWHERE” />[/CBC]”. I’m not sure if I’ve done the code right for a start. What I want to achieve is, if the user is detected as being in the US – it will show the US logo, but if they’re anywhere else, it will show the other logo. Regardless, the code is coming up as plain text (kind of) when I update the website. Is this because I’m working locally, or will I need to change something in the code to ensure that the code is being read as shortcode?
Thanks in advance.
- The topic ‘[Plugin: Custom Content by Country, from Worpit] IP-2-Nations and Theme issues’ is closed to new replies.