Issues with using html on a WP page
-
Hey all,
Whenever I add this code:
<p id="wx_module_9781"> <a href="http://www.weather.com/weather/local/USOH0538">Macedonia Weather Forecast, OH</a></p> <script type="text/javascript"> /* Locations can be edited manually by updating \'wx_locID\' below. Please also update */ /* the location name and link in the above div (wx_module) to reflect any changes made. */ var wx_locID = \'USOH0538\'; /* If you are editing locations manually and are adding multiple modules to one page, each */ /* module must have a unique div id. Please append a unique # to the div above, as well */ /* as the one referenced just below. If you use the builder to create individual modules */ /* you will not need to edit these parameters. */ var wx_targetDiv = \'wx_module_9781\'; /* Please do not change the configuration value [wx_config] manually - your module */ /* will no longer function if you do. If at any time you wish to modify this */ /* configuration please use the graphical configuration tool found at */ /* https://registration.weather.com/ursa/wow/step2 */ var wx_config=\'SZ=728x90*WX=FHW*LNK=RCTN*UNT=F*BGI=seasonal1*MAP=null|null*DN=www.nordoniasoftball.com*TIER=0*PID=1059474963*MD5=d0497c2e94328a9868ded9c7bed2056c\'; document.write(\'<scr\'+\'ipt src="\'+document.location.protocol+\'//wow.weather.com/weather/wow/module/\'+wx_locID+\'?config=\'+wx_config+\'&proto=\'+document.location.protocol+\'&target=\'+wx_targetDiv+\'"></scr\'+\'ipt>\'); </script>I only recieve a link on my page. It does not bring back the image. This works just fine in a normal HTML page, but not on a WP page.
Also, whenever I use a Google maps link, it works, but then does not allow me to go back and edit the page through the admin control panel. I have to delete the contents of the column in MySQL to be able to go back and edit the page.
<iframe width="300" height="300" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.com/maps?f=q&hl=en&geocode=&q=8006+S+Bedford+Rd,+Macedonia,+OH+44056&sll=37.0625,-95.677068&sspn=55.016555,74.882813&ie=UTF8&s=AARTsJpOa4_FT7crKs4YIKbkcjrLzOWn7w&ll=41.310437,-81.504908&spn=0.019341,0.025749&z=14&iwloc=addr&output=embed"></iframe><br /><small><a href="http://maps.google.com/maps?f=q&hl=en&geocode=&q=8006+S+Bedford+Rd,+Macedonia,+OH+44056&sll=37.0625,-95.677068&sspn=55.016555,74.882813&ie=UTF8&ll=41.310437,-81.504908&spn=0.019341,0.025749&z=14&iwloc=addr&source=embed" style="color:#0000FF;text-align:left">View Larger Map</a></small>
The topic ‘Issues with using html on a WP page’ is closed to new replies.