Title: Inserting code from another HTML page into a post
Last modified: August 19, 2016

---

# Inserting code from another HTML page into a post

 *  [mrcardinal](https://wordpress.org/support/users/mrcardinal/)
 * (@mrcardinal)
 * [17 years, 1 month ago](https://wordpress.org/support/topic/inserting-code-from-another-html-page-into-a-post/)
 * If someone can point me to another post if this has already been resolved, I’d
   appreciate it- I’m not sure what to search for on this issue.
 * I have a blog post [http://lighthousealliance.org/site/?p=3272](http://lighthousealliance.org/site/?p=3272)
   and at the bottom of it, I have links to six related blog posts. If you click
   on one of those related blog posts, you will see that on the bottom of those 
   posts, I have related blog posts. Right now, I manually update those related 
   blog post links (minus the page that you are on), but I was wondering if I could
   make an HTML page with just those “related links” and just call it up using the
   HTML in the blog post.
 * Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [17 years, 1 month ago](https://wordpress.org/support/topic/inserting-code-from-another-html-page-into-a-post/#post-1043010)
 * Not sure I’m following you…
 * Are you looking at a way to reduce the amount of work you do to create related
   post links? If so, have you looked in the Plugins Directory?
 *  Thread Starter [mrcardinal](https://wordpress.org/support/users/mrcardinal/)
 * (@mrcardinal)
 * [17 years, 1 month ago](https://wordpress.org/support/topic/inserting-code-from-another-html-page-into-a-post/#post-1043014)
 * That’s precisely what I’m looking to do! I am afraid to run any more plugins 
   on the site- I have about a dozen running right now and trying to add another
   plugin is like trying to find the right medicine for someone who is already on
   a dozen of them- they all interact with each other!
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [17 years, 1 month ago](https://wordpress.org/support/topic/inserting-code-from-another-html-page-into-a-post/#post-1043162)
 * A plugin would be the way to go. A dozen plugins isn’t too bad. I’ve seen sites
   with far more. And it’s only the bad plugins that create conflicts, in my opinion.
   You may have to try a couple but you should be able to find something to suit.
 * Other than that, the only thing I can think of it to create a shortcode that 
   expands to use `<?php include (TEMPLATEPATH . '/some_file.php'); ?>`.
 * [http://codex.wordpress.org/Shortcode_API](http://codex.wordpress.org/Shortcode_API)

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Inserting code from another HTML page into a post’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [esmi](https://wordpress.org/support/users/esmi/)
 * Last activity: [17 years, 1 month ago](https://wordpress.org/support/topic/inserting-code-from-another-html-page-into-a-post/#post-1043162)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
