Title: Loading content to pages with code
Last modified: August 19, 2016

---

# Loading content to pages with code

 *  [Wizard](https://wordpress.org/support/users/badmp3/)
 * (@badmp3)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/loading-content-to-pages-with-code/)
 * 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)

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/loading-content-to-pages-with-code/#post-1407539)
 * [http://codex.wordpress.org/Shortcode_API](http://codex.wordpress.org/Shortcode_API)

Viewing 1 replies (of 1 total)

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

 * 1 reply
 * 2 participants
 * Last reply from: [esmi](https://wordpress.org/support/users/esmi/)
 * Last activity: [16 years, 3 months ago](https://wordpress.org/support/topic/loading-content-to-pages-with-code/#post-1407539)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
