• Hellow everyone,

    I try to make a wp plugin. This plugin should connect to outside db and manage it (add, update, delete and show data). Without big problem I created conn.php and first file that add menu item in cokpit and display data. But I have big problem with create link to next file of my plugin. I try this:
    <a href="wp-content/plugins/<?php //plugins_url( 'findDoctor', __FILE__ ) ?>/findDoctor/add.php">ADD</a>

    It teoretycally work, but give me warning:

    Warning: Cannot modify header information – headers already sent by (output started at /home/mifcoit/domains/mifcoit.pl/public_html/wordpress/wp-content/plugins/findDoctor/findDoctor.php:67) in /home/mifcoit/domains/mifcoit.pl/public_html/wordpress/wp-includes/pluggable.php on line 1171

    File findDoctor have less then 67 lines and I don’t know how to find reason of this problem. I tryed turn out rest of plugins, but it didn’t hepl…

The topic ‘Plugin with setting – links to subweb’ is closed to new replies.