Quantcast
Channel: Topic Tag: plugin | WordPress.org
Viewing all articles
Browse latest Browse all 26892

et3ishak on "Parse Error"

$
0
0

Ok, I just echo'd each line, that seems to work ok.

<?php
/**
 * Plugin Name: somePlugin
 * Plugin URI: http://www.syntaxbytes.com
 * Version: 1.0
 * Author: Paul Ishak
 * Author URI: http://www.syntaxbytes.com
 * License: GPL2
 */
 # Generated with WordPressPluginDesigner v0.1
    add_action('admin_menu', 'somePlugin_admin_actions');
    function somePlugin_admin_actions(){
        add_options_page('Hello World Settings', 'somePlugin', 'manage_options', __FILE__, 'somePlugin_admin');
    }
    function somePlugin_admin() {
        echo "<html>";
        echo "	<div class=\"wrap\">";
        echo "        <h4>";
        echo "		    Some Plugin's Settings";
        echo "		</h4>";
        echo "		<img src=\"http://www.syntaxbytes.com/pluginimages/feature3.png\"/>";
        echo "    </div>";
        echo "</html>";
    }
?>

Viewing all articles
Browse latest Browse all 26892

Trending Articles