Tutorial
Tutorials for professional academic courses covering Object Oriented Analysis and Design, Signals and Systems, Operating … and more
How to add Read More/Read Less button next to a too long HTML element. This tutorial will take you through how to display a certain number of rows of an HTML element and hide the rest of it, then we will see how to read a clickable “Read More” element at the end of the […]
Read More...
Marcello Perri
How to freeze the first row and the first column of an HTML table with CSS, Javascript and JQuery
I was working on an HTML table that displays a list of users and user permission, the first row displays the permission names and the first column displays the name of the users involved. I have noticed that when I strolled toward the right I couldn’t see the user names and scrolling toward the bottom […]
Read More...
Marcello Perri
Cos’e’ uno Shortcode e come crearlo e gestirlo in WordPress
Siccome ho notato che c’e’ molta confusione sulla gestione e la creazione di Shortcode in Stackoverflow e in generale su internet ho deciso di fare questa guida per spiegare in modo semplice come creare e gestiore un Shortcode in Wordpree e a che cosa serve. Prima di tutto … Cos’e’ uno Shortcode in WordPress e a […]
Read More...
Today we will look at how to create, manage, use and destroy in a WordPress plugin as well as everything we need to manage a WordPress plugin. This tutorial is not concerned with creating and managing a WordPress plugin, but to make the content of this article more understandable, and to make the following easier, […]
Read More...
Marcello Perri
Come creare, gestire, usare e distruggere variabili e costanti in un plugin in WordPress.
Oggi vediamo come creare, gestire, usare e distrubbere variabili e costanti tutto quello che ci server per gestire un plugin in WordPress. Questa guida non si preoccupa di come creare o gestire un plugin in WordPress, ma per fare chiarezza e per far si che la parte successiva sia capita bene dobbiamo definire le basi di […]
Read More...
Marcello Perri
Come pulire l’input dell’utente in WordPress
E’ buona pratica sempre controllare e pulire l’input che l’utente inserisce per far si che non si inseriscano caratteri indesiderati nel database e per tenere il nostro programma pulito e senza errori e warning. Questo processo viene chiamato sanitizing. Sanitizing vuol dire sostanzialmente pulire l’input ed eliminare caratteri e codice non consentito prima di memorizzare […]
Read More...
Spesso visualizzare variabili in PHP puo’ portare essere un problema se non si sa come le variabili sono conservate nel database, spesso si visualizzano a schermo degli indesiderati caratteri che corrispondono a codici HTML o script. Altre volte i tag HTML si vogliono visualizzare, ma i browser normalmente processano i tag HTML e non li […]
Read More...
Tempo fa ho ricevuto una email da un cliente che diceva che il suo sito era stato messo offline dal hosting-provider perche’ era stato bombardato da commenti spam, inizialmente mi e’ sembrato strano, poi sono riuscito a vedere la tabella “comments” nel database, la tabella stava crescendo immensamente e tutti i commenti erano in realta’ […]
Read More...
Marcello Perri
Come editare la pagina di login di wordpress con CSS e PHP
Ho di recente avuto la necessita’ di cambiare lo stile della pagina di login di WordPress, questo puo’ tornare molto utile se volete dare un tocco piu’ professionale al vostro sito, soprattutto se il sito e la dash-board di WordPress ha molti accessi da parte di autori e scrittori. Il file che gestisce l’accesso a […]