I would imagine that you put that into index.php, and inside the menu div.
Any others got an iea please?
So what I said did not work then ??
Sorry for being a bit slow on this -but I tried with the 2 index.php – one on the main root and one in the wp-admin directory.
No luck.
Please where is the ‘menu div.’ and in which index.php?
thanks.
Brian
You want index.php in the main root and place the code somewhere below <div id="menu">. Below <div id="menu">, you will notice things like your archives, calendar, links, etc. This is the order in which they will display on your site. So, place the ip-to-nation code under <div id="menu"> in the order you want.
Oh and I am running WP version 1.5.
My index.php in the main root edits as :
<?php
/* Don’t remove this line. */
require(‘./wp-blog-header.php’);
?>
Look in the theme directory for whichever you are using, and stick it in sidebar.php
I went to /themes/classic/sidebar.php
I put it under <div id=”menu”> as seen below
I don’t seem to be getting posts working.
Brian
<!– begin sidebar –>
<div id=”menu”>
<?
echo “You are probably from “. wp_ozh_getCountryName() .”
“;
echo “If so, your country flag is <img alt=\”your flag\”
src=\”http://frenchfragfactory.net/images/flag_”
. wp_ozh_getCountryCode() . “.gif\”>
“;
?>
<?php wp_list_pages(); ?>
<?php get_links_list(); ?>
<li id=”categories”><?php _e(‘Categories:’); ?>
etc etc etc
You are definitely using that sidebar.php file ?
To test that write “This is a test” just under the menu div, save, and then do a refresh in the browser.
`<!– begin sidebar –>
<div id=”menu”>
This is a test
(and leave the other stuff)
mostdates – if this does not work, can we have a url to your site please ? It will help us to help you.
http://www.freepgs.com/mostdates/wordpress15
I have put it in both sidebars – classic and default, no result.
Brian
1st : please download the flags pack and upload it to your server, instead of using flags from my server. This is bandwidth stealing, and the day I’ll be bandwidth monitor, I’ll start caring about all the people linking my flags instead of downloading the pack π
2nd : you *sure* you activated the plugin ? …….
3rd : try replacing <? with <?php
Have you definitely activated the plugin ?
Yes IP2Nation set at ‘deactivate’ now