I spent more of my life than I would like to admit figuring out how to add my own footer text to our theme, which is a child theme of SemPress. But mission accomplished. With our child theme and my initial style tweaks done, I published version 1.0 of the newly-named Emusem Press to my personal Gitea repository. My last tasks before really getting the ball rolling on this project are to publish the rest of our informational pages and resolve one plugin-related issue. “Getting the ball rolling” is defined as posts about things other than designing the site.
Tag: coding
WordPress pages (as opposed to posts) do not have pingback and trackback support by default. I had a need to enable it on The New Leaf Journal in order to allow certain pages to accept incoming Webmentions. In that case, I added the PHP snippet to my child theme’s functions.php file. But with multiple sites and the possibility that I may not always use the same theme, I decided to convert the snippet into a site-specific plugin. The code is available in my personal Gitea repository. Feel free to use and extend (instructions for extending are in the code comments).