Title: fredhead's Replies | WordPress.org

---

# fredhead

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

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

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 94 total)

1 [2](https://wordpress.org/support/users/fredhead/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/fredhead/replies/page/3/?output_format=md)…
[5](https://wordpress.org/support/users/fredhead/replies/page/5/?output_format=md)
[6](https://wordpress.org/support/users/fredhead/replies/page/6/?output_format=md)
[7](https://wordpress.org/support/users/fredhead/replies/page/7/?output_format=md)
[→](https://wordpress.org/support/users/fredhead/replies/page/2/?output_format=md)

 *   Forum: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
   
   In reply to: [How to Call Publish Function?](https://wordpress.org/support/topic/how-to-call-publish-function/)
 *  Thread Starter [fredhead](https://wordpress.org/support/users/fredhead/)
 * (@fredhead)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/how-to-call-publish-function/#post-16429719)
 * Thanks for the publishing process details at the code level.
 * From working with ACF support, the problem is that the database lookup for the
   field ID grabs the incorrect ID. The field ID is used to retrieve an image URL
   that is created and stored in the post edit page. Manually opening an old post
   and then clicking the Publish button updates the image URL field ID to the correct
   one.
 * The ACF field is referenced and stored in a variable in a post template to place
   the URL in an src= image link code. Processing the variable to convert it to 
   a field ID and then use that ID to retrieve the image URL currently pulls the
   wrong ID and outputs the wrong ID instead of the image URL.
 * It’s a problem with updating and assigning the correct image field ID somewhere
   in the database so that it can be used to retrieve the image URL.
 * Hopefully that’s more clear? For me, it doesn’t really matter how this happened.
   I’m more interested in possible programmatic ways to update my posts.
    -  This reply was modified 3 years, 3 months ago by [fredhead](https://wordpress.org/support/users/fredhead/).
 *   Forum: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
   
   In reply to: [How to Call Publish Function?](https://wordpress.org/support/topic/how-to-call-publish-function/)
 *  Thread Starter [fredhead](https://wordpress.org/support/users/fredhead/)
 * (@fredhead)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/how-to-call-publish-function/#post-16425640)
 * Sorry to be unclear. Using the ACF plugin, I have a top story image element assigned
   to posts. So there’s a panel on the edit post page where I can upload an image
   and type or copy/paste a source URL.
 * in trading emails with the ACF plugin support team, a bug displays the ACF image
   ID, not the image URL. Opening a post then publishing updating the post corrects
   the problem.
 * I’m looking to see if I can automate that publish update process, to avoid having
   to open 1100 posts to then click the Publish button.
 * I’m hoping the wp_update_post function processes all elements in a post, including
   the ACF bits. I’m asking here if someone who knows the WP code can tell me what
   exactly happens when you click the publish button on a post page.
 * Also, if it matters, I’m not using Gutenberg on the site. Only the latest underscores
   template and the classic text editor plugin.
 * Thanks for any insights.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [File Name for Date Archive Block Template](https://wordpress.org/support/topic/file-name-for-date-archive-block-template/)
 *  Thread Starter [fredhead](https://wordpress.org/support/users/fredhead/)
 * (@fredhead)
 * [4 years ago](https://wordpress.org/support/topic/file-name-for-date-archive-block-template/#post-15651110)
 * closing
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [File Name for Date Archive Block Template](https://wordpress.org/support/topic/file-name-for-date-archive-block-template/)
 *  Thread Starter [fredhead](https://wordpress.org/support/users/fredhead/)
 * (@fredhead)
 * [4 years ago](https://wordpress.org/support/topic/file-name-for-date-archive-block-template/#post-15645591)
 * Thanks so much Jonathan for the extensive details! Definitely will dig in and
   see what happens.
 * It also appears, watching a Gutenberg Social Learning Series video, that for 
   now themes can be hybrid classic and block elements. I’ll also try that. Perhaps
   updating the header and footers for my existing template will be enough, aka 
   punt. 🙂
 * Appreciate the help!
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [File Name for Date Archive Block Template](https://wordpress.org/support/topic/file-name-for-date-archive-block-template/)
 *  Thread Starter [fredhead](https://wordpress.org/support/users/fredhead/)
 * (@fredhead)
 * [4 years ago](https://wordpress.org/support/topic/file-name-for-date-archive-block-template/#post-15632327)
 * Yes, it’s a custom wp_query but different approach. I parse the /2022-february
   part of the URL to get two values, 2022 as the year and february as the month.
   Because all our stories publish at midnight the first day of even-numbered months,
   I know the date is always 1.
 * In any event, my question is whether or not it’s possible to migrate this approach
   to a blocks template using the date archive template. And, if so, what would 
   be the file name if that’s the ideal approach or some other approach is better.
   We have 50 or so of these pages with 15-20 stories linked on each page and would
   like to keep them.
    -  This reply was modified 4 years ago by [fredhead](https://wordpress.org/support/users/fredhead/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Import and export users and customers] Access Custom Fields in Template](https://wordpress.org/support/topic/access-custom-fields-in-template/)
 *  Thread Starter [fredhead](https://wordpress.org/support/users/fredhead/)
 * (@fredhead)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/access-custom-fields-in-template/#post-11389674)
 * Thanks, Javier, appreciate your quick reply and help. I’ll play with get_user_meta.
   What I had in mind is whether or not I can retrieve the meta data values similar
   to the way the ACF (Advanced Custom Fields) plugin works. Looks like get_user_meta
   will do that.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Simple Membership] Restrict access without paying?](https://wordpress.org/support/topic/restrict-access-without-paying/)
 *  Thread Starter [fredhead](https://wordpress.org/support/users/fredhead/)
 * (@fredhead)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/restrict-access-without-paying/#post-9285303)
 * Thanks so much for excellent and quick responses!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Simple Membership] Restrict access without paying?](https://wordpress.org/support/topic/restrict-access-without-paying/)
 *  Thread Starter [fredhead](https://wordpress.org/support/users/fredhead/)
 * (@fredhead)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/restrict-access-without-paying/#post-9259903)
 * Thanks!
 * To be 100% clear, the payment process and the upload process both update users
   and the plugin uses that data, from both sources, to determine access rights?
   The payment process itself has nothing to do with determining access; the output
   of payment is user data and that data is then added by the plugin to be used 
   to determine access rights?
 * I have a lot of subscribers and want to be sure what will happen if I add users
   without going through the payment process for each of them. Appreciate your patience.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [the_permalink displays post ID URL for future posts](https://wordpress.org/support/topic/the_permalink-displays-post-id-url-for-future-posts/)
 *  Thread Starter [fredhead](https://wordpress.org/support/users/fredhead/)
 * (@fredhead)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/the_permalink-displays-post-id-url-for-future-posts/#post-6342447)
 * Hi,
 * Found the answer here on the forum, in case someone finds this topic and has 
   the same problem:
 * [https://wordpress.org/support/topic/urls-incorrect-for-scheduled-posts?replies=24#post-6982794](https://wordpress.org/support/topic/urls-incorrect-for-scheduled-posts?replies=24#post-6982794)
 * This links to the solution. Scroll up to read full thread. While something must
   have changed in core earlier this year (2015), the solution shows how to use 
   a filter to convert the current ID URL to a pretty link URL which is what I needed.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [the_permalink displays post ID URL for future posts](https://wordpress.org/support/topic/the_permalink-displays-post-id-url-for-future-posts/)
 *  Thread Starter [fredhead](https://wordpress.org/support/users/fredhead/)
 * (@fredhead)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/the_permalink-displays-post-id-url-for-future-posts/#post-6342253)
 * Thanks [@alchymyth](https://wordpress.org/support/users/alchymyth/). Hopefully
   I can still get help despite the spam.
 * Also, if it helps, the_permalink and get_permalink both output the full URL of
   future posts until some time between late January 2015 and late March 2015 when
   I noticed they abruptly output only the post ID URL. And my Settings > Permalink
   is set for pretty links.
 * Appreciate any help. The internets got nothing despite massive searching.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[SimpleShop] Odd parsing error on install](https://wordpress.org/support/topic/odd-parsing-error-on-install/)
 *  Thread Starter [fredhead](https://wordpress.org/support/users/fredhead/)
 * (@fredhead)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/odd-parsing-error-on-install/#post-5841710)
 * Totally understand. I’ll see if I can formally debug the method and let you know
   what I find.
 *   Forum: [Localhost Installs](https://wordpress.org/support/forum/localhost-installs/)
   
   In reply to: [Trouble running local WordPress in Google App Engine](https://wordpress.org/support/topic/trouble-running-local-wordpress-in-google-app-engine/)
 *  [fredhead](https://wordpress.org/support/users/fredhead/)
 * (@fredhead)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/trouble-running-local-wordpress-in-google-app-engine/#post-4355878)
 * [@catalyx](https://wordpress.org/support/users/catalyx/) Thanks for the extra
   details. FWIW I’m getting routed to my current URL because I imported my current
   database which includes the Settings > General values for URLs. So all the links
   use those values. Today I plan to test with a fresh install then do a db dump
   after I deploy to see if anything changes with those values, then adjust my current
   database values and repeat the import and deploy. Worst case, I’ll use a test
   domain I have, get stuff working, then repoint my domain and adjust the Settings
   > General values in WP.
 * I’m also wondering about SSL. Otherwise, GAE seems like it has really evolved
   nicely beyond an enterprise or hobby option. Appreciate your help and [@oc2ps](https://wordpress.org/support/users/oc2ps/)’
   s details.
 *   Forum: [Localhost Installs](https://wordpress.org/support/forum/localhost-installs/)
   
   In reply to: [Trouble running local WordPress in Google App Engine](https://wordpress.org/support/topic/trouble-running-local-wordpress-in-google-app-engine/)
 *  [fredhead](https://wordpress.org/support/users/fredhead/)
 * (@fredhead)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/trouble-running-local-wordpress-in-google-app-engine/#post-4355873)
 * OC2PS do let us know how deploy turns out. I’m able to run 3.7.1 locally but 
   I have to remove the ** fore/aft from the DB_NAME, DB_USER, DB_PASSWORD values
   to work. It’s unclear from you guys above if this is okay (which is why I’m curious
   to hear if your deploy works).
 * Another wrinkle alluded to by Catalyx is importing production data, including
   hard-coded URLs and paths in the wp_options table. I wonder what these values
   should be changed to so they work locally and remotely on GAE? My /wp-admin login
   process naturally throws me to my live production site URL.
 * At the least, thanks for this thread guys. It helped move me along.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Edit Flow] Feature Request: Monthly Issue Focus](https://wordpress.org/support/topic/feature-request-monthly-issue-focus/)
 *  Thread Starter [fredhead](https://wordpress.org/support/users/fredhead/)
 * (@fredhead)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/feature-request-monthly-issue-focus/#post-3219771)
 * The story budget likely would have each month’s issue as the top-most level, 
   perhaps as a drop down list and, within each issue selected, then you would have
   what you currently have: All Stories plus stories grouped by categories.
 * On the Calendar, in a way, each day of the week column could be turned into a
   month column to display 7 months with a single cell for each set of stories for
   that month. Previous/next links would let you move forwards or backwards 7 months
   at a time. That might be the easiest way to repurpose what you have.
 * The biggest hit likely would be to have a setting that flips these two interfaces,
   story budget and calendar, between monthly (issues) and daily/weekly. Probably
   that’s adding a checkbox/radio button the ef-calendar-settings page and adding
   a Story Budget Options button and a page with the checkbox/radio button with 
   the two options (monthly and daily/weekly). Then you’d have to update the calendar
   and story budget pages to display based on the options.
 * If you were truly ambitious, on the calendar view, it might be nice to see more
   than 7 months at a time. And the ability to export the monthly calendar to CSV
   with a column for each month would be great, too.
 * Let me know if that’s not clear or enough detail. Thanks for at least considering
   the idea. And thank you for such a useful plugin!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Edit Flow] Feature Request: Monthly Issue Focus](https://wordpress.org/support/topic/feature-request-monthly-issue-focus/)
 *  Thread Starter [fredhead](https://wordpress.org/support/users/fredhead/)
 * (@fredhead)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/feature-request-monthly-issue-focus/#post-3219715)
 * Sorry, Snip URL thinks my link to an Excel file is spam. Ouch. I was trying to
   be efficient. Here is the full URL to my sample file:
 * [http://owlhillmedia.com/files/sample-issue-calendar-2012-1126.xlsx](http://owlhillmedia.com/files/sample-issue-calendar-2012-1126.xlsx)
 * I can assure you it is plain Vanilla Excel.

Viewing 15 replies - 1 through 15 (of 94 total)

1 [2](https://wordpress.org/support/users/fredhead/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/fredhead/replies/page/3/?output_format=md)…
[5](https://wordpress.org/support/users/fredhead/replies/page/5/?output_format=md)
[6](https://wordpress.org/support/users/fredhead/replies/page/6/?output_format=md)
[7](https://wordpress.org/support/users/fredhead/replies/page/7/?output_format=md)
[→](https://wordpress.org/support/users/fredhead/replies/page/2/?output_format=md)