WordPress permissions errors

Recursively change group ownership of the wp-content folder, keeping your ownership of the folder: chown YOURUSERNAME:www-data -R /var/www/html/wp-content/* Note: YOURUSERNAME is the Linux user you created in step E.   Recursively enable write permissions for the group on wp-content subfolders and also for files in the folder and subfolders: cd /var/www/html/wp-content find . -type d -exec … Read more

WordPress error: The response is not a valid JSON response.

If the error occurs when attempting to publish a post: Disable Gutenberg and return to using the classic editor (aka: TinyMCE) by installing the ‘Classic Editor’ plugin: https://wordpress.org/plugins/classic-editor/ When you activate the Classic Editor, it disables Gutenberg by default    

Markdown Code Block Sample

Test to see if Markdown works: Some text before the code block. <%@ Page Title=”” Language=”VB” MasterPageFile=”~/msci3025.master” AutoEventWireup=”false” CodeFile=”ThankYou.aspx.vb” Inherits=”ThankYou” %> <asp:Content ID=”Content1″ ContentPlaceHolderID=”head” Runat=”Server”> </asp:Content> <asp:Content ID=”Content2″ ContentPlaceHolderID=”ContentPlaceHolder1″ Runat=”Server”> Thank you for participating in our survey! </asp:Content> Some text after the code block.

Using Markdown to display code blocks in WordPress

Download and install the JP Markdown plugin for WordPress. This is just the Markdown functionality from JetPack. I couldn’t get JetPack working on this installation of WordPress because access is denied to XML-RPC. After the JP Markdown plugin is installed and activated, you can insert blocks of code using three backticks to demarc the start … Read more