• Resolved lsare10

    (@lsare10)


    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!

Viewing 3 replies - 1 through 3 (of 3 total)
  • hey I just painted my house, do you like the new colour?

    you’ve written a bit of php, which really has nothing to do with wordpress… and which you haven’t shown us, but we’re supposed to diagnose the issue based on NEITHER the function, nor the contents of your ini file?

    Thread Starter lsare10

    (@lsare10)

    Thanks for the sarcasm. I love forums.

    you’d have preferred no reply at all? I’ll remember that for next time.

    I should have known that you didn’t actually want any help… I mean I should have guessed from you posting in a support forum.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘.ini File Not Linking’ is closed to new replies.