Michael Benson
Forum Replies Created
-
I’ve noticed when that using the Front Page template on other pages W3 Total Cache detects the page template correctly and displays the correct minified Javascript file.
However for some reason the actual Home page is not being detected properly.
Forum: Plugins
In reply to: [W3 Total Cache] [Plugin: W3 Total Cache] Combine CSS Not WorkingYes I realised this afterwards sorry, I tried to post a reply to this topic but it stated it was already closed so I wasn’t able to let you know the problem had been resolved.
Thanks for the response though!
Forum: Plugins
In reply to: [Contact Form 7] [Plugin: Contact Form 7] Placeholder for HTML5I’ve tried to use the placeholder attribute as well, but using the Javascript above just brings about a Javascript error and doesn’t work in browsers that don’t support it. Any ideas where I am going wrong?
Here is how the code looks in my ./header.php file:
<script type="text/javascript" src="https://thatbenson.com/sweet/wp-content/plugins/contact-form-7/scripts.js?ver=2.4.6"></script> <script type="text/javascript" src="https://thatbenson.com/sweet/wp-content/plugins/contact-form-7/jquery.form.js?ver=2.52"></script> <script type="text/javascript"> // Check if browser supports HTML5 input placeholder function supports_input_placeholder() { var i = document.createElement('input'); return 'placeholder' in i; } // Change input text on focus if (!supports_input_placeholder()) { $(':text').focus(function(){ var self = $(this); if (self.val() == self.attr('placeholder')) self.val(''); }).blur(function(){ var self = $(this), value = $.trim(self.val()); if(val == '') self.val(self.attr('placeholder')); }); } else { $(':text').focus(function(){ $(this).css('color', '#000'); }); } </script>
Forum: Fixing WordPress
In reply to: Uploading media after giving WordPress its own directoryHi Guys, anymore ideas on this one? ??
Forum: Fixing WordPress
In reply to: order_by rand not workingHaha!! Oh dear – I had a bit of a fail there ??
Cheers – everything is working fine now ??Forum: Fixing WordPress
In reply to: [Plugin: NextGEN Gallery] Placing Gallery in Template?Nevermind, I simply worked around it awkwardly by using the NextGen Gallery Widget, and calling the Widgets as whole Sidebars where I needed to include the images.
Forum: Fixing WordPress
In reply to: [Plugin: NextGEN Gallery] Placing Gallery in Template?Does anyone have any ideas about this?
Forum: Themes and Templates
In reply to: the_content_rss IssuesWould really appreciate any replies on this matter.
Forum: Themes and Templates
In reply to: the_content_rss IssuesAny idea at all on this issue?
Forum: Fixing WordPress
In reply to: Rewriting Dynamic URLsAnyone have any ideas on this?
Forum: Plugins
In reply to: Custom Field IssueThanks I hadn’t noticed this plugin before, however it looks as though this plugin only supports images which are saved as attachments on the server, and what I wanted to do was use images stored externally on websites such as FlickR/Photobucket instead.
Does anyone know the conditional string I would need to use so that this code would only be displayed when there was infact content in the “postimage” custom field? Since I am using this in the TheLoop.php, and am also using SearchEverything plugn – which means that this post image is trying to be shown for pages/comments which do not have a post image assigned to them.
Forum: Fixing WordPress
In reply to: PHP ConditionalsAh, thanks for your reply. I knew it must have been something to do with the actual statement itself. Made your suggested fix and now works as intended. ??
Forum: Fixing WordPress
In reply to: Changing Excerpt ClippingThanks for the swift reply. I’ll checkout the plugin now.
Forum: Fixing WordPress
In reply to: Changing PermalinkCould this be acheived via a manual .htaccess addition?
Forum: Fixing WordPress
In reply to: Including Category Name?Can anyone help with this issue?