{"id":306,"date":"2024-12-14T17:33:00","date_gmt":"2024-12-14T22:33:00","guid":{"rendered":"https:\/\/radio.teledyn.com\/blog\/?p=306"},"modified":"2024-12-14T19:06:27","modified_gmt":"2024-12-15T00:06:27","slug":"returning-after-a-long-gap","status":"publish","type":"post","link":"https:\/\/radio.teledyn.com\/blog\/2024\/12\/14\/returning-after-a-long-gap\/","title":{"rendered":"Returning after a long gap\u2026"},"content":{"rendered":"<p>\nIt has been a while, and this poor blog was not so much <em>neglected<\/em> as it became broken, as did a rush of other web services, all of them caused by ill-effects of well-intended upgrades. It was amazing, really, the damage that could be caused by something like an added mimetype mapping, totally stymied all support channels, similarly an old java app vs a remote API silently switched to HTTPS (Java8 does not follow redirects). And then <em>however it happened<\/em> when Debian decides to upgrade only command-line php8.3 to 8.4 and <em>excessively weird things happen<\/em>.\n<\/p>\n<p>\nAnd those all now back in action, my attention returns here, having forgotten nearly everything I did learn about \\(\\LaTeX\\) math and Lilypond support (I have notes, no worries) although I can report an answer to the puzzle of the previous posts, the <em>extraneous<\/em> paragraph tags WordPress likes to insert, I&#8217;m not sure <em>who<\/em> suggested it, but all it took was tagging the following to the end of <code>wp-content\/themes\/twentysixteen\/functions.php<\/code>\n<\/p>\n<div class=\"org-src-container\">\n<label class=\"org-src-name\"><em><\/em><\/label><\/p>\n<pre class=\"src src-php\" id=\"nil\">\/\/ Prevent WP from adding &lt;p&gt; tags on all post types\nfunction disable_wp_auto_p( $content ) {\n  remove_filter( 'the_content', 'wpautop' );\n  remove_filter( 'the_excerpt', 'wpautop' );\n  return $content;\n}\nadd_filter( 'the_content', 'disable_wp_auto_p', 0 );\n<\/pre>\n<\/div>\n<p>\nSo thank you to whom ever it was that hipped me to that trick. It fixes blank spaces and <em>also<\/em> fixes the annoying footnote issue. Yay, three cheers for the Fediverse!\n<\/p>\n<p>\nBack to the posting problem, I&#8217;d long since forgotten what the block was but drafting this post was a clear reminder: while the error says the backend is undefined, what it means is the elpa version of the <code>ox-wp.el<\/code> is broken, or I broke it somehow, and while there is a function in the kit to <em>regenerate<\/em> this file, don&#8217;t do it! I&#8217;m sure there is a trick, however a better trick turned out to be fetching the version from the git repo.\n<\/p>\n<p>\nAnd here we are.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>It has been a while, and this poor blog was not so much neglected as it became broken, as did a rush of other web services, all of them caused by ill-effects of well-intended upgrades. It was amazing, really, the damage that could be caused by something like an added mimetype mapping, totally stymied all &hellip; <a href=\"https:\/\/radio.teledyn.com\/blog\/2024\/12\/14\/returning-after-a-long-gap\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Returning after a long gap\u2026&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"activitypub_content_warning":"","activitypub_content_visibility":"","activitypub_max_image_attachments":3,"activitypub_interaction_policy_quote":"anyone","activitypub_status":"federate","footnotes":""},"categories":[15,19],"tags":[34],"class_list":["post-306","post","type-post","status-publish","format-standard","hentry","category-org2blog","category-wordpress","tag-emacs-sysadmin-themehacks"],"_links":{"self":[{"href":"https:\/\/radio.teledyn.com\/blog\/wp-json\/wp\/v2\/posts\/306","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/radio.teledyn.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/radio.teledyn.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/radio.teledyn.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/radio.teledyn.com\/blog\/wp-json\/wp\/v2\/comments?post=306"}],"version-history":[{"count":3,"href":"https:\/\/radio.teledyn.com\/blog\/wp-json\/wp\/v2\/posts\/306\/revisions"}],"predecessor-version":[{"id":309,"href":"https:\/\/radio.teledyn.com\/blog\/wp-json\/wp\/v2\/posts\/306\/revisions\/309"}],"wp:attachment":[{"href":"https:\/\/radio.teledyn.com\/blog\/wp-json\/wp\/v2\/media?parent=306"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/radio.teledyn.com\/blog\/wp-json\/wp\/v2\/categories?post=306"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/radio.teledyn.com\/blog\/wp-json\/wp\/v2\/tags?post=306"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}