Coed
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: How to remove pingback from the head section?Hi,
You can simply comment out (or remove) the following from the header.php file
Commenting it out keeps it in the file (in case you ever want to enable it) but stops it functioning
<link rel=”pingback” href=”<?php bloginfo( ‘pingback_url’ ); ?>” />
To comment something out in html just add this code before it
<!–
and this code after it
–>
so it becomes
<!– <link rel=”pingback” href=”<?php bloginfo( ‘pingback_url’ ); ?>” /> –>
As always, I would highly recommend doing a backup of any files before modifying them, as well as keeping regular backups of both your site and DB. ??
Coed.
Right, well kinda sorted the calender/date/time picker not viewing nicely in IE7 & IE8.
bigContact.css (located in wp-content/plugins/bigcontact/view/css)
Changed lines 141 to 145 to the following
.bigContact .ui-datepicker { /* float: right !important; */ width: 300px !important; margin: 0 auto; }
Basically, ignored the float (Using the /* & */), specified a width of 300px (which was 100%) and added the “margin: 0 auto;” to make it centre align within the area it is, all which works ok in IE7 & IE8 and doesnt affect functionality in the other major browsers. Being a responsive plugin however, it may affect how it views in some mobile devices, etc. Tested in on ipad, iphone and android tablet and seems ok. Personally, and at present, IE7 and IE8 is of higher concern to me than mobile devices although not for that much longer… ??
Played around a little, layout in IE7 & IE8 isnt as pretty as other browsers, instead of it being a nice little neat job it ends up stretching to 100% of the width (within the div/content) which although isnt ideal, it does do the job.
The errors that I was getting as above were ONLY when using the date/time picker, and more specifically only when using the time part – if you had specified just to use the date then it worked ok, apart from the layout noted above.
Basically, I removed the offending lines from bigContactForm.js which specifically were lines 58, 59 & 60 – That allowed the form to function as a date/time picker
For the layout side of it Im guessing thats a refinement needed in the CSS which I will try sort and update accordingly.
Tweaking the bigContactForm.js file at the moment to limit the days of the week and times that people can select, and will give an update later on again with progress.
Hope that this is of use to someone! ??
IE8 gives the following error, not quite savvy with JS so any thoughts or input appreciated. Gonna have a look at the JS file and will update with any progress. ??
In IE8 it displays the appointment calender but it stretches to full width, and you can’t click on a date to select.
Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; InfoPath.3; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
Timestamp: Sat, 8 Dec 2012 14:04:39 UTCMessage: ‘console’ is undefined
Line: 58
Char: 21
Code: 0
URI: https://www.pretendwebsiteaddress.com/temp/wp-content/plugins/bigcontact/view/js/bigContactForm.js?ver=1.0Message: ‘console’ is undefined
Line: 58
Char: 21
Code: 0
URI: https://www.pretendwebsiteaddress.com/temp/wp-content/plugins/bigcontact/view/js/bigContactForm.js?ver=1.0Message: ‘console’ is undefined
Line: 58
Char: 21
Code: 0
URI: https://www.pretendwebsiteaddress.com/temp/wp-content/plugins/bigcontact/view/js/bigContactForm.js?ver=1.0Message: ‘console’ is undefined
Line: 58
Char: 21
Code: 0
URI: https://www.pretendwebsiteaddress.com/temp/wp-content/plugins/bigcontact/view/js/bigContactForm.js?ver=1.0Message: ‘console’ is undefined
Line: 58
Char: 21
Code: 0
URI: https://www.pretendwebsiteaddress.com/temp/wp-content/plugins/bigcontact/view/js/bigContactForm.js?ver=1.0Message: ‘console’ is undefined
Line: 58
Char: 21
Code: 0
URI: https://www.pretendwebsiteaddress.com/temp/wp-content/plugins/bigcontact/view/js/bigContactForm.js?ver=1.0Message: ‘console’ is undefined
Line: 58
Char: 21
Code: 0
URI: https://www.pretendwebsiteaddress.com/temp/wp-content/plugins/bigcontact/view/js/bigContactForm.js?ver=1.0Message: ‘console’ is undefined
Line: 58
Char: 21
Code: 0
URI: https://www.pretendwebsiteaddress.com/temp/wp-content/plugins/bigcontact/view/js/bigContactForm.js?ver=1.0Same problem here, was hoping to find an answer on here somewhere but no joy….
Hoping someone can throw some suggestions in the hat.
I installed it on a site, and am testing it at the moment, and the only problems I have had (unsurprisingly) is with IE7 and IE8 – It views fine in IE9 and IE10, FF, Chrome, Safari, etc from what I can see.
Very handy piece of kit, and an absolute timesaver so big up to the developers!! ??