Categories
WordPress

WP 5 o

In the same year I turned 4 o, WordPress finally went and did something slightly out of character – and for its age, something that it perhaps should have been clever enough to do a few years back… Just like the tattoo I finally got, at the age of 40, where most settle into the comfort of knowing who you are, and how you will look and dress for the many years to come – WordPress went and got itself a page-builder.

Was it worth the wait?

WordPress, with its 16 internet years (at least 50 human years), started a project some 2 years back and named it after an old guy… The result; as time-tested as a tattoo, a block editing experience as seen in the most popular themes and frameworks out there. 

So what is this new thing, and did WordPress only now, come to a conclusion, that most of us already knew… Tattoos are cool, and so are block-based editing? 

No.. I think the many page builder setups had run its course, causing WordPress to handle all sorts of data in its options tables, and markup data within content fields, to such an extent that sites became too hard to work with, and well… just plain slow. The expandability we love from plugins, custom post types and custom fields has for years now, put a strain on the table structures of the WordPress database.

It was time to take charge and regain control of what is most important to WordPress

Me, in this blog post

The most important to WordPress has always been to democratize publishing. Sometimes democratizing means putting all the great ideas others had already put into plugins and feature packed themes, into the core of a system. And so they did… 

Gutenberg: the future of publishing

In core, Gutenberg lay the cornerstone for a future with no widgets no, one page – one layout, and perhaps most important, no reason to store content into only one database field for a page or post. Blocks themselves could, in theory, do away with custom fields, and enable WP to change how data is stored, in much smaller chunks of data. Data that we can pull in, when and if needed in a given view. 

All of this is speculation, some closely related to ideas already alive in the WordPress community. Others just imaginations by me. 

Short term

We already see the effects of putting blocks with layout capabilities into the hands of the content owners, instead of UX and design people. Blocks and their layouts and functions are now put in place, in context – or removed, if not needed in context.

Long term

Context is king, and blocks make it easier than ever to put the right blocks of content in the right context. I can’t wait to see conditional logic in blocks – based on device, surrounding blocks, geo, time or even personal information (if GDPR will allow it).



Categories
GDPR

Happy GDPR day WordPress – now let’s get back to work ;)

WOW what a ride! Some 200 days has passed since I first started reading EU General Data Protection Regulation, finding GDPR friends in the WordPress COmmunity, and seeing the project take form inside WordPress core.

The day has arrived – 25th of May – I’ve said that date quite a few times now, and although it’s an important data as the deadline has kept us focused in our work – the work is not at all “done”.

Our work continues, and updates to the current GDPR hooks and filters you will find in WordPress code as well as backend tools for site administrators, are first versions of the central tools. Many more to come I suspect.

One such tools is a logging feature which we started working on at Peytz when we where still had about 50 days to go before the 25th…

Although you see a logging feature as part of the current GDPR tools in admin, these do not meet the requirements of logging, in terms of the regulation.

Therefore we’ve set out to define an logging feature that can hook into WordPress actions allowing developers log actions performed in code
– anonymosly
– separated from the database
– re-actionable

Wait – what: re-actionable and separated from the database. That sounds messy!
Well, yes, and it’s not strictly WordPress but let me explain.

To make a log compliant with GDPR, we need to make sure that it does not hold any information that can identify a natural beeing.

We also need to maintain a log that is not part of the data it’s logging.

This makes for an external logging mechanism you can put data into, and also query to fetch previous actions performed on certain data.

A unique but non-personal hashed value will serve as an ID. One that only make sense if a user provides the personal data on which the hashed value has been created.

Make sense?

Stay tuned for more information after today ūüôā

Categories
GDPR

GDPR: We’re in BETA – 21 days before the deadline

Am I poud? Hell ya. Did i code a single line – nope ūüėČ

But nonetheless, my team has spend roughly 125hours to help out on this project that we gave birth to. The project was adpoted by the WordPress community and the result is now in Beta for the upcoming WordPress 4.9.6 version:

https://www.gdprwp.com/were-in-beta-wordpress-4-9-6-beta-ships-gdpr-tools-21days-before-the-25th-of-may/

