Dealing code and tutos in web development, data marketing, front-end, back-end, Growth Hacking ... and much more !
Welcome to code.broker, a simple blog platform to share code and tips about frontend & backend programming, data marketing & Growth Hacking. Everybody is invited to share his own content and comment posts. A forum is under construction.
[Tutoriel] Get the domain name from an url on Excel or Google Sheet
14 July 2020
These are the formulas to extract the domain name from an URL in Excel or Google Sheet. To get the domain name and it exctension…
[Tutoriel] Remove the access to your wordpress admin and secure your website
9 June 2020
In order to avoid any hacker to find your administration pages, you need to remove the access to any user who is not allowed to…
[Tutoriel] Create and edit a wordpress post from front-end (with PHP)
3 June 2020
I recently opened my wordpress blog to contributors. So I wanted to let anybody create a profile and write new posts easily. I don't want…
[Tutoriel] Update the setting index/noindex of Yoast SEO in PHP for each post
17 May 2020
If you are using the CMS Wordpress, you might know the plugin Yoast SEO. It is one of the best plugin to manage your SEO…
[Tutoriel] Simple circular graph to enhance a number (HTML, CSS and SVG)
23 April 2020
I looked for a way to enhance a number, a percentage or a rate. I had already seen these VG graph and I thought it…
[Tutoriel] How to slugify a string with Excel
5 April 2020
I recently had to work on a database on excel, before importing on my website. So I needed to create new pages on this website…
[Tutoriel] Pre-populate a form field (input) with JavaScript
24 December 2019
Today, I need to get the information stored in a cookie to add it to an HTML input. Then, when a user tries to contact…
[Ressource] Cookie bar & load scripts - Plugin wordpress
14 November 2019
This documentation is in process. A complete documentation will be available on this page soon. This plugin is developped and maintained by Arthur d'Hausen. It…
[Tutoriel] Cookie bar to let visitors allow / block cookies on your website (RGPD compliant)
24 August 2018
I have previously made a tuto on creating a simple information bar about cookies. Right know I'll try to expand my Cookie Bar with more…
[Tutoriel] Simple information cookie bar for your privacy policy in JS or jQuery
18 August 2018
Hi there, today I have created a very simple information bar to let all my visitors know about the use of cookies on my website…
[Tutoriel] Search and display all duplicates posts in wordpress (by post_title)
17 August 2018
I recently had to detect duplicate posts on a very big wordpress website, containing a lot of data about films (where films, actors, filmmaker... are…
[Outil] UTM Builder & other url parameters
9 May 2018
Create your custom links thanks to this UTM builder and add any other url parameters to your link in a few seconds. This simple form…
[Outil] Form to add tracking links (url parameters) to your HTML
23 April 2018
UTMs and TRACKING LINKS BUILDER FOR HTML : This form has been created to automatically add your tracking links and UTMs to your HTML formatted…
[Tutoriel] Store UTM and other tracking links (url parameters) in a cookie
24 March 2018
I recently developped a cookie to save / store tracking links and UTMs (tracking links on Google Analytics) on my website. I'll explain below the…
[Tutoriel] Simply create a cookie with JS cookie
24 February 2018
I recently had to create a small cookie for a commercial website. I was trying to save users session datas, to send its to a…