• Greetings,

    I’m a newbie at plugings and want to try writing one ..

    So far I have the following

    <?php
    
    /*
    Plugin Name: Example Plugin
    Plugin URI: http://example.com
    Description: Test
    Version: 1
    Author: Test
    Author URI: http://example.com
    */
    
    include('test/shop.php');
    ?>

    How do I make it so this only gets loaded into a page with a special code like [example] ?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘Loading content to pages with code’ is closed to new replies.