Categories
GDPR

GDPR going into WordPress Core

I’m quite sure, by know, you know that I’m heavily invested in GDPR. Specifically when it comes to looking past the law texts surrounding the regulation, focusing on providing the actual tools needed to comply with the new lives of a website administrator after May 25th, 2018.

One thing is to spend piles of money on privacy policy texts on your website – you should – of course…

Another thing is how to handle the request your users are now permitted to bring before you because of the General Data Protection Regulation.

Yes yes yes – I’m STILL talking about:

  • What data do you have on me?
  • Can you provide me with a copy of the data you have on me(readable, and machine-readable?)
  • Can you allow me to make changes to the data?
  • Can you please delete or otherwise anonymize the data you have on me so that it is no longer data that points to me as a human being?
  • Do you have means of notifying me and the appropriate authority within your country if a data breach occurs?
  • Can I retract consent previously given to you partly or in full?
  • Do you have a log in place that collects any interaction I might have on your system when it concerns personal data and given content on my part?
  • How do you handle if a backup with my data is re-introduced after I’ve asked for deletion?
  • How do you handle if a 3rd party element of your website changes it’s compliance texts and ways they use any data your website might share with them ?

Soo many questions – many are possibly easy to answer from a technical standpoint, and some might not even require a technical solution – a simple written Todo might be sufficient in some cases.

For WordPress at least, we’re making real headway with since the GDPRWP.com project has been adopted by the community and now lives inside WordPress Trac tickets – being actively developed by the community – something I’m quite happy with ūüôā

Interested in GDPR in relation to your website?
Please don’t hesitate – reach out

Kåre Mulvad Steffensen
core@dejliglama.dk

Categories
GDPR

Meetup Porto: Interview about GDPR for WP

In December 2017 together with Peter Suhm from WPPusher.com, we’d just launched the basic idea of a PHP object Interface to tackle the upcoming GDPR challenges. Our Ide√° was that a common interface adopted and implemented by the general community of WordPress would ensure a unified way of identifying Personal Data, and this makes it possible for the ecosystem to create plugins utilizing this interface to provide the needed tools for Website administrators¬†to uphold the law of the regulation.

GDPRWP.com was live and a GitHub repository to go with it, with a basic readme file to explain the idea. With the help of Peters contacts, we got a few articles on WPTavern which lead to this interview for the monthly Meetup in Porto, Portugal.


This is the full article about the meetup:
https://wp-portugal.com/2017/12/14/rgpd-agir-no-site-wordpress/

Since then, the GDPR for WP project has moved forward, and to focus more on how WordPress is doing things, it’s not a strict PHP interface anymore.

Categories
GDPR

GDPR is comming

The carefree “let’s code this stuff, and ask visitors for their names and personal preferences” so that we can ____ is over!

In about 192 days from now, EU General Data Protection Regulation will protect any personally identifiable information on any EU citizen, anywhere on the web – no matter where in the world your company or server is located.

I’ve been reading through the final text of the regulation, and the more I read, I feel the urge to remove the “EU” from the name of this regulation.¬† It may be a massive regulation already, and how it’s going to be enforced by various controlling bodies within the EU alone is anybody’s¬†guess. But from a personal perspective, in a world where big data is used more and more to target users in both commercial and political situations, this law lay the foundation that should reach across borders.

GDPR is coming – in one form or the other. If not from the top, then from the people fed up with the non-transparent usage of their personal data.

 

Categories
Customizing Tools WordPress

(Danish)Use Visual Composer and Advanced Custom Fields for your next WP project – no coding required

Jeg er n√¶sten ligeglad med hvilket tema du v√¶lger, bare du v√¶lger et med en rigtig god page builder – s√•dan en af dem hvor du kan √¶ndre p√• strukturen for dit indl√¶g eller side, uden at skulle kode. Lige nu betyder det et tema med Visual Composer fra WPBakery. Her f√•r du flest funktioner for pengene, og dermed flest muligheder for at g√łre dit design til netop DIT design.

