Using PHP in Widgets (2 posts)

  1. Expat Dale
    Posted 7 years ago #

    I'm installing LinkEx for doing link exchanges, and I want the hardcoded links to show up in a sidebar widget. The LinkEx documentation says to use the following php code for displaying the data: "<?php include( "linkex/data/output/1001" ); ?>" When I go to that location, I can see the links, but the text widget does not parse my php. Any ideas how to fix that?

  2. MarkRH
    Posted 7 years ago #

    Checkout the Executable PHP Widget: http://wordpress.org/extend/plugins/php-code-widget/

    It should do what you want.

    Mark H.

Topic Closed

This topic has been closed to new replies.

About this Topic