I need help with code automatically changing.

Hello all,

I have a site that I would like to use as a template, however, every time I try to use it alone the pictures die. The quote engine I embedded aligns right and messes everything else up.

the site is insuranceonly.net Its my dads insurance brokerage firm and I am trying to build up the SEO and use it to hire and allow other insurance agents get a site through the Pro Sites plugin. I am trying to make several different sites but I need to be able to get this one right and use it as a template first.

Please if someone could assist me in fixing this issue.

Thank you so much for everything,

Clay

  • Imperative Ideas

    You have changed your wp-content folder location but the images still refer to the old one.

    Here is your image reference:
    http://insuranceonly.net/wp-content/uploads/2013/09/shutterstock_9220543-3.jpg

    Here is the actual location of the file:
    http://insuranceonly.net/stuffonsite-content/uploads/2013/09/shutterstock_9220543-3.jpg

    The image locations are stored in MySQL, so you're going to need to write a query to search and replace all instances of "wp-content" with "stuffonsite-content" in the posts table.

  • Clay

    Thank you for your response. I know I need to either re upload the theme that is no problem. as it is now I have placed the images back on the site. You can see what I would like it to look like.

    The problem is when I try and insert the code for the quote engine. Once I get this right I will be using the New Blog templates plugin as well as the Pro sites plugin. The idea is to allow the new agent to have the ability to have their own site easily out of the box.

    Here is the original code for the quote engine. I just cant get it in the page without it messing up everything.

    I was attempting to use the raw plugin to keep the html in tact. but when inserting the code as it is it messes up everything.

    [/raw]</div>
    </div>
    <h2 style="text-align: center;"></h2>
    <div>
    <div>
    <div class="art-layout-cell layout-item-0" style="width: 100%;">
    <h2 style="text-align: center;"></h2>
    <p style="text-align: center;"><span style="font-family: Verdana, Arial, Helvetica, sans-serif; text-align: center;">From $5,000 to $5,000,000 of Term and Whole Life Insurance.</span></p>
    <p style="text-align: center;"><span style="font-family: Verdana, Arial, Helvetica, sans-serif; text-align: center;">Get INSTANT Term and Whole Life Quotes!</span></p>

    <h2 style="text-align: center;"></h2>
    <div id="blah">
    <p style="text-align: center;"><span style="font-family: 'Seaweed Script', Arial, 'Arial Unicode MS', Helvetica, sans-serif; font-size: 26px;">licensed in 47 states</span></p>
    [raw]
    <p style="float: left; text-align: left;"><img class="alignleft" style="border: 0px;" alt="" src="http://insuranceonly.net/wp-content/uploads/2013/09/fidelitylogo1.png" width="182" height="33" /></p>
    <p style="float: left; text-align: left;"><img class="alignleft" style="border: 0px;" alt="" src="http://insuranceonly.net/wp-content/uploads/2013/09/forestersLife-3.jpg" width="128" height="66" /></p>
    <p style="float: left; text-align: left;"><img class="alignleft" style="border: 0px;" alt="" src="http://insuranceonly.net/wp-content/uploads/2013/09/johnhancocklogo-3.png" width="175" height="60" /></p>
    <p style="float: left; text-align: left;"><img class="alignleft" style="border: 0px;" alt="" src="http://insuranceonly.net/wp-content/uploads/2013/09/banner-3.gif" width="119" height="50" /></p>
    <p style="float: left; text-align: left;"><img class="alignleft" style="border: 0px;" alt="" src="http://insuranceonly.net/wp-content/uploads/2013/09/ING-3.gif" width="120" height="36" /></p>

    </div>
    <div id="engine" style="float: right; margin-top: 100px; margin-right: 80px;"><form action="http://www.compulife.net/cgi-bin/cqsl.cgi" method="POST"><input type="hidden" name="UserLocation" value="2275" /> <input type="hidden" name="TEMPLATEFILE" value="TEMPLATE_LOGO_0.HTM" />
    <table class="default_table" align="center">
    <tbody>
    <tr class="default_header">
    <td class="default_header" colspan="2"></td>
    </tr>
    <tr>
    <td class="gray_cell" style="text-align: right;"><span style="color: #000000; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: small;"><b>State: </b></span></td>
    <td class="gray_cell"><select name="State" size="1"><option value="1">Alabama</option><option value="2">Alaska</option><option value="3">Arizona</option><option value="4">Arkansas</option><option value="5">California</option><option value="6">Colorado</option><option value="7">Connecticut</option><option value="8">Delaware</option><option value="9">Dist.Columbia</option><option value="10">Florida</option><option value="11">Georgia</option><option value="12">Hawaii</option><option value="13">Idaho</option><option value="14">Illinois</option><option value="15">Indiana</option><option value="16">Iowa</option><option value="17">Kansas</option><option value="18">Kentucky</option><option value="19">Louisiana</option><option value="20">Maine</option><option value="21">Maryland</option><option value="22">Massachusetts</option><option value="23">Michigan</option><option value="24">Minnesota</option><option value="25">Mississippi</option><option value="26">Missouri</option><option value="27">Montana</option><option value="28">Nebraska</option><option value="29">Nevada</option><option value="30">New Hampshire</option><option value="31">New Jersey</option><option value="32">New Mexico</option><option value="52">NY Non-Bus</option><option value="33">NY Business</option><option value="34">North Carolina</option><option value="35">North Dakota</option><option value="36">Ohio</option><option value="37">Oklahoma</option><option value="38">Oregon</option><option value="39">Pennsylvania</option><option value="40">Rhode Island</option><option value="41">South Carolina</option><option value="42">South Dakota</option><option value="43">Tennessee</option><option selected="selected" value="44">Texas</option><option value="45">Utah</option><option value="46">Vermont</option><option value="47">Virginia</option><option value="48">Washington</option><option value="49">West Virginia</option><option value="50">Wisconsin</option><option value="51">Wyoming</option><option value="53">Guam</option><option value="54">Puerto Rico</option><option value="55">Virgin Islands</option><option value="56">Amer. Samoa</option></select></td>
    </tr>
    <tr>
    <td class="gray_cell" style="text-align: right;"><span style="color: #000000; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: small;"><b>Birthdate: </b></span></td>
    <td class="gray_cell"> <select name="BirthMonth"><option value="1">January</option><option value="2">February</option><option value="3">March</option><option value="4">April</option><option value="5">May</option><option selected="selected" value="6">June</option><option value="7">July</option><option value="8">August</option><option value="9">September</option><option value="10">October</option><option value="11">November</option><option value="12">December</option></select><select name="Birthday"><option selected="selected">1</option><option>2</option><option>3</option><option>4</option><option>5</option><option>6</option><option>7</option><option>8</option><option>9</option><option>10</option><option>11</option><option>12</option><option>13</option><option>14</option><option>15</option><option>16</option><option>17</option><option>18</option><option>19</option><option>20</option><option>21</option><option>22</option><option>23</option><option>24</option><option>25</option><option>26</option><option>27</option><option>28</option><option>29</option><option>30</option><option>31</option></select><select name="BirthYear"><option>1910</option><option>1911</option><option>1912</option><option>1913</option><option>1914</option><option>1915</option><option>1916</option><option>1917</option><option>1918</option><option>1919</option><option>1920</option><option>1921</option><option>1922</option><option>1923</option><option>1924</option><option>1925</option><option>1926</option><option>1927</option><option>1928</option><option>1929</option><option>1930</option><option>1931</option><option>1932</option><option>1933</option><option>1934</option><option>1935</option><option>1936</option><option>1937</option><option>1938</option><option>1939</option><option selected="selected">1940</option><option>1941</option><option>1942</option><option>1943</option><option>1944</option><option>1945</option><option>1946</option><option>1947</option><option>1948</option><option>1949</option><option>1950</option><option>1951</option><option>1952</option><option>1953</option><option>1954</option><option>1955</option><option>1956</option><option>1957</option><option>1958</option><option>1959</option><option>1960</option><option>1961</option><option>1962</option><option>1963</option><option>1964</option><option>1965</option><option>1966</option><option>1967</option><option>1968</option><option>1969</option><option>1970</option><option>1971</option><option>1972</option><option>1973</option><option>1974</option><option>1975</option><option>1976</option><option>1977</option><option>1978</option><option>1979</option><option>1980</option><option>1981</option><option>1982</option><option>1983</option><option>1984</option><option>1985</option><option>1986</option><option>1987</option><option>1988</option><option>1989</option><option>1990</option><option>1991</option><option>1992</option><option>1993</option><option>1994</option><option>1995</option><option>1996</option><option>1997</option><option>1998</option><option>1999</option><option>2000</option><option>2001</option><option>2002</option><option>2003</option><option>2004</option><option>2005</option><option>2006</option><option>2007</option><option>2008</option></select></td>
    </tr>
    <tr>
    <td class="gray_cell" style="text-align: right;"><span style="color: #000000; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: small;"><b>Gender: </b></span></td>
    <td class="gray_cell"><span style="color: #000000; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: small;"> Male <input type="radio" checked="checked" name="Sex" value="M" /> Female <input type="radio" name="Sex" value="F" /> </span></td>
    </tr>
    <tr>
    <td class="gray_cell" style="text-align: right;"><span style="color: #000000; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: small;"><b>Smoker/Tobacco: </b></span></td>
    <td class="gray_cell"><span style="color: #000000; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: small;"> Yes <input type="radio" name="Smoker" value="Y" /> No <input type="radio" checked="checked" name="Smoker" value="N" /> </span></td>
    </tr>
    <tr>
    <td class="gray_cell" style="text-align: right;"><span style="color: #000000; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: small;"><b>Health Class: </b></span></td>
    <td class="gray_cell"> <select name="Health" size="1"><option selected="selected" value="PP">Preferred Plus</option><option value="P">Preferred</option><option value="RP">Regular Plus</option><option value="R">Regular</option></select></td>
    </tr>
    <tr>
    <td class="gray_cell" style="text-align: right;"><span style="color: #000000; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: small;"><b> Type of Insurance: </b></span></td>
    <td class="gray_cell"> <select name="NewCategory"><option value="3">10 Year Level Term</option><option value="4">15 Year Level Term</option><option value="5">20 Year Level Term</option><option value="7">30 Year Level Term</option><option value="Z:357">10, 20, 30 Year Term</option><option value="Z:123456790TUV">All Level Term Product Categories</option><option value="J">15 Year Return of Premium Term</option><option value="K">20 Year Return of Premium Term</option><option value="M">30 Year Return of Premium Term</option><option selected="selected" value="8">Whole Life and UL guaranteed to age 121</option><option value="S">Whole Life and UL gtd to age 121 - 10 Year Pay</option><option value="O">Whole Life and UL gtd to age 121 - Single Pay</option></select></td>
    </tr>
    <tr>
    <td class="gray_cell" style="text-align: right;"><span style="color: #000000; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: small;"><b>Face Amount: </b></span></td>
    <td class="gray_cell"> <select name="FaceAmount" size="1"><option value="5000">$5,000</option><option value="10000">$10,000</option><option value="15000">$15,000</option><option value="20000">$20,000</option><option value="25000">$25,000</option><option selected="selected" value="50000">$50,000</option><option value="75000">$75,000</option><option value="100000">$100,000</option><option value="125000">$125,000</option><option value="150000">$150,000</option><option value="175000">$175,000</option><option value="200000">$200,000</option><option value="225000">$225,000</option><option value="250000">$250,000</option><option value="300000">$300,000</option><option value="350000">$350,000</option><option value="400000">$400,000</option><option value="450000">$450,000</option><option value="500000">$500,000</option><option value="550000">$550,000</option><option value="600000">$600,000</option><option value="650000">$650,000</option><option value="700000">$700,000</option><option value="750000">$750,000</option><option value="800000">$800,000</option><option value="900000">$900,000</option><option value="1000000">$1,000,000</option><option value="1100000">$1,100,000</option><option value="1250000">$1,250,000</option><option value="1500000">$1,500,000</option><option value="1750000">$1,750,000</option><option value="2000000">$2,000,000</option><option value="2500000">$2,500,000</option><option value="3000000">$3,000,000</option><option value="4000000">$4,000,000</option><option value="5000000">$5,000,000</option><option value="6000000">$6,000,000</option><option value="7000000">$7,000,000</option><option value="8000000">$8,000,000</option><option value="9000000">$9,000,000</option><option value="10000000">$10,000,000</option></select></td>
    </tr>
    <tr>
    <td></td>
    <td><span style="color: #000000; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: medium;"><b><input style="text-align: center;" type="submit" name="CqsComparison" value=" Compare Now " /></b></span></td>
    </tr>
    </tbody>
    </table>
    </form></div>
    <p style="float: left; text-align: left;"><img class="alignleft" style="border: 0px;" alt="" src="http://insuranceonly.net/wp-content/uploads/2013/09/Assurity-Logo.gif" width="170" height="98" /></p>
    <p style="float: left; text-align: left;"><img class="alignleft" style="border: 0px;" alt="" src="http://insuranceonly.net/wp-content/uploads/2013/09/AIGlogo1.png" width="174" height="45" /></p>
    <p style="float: left; text-align: left;"><img class="alignleft" style="border: 0px;" alt="" src="http://insuranceonly.net/wp-content/uploads/2013/09/Genworth-logo.gif" width="176" height="99" /></p>
    <p style="float: left; text-align: left;"><img class="alignleft" style="border: 0px;" alt="" src="http://insuranceonly.net/wp-content/uploads/2013/09/Prudentiallogo1.png" width="162" height="52" /></p>

    </div>
    </div>

    Please let me know what you think I should do to fix it.

    Thank you for any help you can give.

    Clay

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.