Give help. Get help.

  • # June 10, 2013 at 9:22 pm

    I have the same unordered lists on MANY pages. Can the list be placed in a separate file, just like the css stylesheet, and then “imported” into a div withing the body?

    Is there a plugin for this? I know nothing about JavaScript.

    If so, will removing the lists from the actual web pages effect SEO?

    # June 10, 2013 at 9:23 pm

    Oops. Here’s the URL if you need it.

    # June 10, 2013 at 9:46 pm

    Don’t want to use Javascript for this. Preferably you would use PHP:

    < ?php include('/path/to/list.php'); ?>

    Then on your server have list.php that has your HTML in it.

    # June 12, 2013 at 9:05 pm

    @thedoc , I’ve done what you suggested…Thanks!!! The page below has the links in the body (top-right) “Service Areas”, and the links work fine.

    This page has the include file (top-right) “Service Areas”, and the links don’t work.—Amelia-Court-House%2C-VA—Jetersville%2C-VA.php

    I noticed that the file names are the same for both, but the page title doesn’t appear the same on hover (bottom left corner), if that helps. Do I need to add something in the include file?

    Again, thank you for your help. You’re a life saver!

    # June 14, 2013 at 11:34 pm

    To clarify, the ‘include’ works, but the links don’t.

    I use RVSitebuilder, which displays a file number (i.e. ahref=””). On the live site the file numbers are replaced with the name that appears in the URL address bar.

    The problem is, the links from the ‘include’ file keep their numerical value when loaded, and are not replaced with the page name. The links do not work. Is there something I need to add to the ‘include’ file to fix this?

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.