Blog

20 Snippets & Hacks to Make WordPress Easier for Your Clients

Out-of-the-box, WordPress is a fairly simple CMS for anyone to learn. But for your non-tech savvy clients it could be a nightmare and a potential disaster to the site you have just built. By simplifying the system and adding some quick hacks to disable or hide certain areas of the CMS you can not only help clients you will also give yourself piece-of-mind knowing that that the site is safe by removing any potential disaster. The snippets below will allow you to control almost all aspects of WordPress` Admin area and customize it to benefit your clients level of tech...

10 Useful Code Snippets for WordPress Users

We know that plugins can be used to extend the functionality of WordPress. But what if you can do some smaller things in WordPress without installing them? Say, you dislike the admin bar at the top and wish to eliminate it? Yes, that can be accomplished by means of code snippets for WordPress. Basically, code snippets for WordPress are used to do certain actions that might otherwise require a dedicated smaller plugin. Furthermore, such code snippets are placed in one of the WordPress core or theme files (generally the functions.php file of your theme). In this article, we have listed some very useful...

Τι είναι τα VirtualHosts

Αρκετοί είναι οι χρήστες που εγκαθιστούν τον Apache Web Server στον υπολογιστή τους για να αρχίσουν να μαθαίνουν Web Development ή για να κάνουν τοπικά την παραγωγή των έργων τους. Αλλά γνωρίζουν πως να φτιάξουν VirtualHosts με XAMPP και Apache; Το πρόβλημα με την τοπική εγκατάσταση του Apache είναι πως η προκαθορισμένη μορφή εγκατάστασης δεν επιτρέπει την δημιουργία VirtualHost* και έτσι όσοι χρήστες εγκαθιστούν νέα έργα στην προκαθορισμένη εγκατάσταση έχουν URLs της μορφής http://127.0.0.1/project-name/ ή http://localhost/project-name/ κάτι που δεν είναι και τόσο κομψό και εύχρηστο. Σε αυτό το tutorial, θα σας εξηγήσω τι είναι τα VirtualHosts και θα σας δείξω πως να...

5 Ways To Add Responsive Google Maps To Your Website

Once in a while, you may have a web design customer ask specifically about responsive Google Maps. Now if you’re already familiar with Duda’s platform, you’ll know its professional-grade website builder comes with a fantastic  responsive map widget powered by Mapbox. We love Mapbox because it allows for easy integration into mobile and online applications, and is highly adaptable to new map designs and layouts. Not to mention, it has great global coverage.  That said, if a Google Map is required for a project, you’re still covered. Duda’s flexible platform enables you to easily add nearly any kind of map you and your customers would like...

Building a block with Advanced Custom Fields

The new block-based editor in WordPress provides a great new content editing experience, and it’s even more powerful with custom blocks. The core blocks are built using React and JavaScript. You can build your own Gutenberg blocks with JavaScript as well. If you plan to distribute your block publicly as a plugin, I recommend building it with JavaScript to keep it lean and decrease dependencies on other libraries. When building a single website with many unique blocks, it’s more effective to use a block-building plugin like Advanced Custom Fields. You can build blocks much faster by leveraging a tool you likely already...

How To Create WordPress Meta Boxes

Creating custom meta boxes is extremely simple, at least it is once you’ve created your first one using the tools baked into WordPress’ core code. In this tutorial, I’ll walk you through everything you need to know about meta boxes: Creating meta boxes.Using meta boxes with any post type.Handling data validation.Saving custom meta data.Retrieving custom meta data on the front end. Note: When I use the term “post” throughout this tutorial, I’m referring to a post of any post type, not just the default blog post type bundled with WordPress. What Is A Post Meta Box? A post meta box...

Άνω τελεία και άλλοι «δύσκολοι» χαρακτήρες σε Λίνουξ

Σήμερα πια όλα τα σύγχρονα λειτουργικά συστήματα υποστηρίζουν Unicode· που σημαίνει ότι ανά πάσα στιγμή, από οποιοδήποτε περιβάλλον, είναι δυνατόν να γράψουμε οποιονδήποτε χαρακτήρα οποιουδήποτε αλφαβήτου. Στα ελληνικά, ωστόσο, έχουμε ένα πρόβλημα: όταν κοιτάζουμε ένα ελληνικό πληκτρολόγιο δεν είναι προφανές πώς γράφουμε μερικούς χαρακτήρες — κυρίως κάποια σημεία στίξεως βασικά στη γλώσσα μας: άνω τελεία (·)εισαγωγικά («εισαγωγικά»)ανωφερή εισαγωγικά (“ανωφερή εισαγωγικά”)παύλα —που χρησιμοποιείται, μεταξύ άλλων, για παρενθετικές προτάσεις—μικρή παύλα, με την οποία δηλώνουμε διαστήματα, π.χ.: 1265–1321 (και η οποία διαφέρει από το ενωτικό, που χρησιμοποιείται συνήθως για να ενώνει λέξεις: ο κυρ-Γιώργης) Το ότι δεν είναι προφανές δεν σημαίνει ότι δεν γίνεται. Κάθε...

CSS Position Property Explained!

Introduction We struggle a lot while positioning elements at the right place on the webpage. Sometimes we also find that top/left/bottom/right has no effect on the element. The position property of CSS controls the positioning of elements on the webpage and its behavior. It also influences other elements of the webpage. Today, we are going to look into the position property and its different values in CSS. Position Property The position property specifies the type of positioning method used for an element.-W3Schools It defines the position of an element in the document. There are 5 major key value of position property StaticAbsoluteRelativeFixedSticky...

How to remove the customizer CSS option

Now that WordPress 4.7 has been released, most people will notice an “Additional CSS” section in the customizer when they update. This is an awesome feature and a perfect use of the customizer. It’ll be great for the vast numbers of users who just need to add some basic CSS to customize their theme. However, for many of us, it’s an unwanted feature on our own sites for one reason or another. This tutorial is going to walk you through disabling this feature based on your situation. Remove directly from customizer If you just want to get rid of the...