In a previous tutorial I wrote about how you can use jQuery to create a Scroll back to top button. jQuery Back To Top In this tutorial we are going to create a WordPress plugin that adds scroll back to top link to your website. You will learn how to create the plugin to handle this and settings to change the position of the link and text on the link.
Recently I wrote an article about what is coming in the next version of WordPress and one of those was the changes to do with the wp_title() function. There seems to be some confusion about what I was trying to say about the deprecation call so I'll try to explain this a bit better. Previously the way you would handle title tag generation in WordPress is to use the wp_title
WordPress version 4.4 is currently on beta 4 stage with a release to be expected in the 2nd week of December around the 8th. With design and development starting from the end of August let's have a look at some of the new features included in WordPress 4.4. Externally Embeddable This new feature allows other people to embed your content elsewhere on their site. Using a number of new filters
When working on a Symfony project the database you will most likely be working with is doctrine. A bundle used on doctrine you can use in your projects is called data fixtures. Data fixtures are used to load a controlled set of data into the database. This is perfect to add test data into your application to make sure it is running correctly or you can use it to load
In modern web development it's very important that your website is functional on mobile devices. There are a few options that you can use when testing how your website works on mobile devices. Manually resize the browser Use a mobile device emulator Use a responsive tester tool Upload to a server and test on the mobile device The best solution that you have would be to try the website directly
When you use jQuery UI sortable function on a table I've noticed that it will collapse the width of the row you're dragging which can lead to a strange user experience. In this tutorial we are going to see how you can use a helper function to change the width of dragging rows back to the original width. Have a look at the demo to see the difference. Demo jQuery
In this tutorial we are going to learn how you will add a confirmation modal box to your forms for things like deleting. Most tutorials I've seen on this only show an example for how you will do this with a form designed with one purpose and that is to delete the entity populated in the form, meaning that you only have one submit button for the purpose of deleting.
If you do any front-end development over the past couple of years then you would of heard of CSS pre-processors. The most common CSS pre-processors are SASS, LESS, or Stylus. CSS pre-processors are scripts that will compile code and output the results into CSS stylesheets. They allow you to create more dynamic, optimized and organised CSS for your websites. For more information you can read a previous article I wrote
One thing I have been experimenting with recently is adding namespacing and autoloaders to new WordPress plugins. What Are PHP Namespaces PHP namespaces was introduced in version 5.3. Namespaces is a way of grouping classes together into virtual directories, the main reason we would want to do this is to help avoid collision of class names in your application. In PHP you can not define two classes with the same
Google has recently announced a new project called recaptcha which is a way of spam protecting your website from bots but making it easy for humans to submit the form by simply recreating a checkbox for users to click. Registering Your Website To use Google NoCaptcha ReCaptcha for your website you must first register your domain with the ReCaptcha API and get the site API key and the site secret