Back To Top WordPress Plugin

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.

Read more...

Wp_title In WordPress 4.4

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

Read more...

Whats New In WordPress 4.4

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

Read more...

Environment Specific Doctrine Datafixtures

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

Read more...

Viewing Localhost Site On A Mobile Device

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

Read more...

Fixed Width Sortable Tables Row With jQueryUI

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

Read more...

Add Delete Confirmation Modal To Form With 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.

Read more...

Media Query Sass Mixin

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

Read more...

Using Namespacing And Autoloaders In WordPress Plugins

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

Read more...

Using Googles NoCaptcha ReCaptcha In WordPress

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

Read more...

1 2 3 4 5 6 7 8 9 25
Back to top ^
X

Search