WordPress.org

Profiles

  • Member Since: December 6th, 2005
  • Find me on:
  • Posted a reply to How to prepend parent post ID to uploaded file, on the site WordPress.org Forums:
    Hi, I found something on stackexchange that may help but not sure how to fit…

    4 weeks ago

  • Posted a reply to How to prepend parent post ID to uploaded file, on the site WordPress.org Forums:
    Hi, Nope, didn't add the id to the file name. add_filter( 'wp_insert_post', 'foo_insert_post'); function foo_insert_post(…

    4 weeks ago

  • Posted a reply to How to prepend parent post ID to uploaded file, on the site WordPress.org Forums:
    Same error as the first one Notice: Trying to get property 'post_type' of non-object in…

    4 weeks ago

  • Posted a reply to How to prepend parent post ID to uploaded file, on the site WordPress.org Forums:
    The second one results in Parse error: syntax error, unexpected 'if' (T_IF) in /home/customer/www/***/public_html/wp-content/themes/bafa2021/functions.php on…

    4 weeks ago

  • Posted a reply to How to prepend parent post ID to uploaded file, on the site WordPress.org Forums:
    Hi The first one throws up this error Notice: Trying to get property 'post_type' of…

    4 weeks ago

  • Posted a reply to How to prepend parent post ID to uploaded file, on the site WordPress.org Forums:
    There was a lot! [22-Sep-2021 21:05:01 UTC] PHP Fatal error: Uncaught ArgumentCountError: Too few arguments…

    4 weeks ago

  • Posted a reply to How to prepend parent post ID to uploaded file, on the site WordPress.org Forums:
    ["_acf_post_id"]=> string(3) "178" The 178 is just a custom field value. It is not the…

    4 weeks ago

  • Posted a reply to How to prepend parent post ID to uploaded file, on the site WordPress.org Forums:
    My latest comment has been held for moderation. Don't know why. Hopefully it will be…

    4 weeks ago

  • Posted a reply to How to prepend parent post ID to uploaded file, on the site WordPress.org Forums:
    I had this: add_filter( 'wp_handle_upload_prefilter', 'custom_upload_filter' ); function custom_upload_filter($file) { ob_start(); var_dump($_REQUEST); $content = ob_get_contents();…

    4 weeks ago

  • Posted a reply to How to prepend parent post ID to uploaded file, on the site WordPress.org Forums:
    Thanks for posting your code. So, I tried with the ['p'] add_filter( 'wp_handle_upload_prefilter', 'custom_upload_filter' );…

    4 weeks ago

  • Posted a reply to How to prepend parent post ID to uploaded file, on the site WordPress.org Forums:
    Also tried the following but nothing got added to the file name: add_filter( 'wp_handle_upload_prefilter', 'custom_upload_filter'…

    4 weeks ago

  • Posted a reply to How to prepend parent post ID to uploaded file, on the site WordPress.org Forums:
    Hi, I added your exact code ob_start(); etc to my functions.php file and I get…

    4 weeks ago

  • Posted a reply to How to set First and Last Name as username instead of first part of email, on the site WordPress.org Forums:
    Hi, Surprised more WordPress experts have not come back on this one. Is it too…

    1 month ago

  • Posted a reply to How to prepend parent post ID to uploaded file, on the site WordPress.org Forums:
    Is there no way to use $parent_id = $media->post_parent; or some such. I can't believe…

    1 month ago

  • Posted a reply to How to prepend parent post ID to uploaded file, on the site WordPress.org Forums:
    Hi @aetherunbound, That did not work. Nothing gets prepended to the document name. My full…

    1 month ago

  • Posted a reply to How to set First and Last Name as username instead of first part of email, on the site WordPress.org Forums:
    Hi @plantprogrammer Thanks, but as per the title of the topic,'How to set First and…

    1 month ago

  • Posted a reply to How to prepend parent post ID to uploaded file, on the site WordPress.org Forums:
    Perhaps some WordPress expert here can let me know if this statement is true, and…

    1 month ago

  • Posted a reply to How to prepend parent post ID to uploaded file, on the site WordPress.org Forums:
    Thanks @aetherunbound. Do you mean that I would just swap $_REQUEST['post_id'] with $_REQUEST['post']? Will give…

    1 month ago

  • Created a topic, How to prepend parent post ID to uploaded file, on the site WordPress.org Forums:
    Hi, I have a form using ACF fields where subscribers …

    1 month ago

  • Created a topic, How to set First and Last Name as username instead of first part of email, on the site WordPress.org Forums:
    Hello, Currently, my WordPress install sets the usern…

    1 month ago

  • Posted a reply to Custom Upload Folder and File Rename, on the site WordPress.org Forums:
    Thanks for the info. I may not have explained so well. Step one, creating the…

    2 months ago

  • Posted a reply to Custom Upload Folder and File Rename, on the site WordPress.org Forums:
    That's amazing. Thanks. I managed to get the first part done easily by hooking into…

    2 months ago

  • Created a topic, Excellent Plugin, Excellent Support, on the site WordPress.org Forums:
    So glad I came across PublishPress and their Capabilit…

    2 months ago

  • Posted a reply to Custom Upload Folder and File Rename, on the site WordPress.org Forums:
    Sorry, I did not mark this as not support, and I can't edit it now.

    2 months ago

  • Created a topic, Custom Upload Folder and File Rename, on the site WordPress.org Forums:
    Hello, This involved several steps that I'm hoping ar…

    2 months ago

  • Posted a reply to After 5.6.1 upgrade getting 504 timeout error when updating/activating plugins, on the site WordPress.org Forums:
    Cheers.

    8 months ago

  • Posted a reply to After 5.6.1 upgrade getting 504 timeout error when updating/activating plugins, on the site WordPress.org Forums:
    Hi, Thanks for posting. I did try the manual upload of 5.6.1 but it didn't…

    8 months ago

  • Created a topic, After 5.6.1 upgrade getting 504 timeout error when updating/activating plugins, on the site WordPress.org Forums:
    Hi, Upgraded to WordPress 5.6.1 yesterday and now I'm…

    8 months ago

  • Posted a reply to Child Theme partials not being recognised, on the site WordPress.org Forums:
    Hi, Thanks, I had already added the meta box snippet to my functions.php file. (from…

    11 months ago

  • Created a topic, Child Theme partials not being recognised, on the site WordPress.org Forums:
    Hi, I've just spent the last five hours trying to get…

    12 months ago

  • Posted a reply to Sync Civi Member with WP Group Association Rule, on the site WordPress.org Forums:
    Great, thank you for letting me know @needle. I'll go update it. Cheers, Tracy

    2 years ago

  • Created a topic, Sync Civi Member with WP Group on Registration, on the site WordPress.org Forums:
    Hi, I'm running latest versions of CiviCRM and Wordpr…

    2 years ago

  • Created a topic, Do Extensions Work with Free Version?, on the site WordPress.org Forums:
    Hi, I'm using the free version of the YASR plugin on …

    5 years ago

Plugins