{
    "version": "https://jsonfeed.org/version/1",
    "title": "Josh Stauffer",
    "description": "",
    "home_page_url": "https://pub.joshstauffer.com",
    "feed_url": "https://pub.joshstauffer.com/feed.json",
    "user_comment": "",
    "author": {
        "name": "Josh"
    },
    "items": [
        {
            "id": "https://pub.joshstauffer.com/publii-is-a-wordpress-alternative/",
            "url": "https://pub.joshstauffer.com/publii-is-a-wordpress-alternative/",
            "title": "Publii is a WordPress alternative",
            "summary": "I don't have to have my own linux server. I can write this on my desktop and then publish it to github. What a joy.",
            "content_html": "\n  <p>\n    I don't have to have my own linux server. I can write this on my desktop and then publish it to github. What a joy.\n  </p>\n\n    <figure class=\"post__image post__image--center\">\n      <img loading=\"lazy\" src=\"https://pub.joshstauffer.com/media/posts/6/pexels-yuraforrat-8643566.jpg\" height=\"5760\" width=\"3840\" alt=\"\"  sizes=\"(min-width: 920px) 703px, (min-width: 700px) calc(82vw - 35px), calc(100vw - 81px)\" srcset=\"https://pub.joshstauffer.com/media/posts/6/responsive/pexels-yuraforrat-8643566-xs.jpg 300w ,https://pub.joshstauffer.com/media/posts/6/responsive/pexels-yuraforrat-8643566-sm.jpg 480w ,https://pub.joshstauffer.com/media/posts/6/responsive/pexels-yuraforrat-8643566-md.jpg 768w ,https://pub.joshstauffer.com/media/posts/6/responsive/pexels-yuraforrat-8643566-lg.jpg 1024w\">\n      <figcaption>I did not take this photo</figcaption>\n    </figure>",
            "image": "https://pub.joshstauffer.com/media/posts/6/pexels-yuraforrat-8643566-2.jpg",
            "author": {
                "name": "Josh"
            },
            "tags": [
            ],
            "date_published": "2026-11-25T21:54:06-06:00",
            "date_modified": "2026-11-25T21:54:06-06:00"
        },
        {
            "id": "https://pub.joshstauffer.com/i-am-exploring-wordpress-alternatives-22/",
            "url": "https://pub.joshstauffer.com/i-am-exploring-wordpress-alternatives-22/",
            "title": "I am exploring WordPress alternatives",
            "summary": "Do things wellDo things oftenBuildCreate If you don't do it, who will? Josh Stauffer SELECT * FROM posts WHERE id = 23; That is all&hellip;",
            "content_html": "\n  <ul>\n    <li>Do things well</li><li>Do things often</li><li>Build</li><li>Create</li>\n  </ul>\n\n    <figure class=\"blockquote\">\n      <blockquote>If you don't do it, who will?</blockquote>\n      <figcaption>Josh Stauffer</figcaption>\n    </figure>\n<pre class=\"line-numbers  language-none\"><code>SELECT * FROM posts WHERE id = 23; \n</code></pre>\n<hr class=\"separator separator--dots\" />\n\n  <p>\n    That is all for now folks.\n  </p>",
            "author": {
                "name": "Josh"
            },
            "tags": [
            ],
            "date_published": "2026-11-25T11:39:24-06:00",
            "date_modified": "2026-11-25T21:56:51-06:00"
        },
        {
            "id": "https://pub.joshstauffer.com/sum-some-nums/",
            "url": "https://pub.joshstauffer.com/sum-some-nums/",
            "title": "Sum Some Nums",
            "summary": "Adding a list of numbers is pretty simple. And so is this tool. It sums a list of numbers. And averages them too. That’s it.",
            "content_html": "\n  <p>\n    Adding a list of numbers is pretty simple. And so is this tool. It sums a list of numbers. And averages them too. That’s it.\n  </p>\n\n  <p>\n    The design is <a href=\"https://www.google.com/search?q=brutalist+design\" target=\"_blank\">brutalist</a> with a mix of emojis. I think it is fun.<br><br>\n  </p>\n\n  <p>\n    <em><strong>Why?</strong></em> Covid has caused my family to play a lot of Monopoly this past year. We never play to the end. We stop after X hours and see who has the most money. This tool will help us count the monies.\n  </p>\n\n  <p>\n    <a href=\"https://www.joshstauffer.com/sumsomenums/\" target=\"_blank\">Sum Some Nums</a>\n  </p>\n\n    <figure class=\"post__image post__image--center\">\n      <a href=\"https://www.joshstauffer.com/sumsomenums/\" target=\"_blank\">\n        <img loading=\"lazy\" src=\"https://pub.joshstauffer.com/media/posts/3/sumsomenums.png\" height=\"978\" width=\"750\" alt=\"\"  sizes=\"(min-width: 920px) 703px, (min-width: 700px) calc(82vw - 35px), calc(100vw - 81px)\" srcset=\"https://pub.joshstauffer.com/media/posts/3/responsive/sumsomenums-xs.png 300w ,https://pub.joshstauffer.com/media/posts/3/responsive/sumsomenums-sm.png 480w ,https://pub.joshstauffer.com/media/posts/3/responsive/sumsomenums-md.png 768w ,https://pub.joshstauffer.com/media/posts/3/responsive/sumsomenums-lg.png 1024w\">\n      </a>\n      \n    </figure>",
            "author": {
                "name": "Josh"
            },
            "tags": [
                   "Tech"
            ],
            "date_published": "2021-03-13T12:02:00-06:00",
            "date_modified": "2026-11-25T12:03:08-06:00"
        },
        {
            "id": "https://pub.joshstauffer.com/wordpress-scheduled-tasks-with-wp-cron/",
            "url": "https://pub.joshstauffer.com/wordpress-scheduled-tasks-with-wp-cron/",
            "title": "WordPress: Scheduled Tasks with WP-Cron",
            "summary": "function js_cron_exec() { // Scheduled task code here } add_action( 'js_cron_hook', 'js_cron_exec' ); // Schedule the task if not already scheduled if ( ! wp_next_scheduled(&hellip;",
            "content_html": "<pre class=\"line-numbers  language-none\"><code>function js_cron_exec() {\n    // Scheduled task code here\n}\nadd_action( 'js_cron_hook', 'js_cron_exec' );\n \n// Schedule the task if not already scheduled\nif ( ! wp_next_scheduled( 'js_cron_hook' ) ) {\n    wp_schedule_event( time(), 'daily', 'js_cron_hook' );\n}\n \n// Remove the scheduled task\n// $timestamp = wp_next_scheduled( 'js_cron_hook' );\n// wp_unschedule_event( $timestamp, 'js_cron_hook' );</code></pre>\n\n  <p>\n    Few things to mention about the code:\n  </p>\n\n  <ol>\n    <li>add_action() will create your hook.</li><li>The first parameter of add_action() is the name of the hook you are creating. Name it as you please and use a name prefix. The scheduled event will call this.<br></li><li>The second parameter of add_action() is the name of the function to call. Again, name it whatever. Use a name prefix. The hook will call this.<br></li><li>wp_schedule_event() will schedule the event. The second parameter can accept: ‘hourly’, ‘twicedaily’, ‘daily’, ‘weekly’.<br></li>\n  </ol>\n\n  <p>\n    <a href=\"https://developer.wordpress.org/plugins/cron/\" target=\"_blank\">WP-Cron</a> is how WordPress handles scheduling time-based tasks in WordPress, such as checking for updates and publishing scheduled posts.\n  </p>\n\n  <p>\n    With WP-Cron, all scheduled tasks are put into a queue. On each page load, it works by checking a list of scheduled tasks to see what needs to be run. Any tasks that need to be run are then executed.\n  </p>\n\n  <p>\n    So while you can’t be 100% sure when your task will run, you can be 100% sure that it will run eventually. Put another way, if your task is scheduled to run at 2:00PM but your next page load is not until 5:00PM, the task with run at 5:00PM.<br>\n  </p>",
            "author": {
                "name": "Josh"
            },
            "tags": [
            ],
            "date_published": "2021-02-27T13:31:00-06:00",
            "date_modified": "2026-11-25T22:09:52-06:00"
        },
        {
            "id": "https://pub.joshstauffer.com/made-alive/",
            "url": "https://pub.joshstauffer.com/made-alive/",
            "title": "Made Alive",
            "summary": "If ever I forget my true identity, show me who I am and help me to believe.",
            "content_html": "\n    <blockquote class=\"blockquote\">\n      If ever I forget my true identity, show me who I am and help me to believe.<br>\n    </blockquote>\n<div><div class=\"post__iframe\"><iframe loading=\"lazy\" width=\"988\" height=\"556\" src=\"https://www.youtube.com/embed/tWQ4thTS2kA\" title=\"Citizens &amp; Saints - Made Alive\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen></iframe></div></div>\n\n  <p>\n    \n  </p>",
            "author": {
                "name": "Josh"
            },
            "tags": [
            ],
            "date_published": "2013-05-25T13:50:00-05:00",
            "date_modified": "2026-11-25T13:53:36-06:00"
        }
    ]
}
