.ini File Not Linking
-
I have set up a custom WordPress Theme (my first one) and I have some php calls inside of my WordPress pages. I downloaded and activated the Exec-PHP Plugin to allow my php to work, and it does wonderfully. However, on one of my pages I have the following code:
<p><?php showImage('images2.ini'); ?></p> <p><?php showImage('images2.ini'); ?></p>The php code executes a rotating image with unique links, titles, etc. which is controlled by the .ini file. It works great, except it won’t link correctly. If you hover over the images you see that it shows a link to
http://www.cobbcorp.com/blog/?page_id
This is incorrect, because my .ini files show a link of
http://www.cobbcorp.com/blog/?page_id=8
Therefore, my question is, why when implemented is the =8 dropping from the link when the code is executed?You can see the code in action at http://www.cobbcorp.com/blog (it is the globe images with text at the bottom of the page)
Thanks in advance for any help!
The topic ‘.ini File Not Linking’ is closed to new replies.