• We have created a word press site, and, now, we would like to incorporate some already created .asp pages into the site. I would like to keep them as .asp if possible as there is an awful lot of them, and an awful lot of code / database pulling / displaying / updating and the like.

    So, I am thinking about just plugging my .asp pages into the wordpress site somewhere (and I would have to manually update them opposed to the theme’s update process).

    Now, what I want to do is take the existing .css styling and all menu’s / links that are already existant, and plug those into my .asp page…then, I will just add the .asp code I need to the static pages.

    However, a problem I am having is I am not quite sure on where to find a “template” page where I can paste the code into my asp page (I know I can’t use php in my asp code, I will just use the css styling and re-create the links using a mysql connection through asp).

    So, where do I find all the database connection information for the links, a template page to use the .css styling from, and any extra information you think I will need?

    Or, does anyone know of a better way to accomplish this?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter dzirkelb

    (@dzirkelb)

    I found a way to do this through javascript:

    <script language=”javascript” type=”text/javascript” src=”test.asp”></script>

    adding that line of code produces the results of test.asp.

    Now, does anyone know how I can produce a general template file the rest of the wordpress pages use so I can add this part of the code into it?

    Thread Starter dzirkelb

    (@dzirkelb)

    I answered my own question…I can place that code into each page that is created through the wordpress admin page. So, if anyone wants to know in the future how to put .asp pages into a wordpress theme without having to convert their page to php, or create custom pages, then just create the .asp page and use it as an include file.

    one thing though…I haven’t played much with it, but it seems to display correctly on the screen, the asp page needs to look something like this:

    [code]
    <%
    Dim word
    word = " These results are from an ASP Page"
    %>
    document.write("<%= word %>")
    [/code]

    notice the document.write portion…if that is not there, then I get a javascript error. I’ll look for ways around this, but for now, I’m going to use this.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Looking for Plug In or Advice’ is closed to new replies.