Visual Composer har ud af boksen nok at byde p√•, men en k√¶mpe underskov af add-ons s√łrger for at du kommer rigtig langt – og selvom kodning er sjovt, s√• er det nu engang indholdet det handler om, og den struktur vi skaber omkring det der er vigtig.

N√•r jeg har sagt Visual Composer, bliver jeg ogs√• n√łdt til at sige Advanced Custom Fields – evt. med et Custom Post Type plugin. Det er nemlig DejligLamas koncept som er udm√łntet i et plugin:¬†ACF-VC¬†integrator plugin. Et problem som jeg selv stod med, kunne l√łses meget nemt med en mulighed for at tr√¶kke Custom Fields ud i et Visual Composer grid, men den mulighed fandtes bare ikke – det g√łr den nu!

M√•let er, at g√łre det nemmere for dig at oprette nyt indhold med dine egne felter, og vise informationerne p√• en god m√•de for dine bes√łgende, uanset om det er l√łbesko, videofilm, b√łger du har l√¶st, kurser du afholder eller noget helt andet.

Mange ting passer bare ikke ind i “indl√¶g” typen.

Opskrifter har ingredienser og instruktioner, B√łger har udgivelses √•r, forfatter, genre osv., leverand√łrer har adresser, serviceydelser og telefonnumre.

Et felt pr. information

Alle disse ekstra informationer er gode¬†at s√¶tte ind i felter, specifikt til deres type. Det giver nemlig dig mulighed for at opdele dit indhold ud fra disse informationer, og det giver dine bes√łgende en nem indgang til at finde lige netop det de s√łger fordi du b√•de kan filtrere p√• det, men ogs√• s√¶tte det op ekstra overskueligt med en Visual Composer.

Hvordan du kommer igang med Visual Composer, og hvordan du bruger Advanced Custom Fields er stof nok til et andet indlæg, men for at få dine nye informationer ud i Visual Composeren, er det nemmest at bruge det nye plugin der integrerer Advanced Custom Fields i Visual Composer.  Så er det lige så nemt at indsætte dine egne felter som det er at indsætte et billede.

Pluginet hedder ACF-VC Integrator, og du kan downloade det gratis på www.acf-vc.com

 

Categories
Customizing Tools

CSS: Blend mode – when you need to make those awsome transparent looks

So you’d like an image to have a colourful overlay of sorts, right?

Then this is what you need:

background-blend-mode:

CSS-Tricks.com is the place to go for anything related to CSS

I would have loved the feature when we did Danner.dk back in the day, but luckily it was around when √Öfjord.no was built!

Categories
Customizing Tools

Happinessbar LIVE from WordCamp Denmark 2015

Every year there is a WordCamp in Danmark, and this year I was on stage with a live version of a Happiness bar where people could ask questions that I would then try to solve/explain.

We started with a demo on a fix for the WordCamps own website, not fully responsive – that’s the first 12-15 minutes of the video. VERY geeky, so be warned if you rewind to see that… You will, however,¬†see the¬†Inspect element tool put to good use.

If you don’t know the Inspect Element, (Danish:Kontroller¬† Element), you should really get acquainted with it now.

It is available in Chrome, Firefox and Safari . Each a bit different in layout and functionality, but all cover the basics of being able to look at the shiny rendered HTML of your normal view of a webpage.

Read about each of them here:

Inspect Element i Chrome

Web Inspector i Safari

Inspector i Firefox

 

 

Categories
Tools

How to remove links from Google Searchresults

You can do that ?

Well, sort of… Google reserve some right to index whatever they can find online.

Often you’d want content to go offline if it’s old or otherwise irrelevant in the sense that it’s outdated.

If that is the case, you can ask Google to remove links to the content

The tool works on pages that are no longer active. That means that you need to remove the page in question, from your website for this to work. It has to be gone – literally.

This makes sense, but if the content still needs to be online, then you have the possibility to “noindex” it. This is a tag you put on links and a way for you to ask search machine bots not¬†to index the page when they visit it. Whether they honour this request or not is entirely up to the search bot.