WordPress.org

Ready to get started?Download WordPress

Forums

Inserting code from another HTML page into a post (4 posts)

  1. MrCardinal
    Member
    Posted 5 years ago #

    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!

  2. esmi
    Forum Moderator
    Posted 5 years ago #

    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?

  3. MrCardinal
    Member
    Posted 5 years ago #

    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!

  4. esmi
    Forum Moderator
    Posted 5 years ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.