Title: packjazz's Replies | WordPress.org

---

# packjazz

  [  ](https://wordpress.org/support/users/packjazz/)

 *   [Profile](https://wordpress.org/support/users/packjazz/)
 *   [Topics Started](https://wordpress.org/support/users/packjazz/topics/)
 *   [Replies Created](https://wordpress.org/support/users/packjazz/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/packjazz/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/packjazz/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/packjazz/engagements/)
 *   [Favorites](https://wordpress.org/support/users/packjazz/favorites/)

 Search replies:

## Forum Replies Created

Viewing 12 replies - 1 through 12 (of 12 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[CleanTalk Anti-Spam. Spam Firewall & Bot protection] Stop email notification being sent to all subsite users in multisite](https://wordpress.org/support/topic/stop-email-notification-being-sent-to-all-subsite-users-in-multisite/)
 *  Thread Starter [packjazz](https://wordpress.org/support/users/packjazz/)
 * (@packjazz)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/stop-email-notification-being-sent-to-all-subsite-users-in-multisite/#post-12243371)
 * But this is about the plugin….I have the plugin installed on WordPress multisite
   and the emails are being sent to my WordPress multisite subsite users. I’ll contact
   the regular support, but these seems like a plugin issue to me, because this 
   issue only happened after I updated the plugin.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Offload Media Lite for Amazon S3, DigitalOcean Spaces, and Google Cloud Storage] Latest update broke my site](https://wordpress.org/support/topic/latest-update-broke-my-site-14/)
 *  Thread Starter [packjazz](https://wordpress.org/support/users/packjazz/)
 * (@packjazz)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/latest-update-broke-my-site-14/#post-10004423)
 * Yes, looks good, thank you!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Live Composer - Free WordPress Website Builder] Pagination Issue on home page](https://wordpress.org/support/topic/pagination-issue-on-home-page/)
 *  Thread Starter [packjazz](https://wordpress.org/support/users/packjazz/)
 * (@packjazz)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/pagination-issue-on-home-page/#post-6891958)
 * Okay, thanks for the heads up! I hate to not update since it was a security patch.
   I may update and then try to manually add the fix and hope they put it inot the
   4.4.2 release.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Live Composer - Free WordPress Website Builder] Pagination Issue on home page](https://wordpress.org/support/topic/pagination-issue-on-home-page/)
 *  Thread Starter [packjazz](https://wordpress.org/support/users/packjazz/)
 * (@packjazz)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/pagination-issue-on-home-page/#post-6891949)
 * Perfect, that worked, thanks!
 *   Forum: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
   
   In reply to: [Add meta value to custom post on publish](https://wordpress.org/support/topic/add-meta-value-to-custom-post-on-publish/)
 *  Thread Starter [packjazz](https://wordpress.org/support/users/packjazz/)
 * (@packjazz)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/add-meta-value-to-custom-post-on-publish/#post-5617594)
 * Yeah, the post type is registered in the theme. But thanks for verifying that
   the code is right, seems it’s just something funky going on with the current 
   theme. I’ll see if I can find another way to accomplish what I’m looking to accomplish.
   Thanks for your help!
 *   Forum: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
   
   In reply to: [Add meta value to custom post on publish](https://wordpress.org/support/topic/add-meta-value-to-custom-post-on-publish/)
 *  Thread Starter [packjazz](https://wordpress.org/support/users/packjazz/)
 * (@packjazz)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/add-meta-value-to-custom-post-on-publish/#post-5617555)
 * Also note I have disabled all plugins as part of troulbeshooting and that didn’t
   help. I just need to figure out why the function isn’t passing the post id properly.
 *   Forum: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
   
   In reply to: [Add meta value to custom post on publish](https://wordpress.org/support/topic/add-meta-value-to-custom-post-on-publish/)
 *  Thread Starter [packjazz](https://wordpress.org/support/users/packjazz/)
 * (@packjazz)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/add-meta-value-to-custom-post-on-publish/#post-5617553)
 * [@ryan](https://wordpress.org/support/users/ryan/) – Yes, I’ve confirmed that
   I’m using the right name for the custom post type, dash and ‘s’ included. And
   we know what I have is at least partially correct because it does infact create
   a new DB record any time I publish a custom post of that type. The one missing
   thing is that the post_id is recorded as 0 instead of the actual id of the post
   that was published.
 * I tried that simplified version (which I had tried before in a slightly different
   configuration) and it doesn’t work. It doesn’t even add a new record to the DB.
 * I’m starting to feel like this is an issue with how the theme is configured (
   it’s a complicated membership site set-up that I wasn’t involved in). I’m just
   having a hard time even knowing where to begin to look to figure it out.
 *   Forum: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
   
   In reply to: [Add meta value to custom post on publish](https://wordpress.org/support/topic/add-meta-value-to-custom-post-on-publish/)
 *  Thread Starter [packjazz](https://wordpress.org/support/users/packjazz/)
 * (@packjazz)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/add-meta-value-to-custom-post-on-publish/#post-5617546)
 * [@ryan](https://wordpress.org/support/users/ryan/) – Right. They should. And 
   some of them are, but not all of them. There’s no rhyme or reason as to why some
   custom posts do get added to the sitemap and some don’t. We’ve spent quite a 
   lot of time trying to figure out why, but we have gotten nowhere. The only way
   to ensure that posts get added to the sitemap is to select the option to force
   it on to the sitemap. My client wants this to happen automatically, hence the
   need for this function to work. It should work according to the codex documentation,
   but it isn’t producing a post ID.
 *   Forum: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
   
   In reply to: [Add meta value to custom post on publish](https://wordpress.org/support/topic/add-meta-value-to-custom-post-on-publish/)
 *  Thread Starter [packjazz](https://wordpress.org/support/users/packjazz/)
 * (@packjazz)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/add-meta-value-to-custom-post-on-publish/#post-5617512)
 * I have tried using ID like this:
 *     ```
       function on_jobs_publish( $ID ) {
           global $wpdb;
           $wpdb->insert(
               $wpdb->prefix.'_postmeta',
               array(
                   'post_id' => $ID,
                   'meta_key' => '_yoast_wpseo_sitemap-include',
                   'meta_value' => 'always'
               ),
               array(
                   '%d',
                   '%s',
                   '%s'
               )
           );
       }
       add_action(  'publish_custom-jobs',  'on_jobs_publish', 10, 1 );
       ```
   
 * But it didn’t work. It didn’t even add a new record into the DB. At least with
   $post it added a new record…the only problem is the record’s post_id was 0.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[CF7 Apps – Honeypot, Database, Redirection, Webhook, and Addons for Contact Form 7] Honeypot not comatible with CF7 3.6](https://wordpress.org/support/topic/honeypot-not-comatible-with-cf7-36/)
 *  Thread Starter [packjazz](https://wordpress.org/support/users/packjazz/)
 * (@packjazz)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/honeypot-not-comatible-with-cf7-36/#post-4406536)
 * Ryan, is there anywhere I can donate money to the plugin as a thank you for your
   quick response?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[CF7 Apps – Honeypot, Database, Redirection, Webhook, and Addons for Contact Form 7] Honeypot not comatible with CF7 3.6](https://wordpress.org/support/topic/honeypot-not-comatible-with-cf7-36/)
 *  Thread Starter [packjazz](https://wordpress.org/support/users/packjazz/)
 * (@packjazz)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/honeypot-not-comatible-with-cf7-36/#post-4406535)
 * Thanks Erin and Ryan!
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Widget Areas misbehaving in WP 3.6.1](https://wordpress.org/support/topic/widget-areas-misbehaving-in-wp-361/)
 *  Thread Starter [packjazz](https://wordpress.org/support/users/packjazz/)
 * (@packjazz)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/widget-areas-misbehaving-in-wp-361/#post-4246214)
 * Turns out it was a plugin causing the problem.

Viewing 12 replies - 1 through 12 (of 12 total)