Everything posted by webDesignerJon
-
SEO for a non SEO specialist
webDesignerJon replied to webDesignerJon's topic in SEO (Search Engine Optimisation) & Search EnginesYes thanks. We can add links easily through the GUI provided by the custom post type. But that's how the slider is generated. A slider Custom post type with CSS and JS that works the slider magic. Alright, well thanks again all for your advice. I'll update my list of recommendations to talk about when we next meet.
-
SEO for a non SEO specialist
webDesignerJon replied to webDesignerJon's topic in SEO (Search Engine Optimisation) & Search EnginesThanks for this. As far as I'm aware all pages do this. I may look into if there's anything on WordPress that allows for nofollow on individual pages, although if needs be I can set up a file for that. Because as with any WordPress site there's lots of pages up there that are not used at the moment and therefore not linked. The slider and the scrolling text are kinda crucial to the design (for the record I wasn't the original designer) so my client will be fairly keen for this to stay. Could we not keep them if we make sure we add alt attributes to the images?
-
SEO for a non SEO specialist
webDesignerJon replied to webDesignerJon's topic in SEO (Search Engine Optimisation) & Search EnginesThanks for all your replies. Here's the main site, http://www.dced.co.uk I spent the majority of the day looking into the best white hat tactics out there and this morning I made some recommendations to my client. We can work on on page stuff but what do you mean about site structure? It's fairly simple at the moment, the home page linking to one single page. Is there anything different you;d suggest about the way the site is put together? WordPress is non negotable I'd say as we've already done a lot of work together with that and a lot of refinements to the way it looks. We do use Adwords and SEO Yoast plugin but with Yoast at the moment we have only one focus keyword per page.
-
SEO for a non SEO specialist
Hi everyone. I have a client who has asked me to help research a set of keywords for his websites to help increase his website ranking. However as I've said to him I am not an SEO specialist beyond the "On page" methods for preparing websites for search engines. It's a WordPress website The targeted keywords are: English Maths KS2 KS3 KS4 GCSE Primary Secondary Tutoring Beyond the content, what can be done to boost the ranking and keep that ranking in the long term? Do we need to refine the keywords for example? Include geographical locations like north east? Any helpful tools I should be aware of? Thanks
-
Database always connects despite introducing an exception
Thanks for your reply But why wouldn't it output the copy of the database then? Why an empty file of the incorrect filename? I should clarify the filename in the code is actually the correct one. I should have posted an incorrect one. In which case surely an exception should then be triggered? I have seen one instance in another server location where an incorrect file name triggers an exception, no connection to the database. However this is not the case on localhost or my own web server. Thanks. :-)
-
Database always connects despite introducing an exception
Hello, it;s been a while. I wonder if someone can help. I have some code. I'm attempting to connect to a database via SQLite. Actually the database always connects. I'm trying to trigger an exception in a try catch blog but no matter what I do (deliberately mispelling the database name) to trigger the exception, the connection message will always show up. Here's my code. <?php try { $db = new PDO("sqlite:" . __DIR__ . "/database.db"); var_dump($db); } catch (Exception $e) { echo "Unable to connect to the database"; exit; } echo "Connected to the database successfully"; ?> So what happens is instead of blocking the connection if I use a different name it will create a new empty file of that name. http://www.jonniegrieve.co.uk/jg-lab.co.uk/medlib-sql/inc/connection.php The code is sound. Is there some reason the code is doing this that I should know of? Thanks
-
Backup of WP site
The best way is to Develop locally on a local server such as XAMPP, MAMP or DesktopServer. Then, export a copy of the database in an SQL file which you'll then use to import onto a live server. But you'll need to have a copy of the files on both local server/hard drive and live server keeping the file structure intact or the site will break. Remember you'll need to change your permalinks and use a Search and Replace plugin to update paths and posts for your site to fully work once migrated. :-)
-
Implementing a jQuery responsive navigation.
I have CSS Transitions for the social media icons but I'll look further at setting up CSS for the hamburger icon. But for the interim I have a jQuery effect that seems to work and gives me exactly what I want. I appreciate everyones help so far though. I can see that I was working against a brick wall with the other plugin.
-
Implementing a jQuery responsive navigation.
Okay. I've fixed it up with a toggle jQuery. Again it controls the animation with only one instance of the navigation markup. The only sticking point now is that if I was to drag the browser with the navigation closed there's no visible navigation on desktop with. I'm not sure that's a huge problem as devices won't be doing that anyway and in all the relevant devices the hamburger menu should always be visible. Or do you disagree? The jquery I've used does to the animation but it's also the toggle class that I need. $( document ).ready(function() { $( ".hamburger" ).click(function() { $( "#navLinks" ).slideToggle( "slow", function() { // Animation complete. }); }); });
- Implementing a jQuery responsive navigation.
-
Implementing a jQuery responsive navigation.
Well I know from the demos that the jQuery works and it can work for the design but for the life of me I just don't know how. The only difference being in the demos that the navigation is the top most element in the markup and maybe it's just not meant to be. If that's the case back to the drawing board I go. :-)
- Implementing a jQuery responsive navigation.
-
Implementing a jQuery responsive navigation.
Hi all, I have here a simple design with a responsive navigation jQuery plugin that kicks in in a width of 680px or less. http://www.jonniegrieve.co.uk/tmp/index.html Only as you can see to actually get this to work I had to duplicate my navigation, which is a big no. The plugin hooks into this class. <script> var nav = responsiveNav(".nav-collapse"); </script> http://responsive-nav.com/ It generates a hamburger icon via the jquery. But I don't want to see this in widths of 680px or wider I've tried very hard to fix this but the only way to remove the icon is to switch off the nav-collapse class and it's associated toggle class. What's the trick to remove this but still keep my navigation?
-
Does anyone here use the Compass Framework?
Thanks for that! Will research a little more before giving up! It's got to be worth getting practical experience of these sorts of tools before moving onto the next :-)
-
Does anyone here use the Compass Framework?
Yea that's not the first time I've hheard about Grunt and the like! Is Compass on its last legs then? I have used and always have used Ruby with MS DOS to compile Sass. I've never had a problem watching Sass files for compiling but trying to do the same with Compass is a different kettle of fish!
-
Does anyone here use the Compass Framework?
I wondered if anyone here has any experience with using Compass with the Sass CSS precompiler. It keeps lagging my computer when trying to watch a file with compass watch file.scss So, I've done a lot of digging behind the scenes to try and get to the bottom of why Compass keeps lagging when I try to watch a project. I've updated everything I can think of to try and get to the latest versions of Ruby, Sass and Compass. Sass does not lag but Compass totally consumes my CPU and RAM when I watch a file. Sass Version: Sass 3.4.13 Compass Version: 1.0.3 Ruby Version: 2.2.1p85 [i386-mingw32] Windows Version: Windows [6.1.7601] These are all the latest versions and files. I've done all updates and checks. I know MACs come preinstalled with Ruby. Is it simply a case that I need to upgrade my computer? Even go to the step of getting a MAC to get Compass to work? These are my specs. Version: Windows 7.1 Ultimate Service Pack 1 Processor: AMD Phenom 8600B Triple-Core Processor 2.30 GHz RAM: 2.00 GB (1.87GB usable) 64 bit Operating System Thanks. :-)
-
Newbie to E-Commerce
Hi all, yea went with Softaliscious Open Cart in the end and it's working great so far! I think we'll be using PayPal to proceans payments but will look further into getting the config files for this!
-
Newbie to E-Commerce
Hi everyone. I've recently taken on a new project to take a project that has been created via a generator and convert it to hand written code. But this will also be the first time I take on a project that will include a shopping cart. Now, I'm not a web developer. I don't know how to write a cart from scratch but I've never worked with a cart maker before and have no idea how to integrate a cart into a particular web design. My web hosting comany seems to have a number of scripts on offer. Examples include PrestaShop OpenCart AbanteCart Magento But how easy is to work with these scripts? Is it is case of following an installer Wizard? Do you have to install files and then put images in place to make up the product pages? Do you have to register anywhere to accept card payments? Please explain to a complete newbie how it works, thanks.
-
Why would this video not be working?
It's Chrome i'm doing all my testing on at the miment. But that I thought that's why you had the source element, so you could add 3 versions of the same video and catch all the main browsers. I suppose what I really need is an alternative like Flash whenever the video tag for whatever reason fails. At least until Firefox catches up. Yet I don't see why one platform should fail and not the other bearing in mind they're both the same version of Chrome. (38)
-
Why would this video not be working?
I realise this sounds like a very basic question and if it is actually showing up properly for people (which right now seems like pot luck) with its controls then you may not be able to troubleshoot it. I'm doing a blog post about the HTML5 Video element at the moment debugging issues such as these. http://www.jonniegrieve.co.uk/lab/video/video.html Here's my code. <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>HTML Video and Audio</title> <link rel="stylesheet" href="css/normalize.css"> <link href='http://fonts.googleapis.com/css?family=Nunito:400,300' rel='stylesheet' type='text/css'> </head> <body> <h1>Basic HTML Video</h1> <video autoplay controls> <source src="olympic.mp4" type="video/mp4"> <source src="olympic.ogg" type="video/ogg"> <!-- --> <source src="olympic.webm" type="video/webm"> <track label="English" kind="subtitles" srclang="en" src="caption.vtt" default> </video> </body> </html> The files are all uploaded. The video files are all relative in the same folder as the HTML file. The src and types are all correct I'm sure. It's all valid HTML. So it should be simple, yes? From my perspective, the video works on my desktop, but not my laptop. Any video guru's might know what's wrong because I'm out of ideas :/
-
jQuery Notification Bar
So it seems the whole time, it was a problem with the buttons being hidden behind the background of my navigation area. So to make sure the button appeared correctly and therefore the notification bar I simply pushed it above in the CSS stacking order. z-index: 1
-
jQuery Notification Bar
Thanks the demo page now works. I'd actually had it on my server but not linked to it on that page. The page I want to link it to had it commented it out. From what I can tell the cookie is actually working for for whatever reason the open button doesn't appear. http://www.jonniegrieve.co.uk/index-dev.html So for whatever reason there's some some of CSS conflict pushing it away from view somewhere? I'd like to be able to have that, and then customise it with the better image later. Thanks.
-
jQuery Notification Bar
Hi all, it's been a while hasn't it? I've been trying to implement a notification bar on my site for a while, which as evidenced by the demo where this bar comes from should be quite straightforward. http://www.ak****sethi.me/how-to-create-simple-notifications-bar-for-your-website/ Here's a temporary page I've tried to put on my site. http://www.jonniegrieve.co,uk/bar.html It's supposed to work by switching the bar off with the close button, and, if you wish click a button go get it back open. But the open button keeps appearing first, and the bar will not disappear. The demo works fine so I don't think it's a compatibility issue. The HTML, CSS and jQuery are call correct to the tutorial. I've covered this to death but can't seem to find a fix. Anyone? HTML SNIPPET <div id="open_hello_bar"></div> <div id="hello_bar"> <div class="hello-container"> <p>Our very own <strong>notifications</strong> bar. Isn't this sweet and simple. Give this a try on your <strong><a href="#">website</a></strong> for important messages.</p> <div class="close"><a href="#">Close</a></div> </div> </div><!----> S jQuery var wrapper = $('#hello_bar'); var openbar = $('#open_hello_bar'); $('.close').click(function() { wrapper.fadeOut(function() { openbar.fadeIn(); $.cookie("hellobar", "close", { path: '/' }); }); return false; }); openbar.click(function() { openbar.fadeOut(function() { wrapper.fadeIn(); $.cookie("hellobar", null, { path: '/' }); }); return false; }); if($.cookie("hellobar") === 'close') { wrapper.hide(); openbar.show(); } else { wrapper.show(); openbar.hide(); } }); CSS #open_hello_bar { height: 58px; width: 40px; background: url('../img/open-bar.png') no-repeat; float: right; cursor: pointer; position: fixed; right: 200px; } #hello_bar { background: #ff4629; height: 42px; width: 100%; overflow: hidden; margin: 0; } .hello-container { width: 940px; margin: 0 auto; } #hello_bar p { float: left; width: 920px; color: #fff; text-shadow: 0 1px 0 rgba(0,0,0,0.15); font-size: 14px; line-height: 42px; text-align: center; padding: 0; margin: 0; } #hello_bar a { color: #fff67a; } #hello_bar a:hover { border-bottom: 1px dotted #fff799; } #hello_bar .close a { text-indent: -9999px; display: block; float: left; width: 17px; height: 17px; background: url('../img/close.png') no-repeat; margin: 13px 0 0 0; filter: alpha(opacity=70); -moz-opacity: 0.7; -khtml-opacity: 0.7; opacity: 0.7; } #hello_bar .close a:hover { border: 0; filter: alpha(opacity=100); -moz-opacity: 1; -khtml-opacity: 1; opacity: 1; }
-
Those dreaded gaps! CSS Layout Problem
For the interim, I've got rid of it visually by putting 0 margins and padding in a universal selector but will look at this further, thanks,
-
Those dreaded gaps! CSS Layout Problem
http://jsfiddle.net/7RG4s/ I thought I had a handle on how to snuff these out but I've got a fiddle here with a CSS layout. There's a gap between the content-two and content-three backgrounds. It appears in Chrome but not in Firefox. Short of setting a background for the body element with a matching background colour what can I do to get rid of this please? I've set my padding and margins to zero but I've run out of ideas. Thanks