WordPress.org

Support

Support » How-To and Troubleshooting » Inserting code from another HTML page into a post

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 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

    @esmi

    Forum Moderator

    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?

    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

    @esmi

    Forum Moderator

    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

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.
Skip to toolbar