The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 1,860 other subscribers

Archive for the ‘WordPress’ Category

Crowdsignal Dashboard – Polls, Surveys & more plugin for WordPress

Posted by jpluimers on 2025/08/29

Reminder to self: check if the WordPress.com classic editor is still alive and still supports adding Crowdsignal (formerly Polldaddy) polls (Crowdsignal is part of Automattic, the WordPress.com parent company).

From [Wayback/Archive] Crowdsignal Dashboard – Polls, Surveys & more plugin for WordPress (I made the areas that are important to me in bold):

Read the rest of this entry »

Posted in Classic editor, Development, Gutenberg editor, Power User, SocialMedia, Software Development, Web Development, WordPress, WordPress | Leave a Comment »

The WordPress feature that “beautifies” (malforms!) your Blog text is called `wptexturize`: on WordPress.com you cannot disable it.

Posted by jpluimers on 2025/02/03

Over the years, WordPress started to beautify more and more text thereby malforming many (read thousands) of my older blog posts.

An example is this:

--jeroen

is now rendered as

–jeroen

The two hypen-minus signs or -- have become a en-dash or , not even an em-dash or that is is double the width of an en-dash.

So after figuring out the cause, I asked if one could change it for a WordPress.com blog backed by a premium account: [Wayback/Archive] Jeroen Wiert Pluimers on Twitter: “Hi @wordpressdotcom, how do I globally disable wptexturize for a paid wiert.wordpress.com blog (it has Premium subscription)? Over the years, it has malformed more and more of my text which I don’t want (as it is way too much work to re-visit thousands of blog posts).”

Unbelievably, the answer is no!

So WordPress.com mandatorily changes the display of all your old Premium blog posts and the only solution they offer is to upgrade for another USD ~17 per month to disable it.

Read the rest of this entry »

Posted in Development, PHP, Power User, Scripting, SocialMedia, Software Development, Web Development, WordPress, WordPress | Leave a Comment »

Links to HTML versions of RFC’s need to move from “tools” to “datatracker” – Meta Stack Exchange

Posted by jpluimers on 2024/11/07

Some work to do replacing dead IETF RFC and draft links in my blog posts.

From the accepted answer on [Wayback/Archive.is] Links to HTML versions of RFC’s need to move from “tools” to “datatracker” – Meta Stack Exchange:

  1. [http/https]://tools.ietf.org/html/[rfc/RFC] became https://www.rfc-editor.org/rfc/rfc network-wide
  2. [http/https]://tools.ietf.org/html/draft- became https://datatracker.ietf.org/doc/html/draft-

>Both of these should conform to the reply we received from IETF.

Read the rest of this entry »

Posted in C, C++, Carbon, Development, Power User, SocialMedia, Software Development, Web Development, WordPress, WordPress | Leave a Comment »

By Jack Rhysider: if you’re in IT, I highly encourage you to write a blog. Here are 17 reasons why you should be blogging.🧵👇

Posted by jpluimers on 2024/10/04

I quote the last tweets in the series starting with [Wayback/Archive] Jack Rhysider on Twitter: “If you’re in IT, I highly encourage you to write a blog. Here are 17 reasons why you should be blogging. 🧵👇”

1…17.

So to recap. By blogging you will become a better writer and communicator, learn the concepts better, open new opportunities, have a fantastic notebook for self reference, maybe make money, become appreciated by more people, and show off your IT skills.

So how do you get started? Try these: WordPress, Jekyll, Ghost, Hugo, Medium, Wix, Squarespace. I really don’t care what you use. Just jump in and start blogging. You can always move everything to a different place later. Good luck and I hope to see some new bloggers from this.

and a few ones that came up in the responses:

Read the rest of this entry »

Posted in Blogging, Conference Topics, Conferences, Event, SocialMedia, WordPress | Leave a Comment »

In the WordPress classic editor, avoid the SyntaxHighlighter Code Block

Posted by jpluimers on 2023/10/25

When you use the WordPress classic editor (which for me still works far better than the Gutenberg one), avoid at all cost the use of the [Wayback/Archive] SyntaxHighlighter Code Block – Page 2 – WordPress.com Support.

Each time you switch between from Text View back to Visual, some characters are html-encoded, like:

  • & becomes &
  • > becomes >

Switching twice makes & into &&gt.

Switching three times makes & into &&&gt.

I already explained why to avoid the Gutenberg editor in Bookmarklet to force WordPress classic-editor.

Via:

–jeroen

Posted in Classic editor, Development, Gutenberg editor, SocialMedia, Software Development, Web Development, WordPress, WordPress | Leave a Comment »

Revision of some JavaScript bookmarklets for WordPress published pages centered around navigation and IDs: WordPress ditched the undocumented HighlanderComments structure

Posted by jpluimers on 2023/09/15

As promised yesterday, I updated the scripts for Some JavaScript bookmarklets for WordPress published pages centered around navigation and IDs

Code (which broke at 20230914 because of WordPress.com changes: the undocumented HighlanderComments structure got removed; I will update the gist later on and post an updated blog post)

