Excerpts and thumbnails on the homepage with WordPress

I’m going to explain how to  insert excerpts with their thumbnails into the homepage of a site made with WordPress. The code to add the excerpts Its easy to add a post listing, using the Display Posts Shortcode  plugin. Just add the following code to the page you use as your homepage with the editor: … Continue reading “Excerpts and thumbnails on the homepage with WordPress”

How to troubleshoot a slow network with Linux

Where to start from to solve network problems? I believe that most of the times they are related to software issues, however I found myself suddenly with a slow network and it was caused by an hardware problem. I’ll give a description of what happened and how I solved it. The network problem I used to … Continue reading “How to troubleshoot a slow network with Linux”

How to display excerpts in the categories of the WordPress Twenty Sixteen theme

How to display excerpts instead of full posts in the category pages (archives) of the WordPress Twenty Sixteen theme? Find the archive.php file Open the WordPress dashboard, then go to Appearance -> Editor, select the archive.php file on the right. Click to open the archive.php file Edit the file to show the excerpts Find the following … Continue reading “How to display excerpts in the categories of the WordPress Twenty Sixteen theme”

How to generate a sitemap for a static WordPress site

I’m using WordPress with the Simply Static plugin to generate the static version of my site and the Yoast plugin to generate the sitemap, a map of the site. Simply Static doesn’t fetch the sitemap from the site, so you don’t have one to upload to the Google search console. But I solved this problem. … Continue reading “How to generate a sitemap for a static WordPress site”

A curated startup content search engine with great articles

There is a new search engine around, a search engine about startups: First Search. From the First Search database description on Product Hunt: First Search is the largest database of curated, high-quality advice for building startups ever created. We’ve vetted, tagged and organized 10,000+ articles about every facet of company-building, written by the best minds … Continue reading “A curated startup content search engine with great articles”

Scrapbook add-on disappeared after upgrading to Firefox 57 Quantum

Scrapbook was a nice Firefox add-on to save web pages together with their images. However, it wasn’t updated to be the new kind of add-on which Firefox 57 Quantum requires, and, being considered  a legacy add-on, was deactivated when the auto-upgrade upgraded Firefox from version 56 to 57 in November 2017. Scrapbook data is still … Continue reading “Scrapbook add-on disappeared after upgrading to Firefox 57 Quantum”

Improve your PageSpeed score for a WordPress site by minifying CSS and Javascript

I improved my Google PageSpeed score for the mobile and desktop version of my static WordPress site by ten points by minimizing the CSS (cascading style sheet) and JS (javascript) files. I did this by installing the Fast Velocity Minify plugin, which minifies CSS and Javascript out of the box. With it you can also  … Continue reading “Improve your PageSpeed score for a WordPress site by minifying CSS and Javascript”

My WordPress plugins

These are some of the WordPress plugins I’m using. Fast Velocity Minify: minimizes css and js and can inline css code into html to avoid above the fold warning by Google Pagespeed – works with Simply static! Simply static – generates a static version of the site AddToAny Share Buttons: social share buttons Advanced Menu … Continue reading “My WordPress plugins”

javax.net.ssl.SSLHandshakeException: “Remote host closed connection during handshake” opening an HTTPS page with HTMLUnit

While trying to fetch the HTTPS page https://portal.mvp.bafin.de/database/AnteileInfo/ using HTML Unit 2.23 under Java 7, Ubuntu Linux, I received the following exception: Remote host closed connection during handshake

The code was the following

  The problem was solved upgrading to Java 8. I upgraded to Java 8 after reading Oracle’s blog about HTTPS … Continue reading “javax.net.ssl.SSLHandshakeException: “Remote host closed connection during handshake” opening an HTTPS page with HTMLUnit”

How to add comments or Disqus to WordPress pages

To add Disqus comments to WordPress pages, you just have to open comments on the pages you want. Doing so, you can selectively add Disqus comments to your wordpress pages! Just a click. When you install the WordPress Disqus Commenting System plugin, Disqus comments are added to posts, but not to pages because comments are … Continue reading “How to add comments or Disqus to WordPress pages”