Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

webDesignerJon

Members
  • Joined

  • Last visited

  1. Yes 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.
  2. Thanks 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?
  3. Thanks 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.
  4. 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
  5. 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. :-)
  6. 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
  7. 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. :-)
  8. 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.
  9. 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. }); }); });
  10. Will do. There's definitely CSS3 in there at the moment. One thing jQuery does do is the visual look. I want some animation in there and that's one of the reasons I opted for the plugin and if I could have got that to work, great but it seemed to cause more problems than it's worth.
  11. 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. :-)
  12. 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?
  13. 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 :-)
  14. 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!

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.