Instead of the undocumented HighlanderComments structure, I now use two (also undocumented) link rel elements.

In addition, I found this element that will be interesting in the future: <link rel='shortlink' href='https://wp.me/pvelJ-m8g' />.

You can view the change with the below archivals of the Wayback Machine and Archive.is.

And of course I learned a few things from these MDN entries:

The 20230530 archivals (Wayback/Archive) of wiert.me/2022/02/14/philosophy-of-management have this HighlanderComments structure:

Read the rest of this entry »

Posted in Bookmarklet, Conference Topics, Conferences, Development, Event, HTML, JavaScript/ECMAScript, Power User, Scripting, SocialMedia, Software Development, Web Browsers, Web Development, WordPress | Leave a Comment »

Some notes on the WordPress Press-This bookmarklet

Posted by jpluimers on 2023/08/23

I want to improve my WordPress blogging experience especially since most of the pages I link also have two extra links of the archived pages in the Wayback Machine and Archive.is.

The WordPress Press-This bookmarklet does not always cut it. It is slow too as it does a POST request to the WordPress site which then renders a new page.

It is also highly minified, so below are some links that will hopefully allow me to research it further to see if I either could improve it for my own workflow, or need to start from scratch.

I want to figure out:

  • what the values of the v= version parameter were (I know about v=8 and v=4, there are likely more)
  • which commits were involved
  • can I get more information (like summary, first heading or first paragraph of a page too)
  • what techniques are used for opening new windows/tabs

TODO: make diffs of the various versions

–jeroen

Posted in Bookmarklet, Development, JavaScript/ECMAScript, Power User, Scripting, SocialMedia, Software Development, Web Browsers, Web Development, WordPress, WordPress | Leave a Comment »

Characters you need to escape in the Title of a WordPress post

Posted by jpluimers on 2023/07/18

I forgot to post this: [Wayback/Archive] Which characters need to be escaped in HTML? – Stack Overflow

If you’re inserting text content in your document in a location where text content is expected1you typically only need to escape the same characters as you would in XML. Inside of an element, this just includes the entity escape ampersand & and the element delimiter less-than and greater-than signs < >:
& becomes &amp;
< becomes &lt;
> becomes &gt;

I didn’t quote further, as this bit is somehow important for WordPress posts. WordPress reminded me the hard way when initially these posts were wrongly titled:

Warning:

It also means the “Press This” bookmarklet always gets unescaped plain text wrong. Watch this when selecting text for blogging and check if the selected text actually got into your post fine.

Thanks [Wayback/Archive] Ahmet for asking the above question and [Wayback/Archive] Jeremy for answering it.

–jeroen

Posted in Development, HTML, HTML5, SocialMedia, Software Development, Web Development, WordPress, WordPress | Leave a Comment »

JavaScript Bookmarklet to enable Mastodon publishing for a WordPress.com post that is edited in the Classic Editor

Posted by jpluimers on 2023/07/02

I quickly hacked together this JavaScript Bookmarklet today, so it is without any checks and assumes you have enabled one Mastodon account for publishing, that you are hosting your blog on WordPress.com, and using the Classic Editor:

javascript:(function(){
  publicizeFormEditHref = document.getElementById('publicize-form-edit');
  publicizeFormEditHref.click();
  mastodonCheckboxes = document.getElementsByClassName('wpas-submit-mastodon');
  mastodonCheckboxes[0].checked = true;
  publicizeFormHideHref = document.getElementById('publicize-form-hide');
  publicizeFormHideHref.click();
  updateButtonHref = document.getElementById('publish');
  updateButtonHref.click();
})();

The above code is the state of [Wayback/Archive] JavaScript Bookmarklet for the WordPress classic editor which enables mastodon publishing (assuming you have one mastodon publishing account enabled … )  and due to be improved in a later blog post.

This will enable the currently edited post to be published to Mastodon, then update/publish the post.

On enabling one Mastodon account for publishing:

Read the rest of this entry »

Posted in Bookmarklet, Development, HTML, JavaScript/ECMAScript, Mastodon, Power User, Scripting, SocialMedia, Software Development, Twitter, Web Browsers, Web Development, WordPress, WordPress | Leave a Comment »

To Favor Microsoft VS Code, Microsoft’s GitHub is Killing GitHub’s Atom Editor – time to prepare switching to another open source editor with a rich ecosystem in less than half a year

Posted by jpluimers on 2022/06/21

If you are still on Atom, try to see if other cross platform open source editors suit your needs.

Myself, I have moved to Visual Studio Code quite some time ago as, though based on Electron – the core of Atom, it is way faster and much better supported than Atom.

The official announcement is at [Wayback/Archive] Sunsetting Atom | The GitHub Blog.

Various sites reported it in different phrasings:

Read the rest of this entry »

Posted in .NET, atom editor, Development, Missed Schedule, Power User, SocialMedia, Software Development, Text Editors, vscode Visual Studio Code, WordPress | Leave a Comment »