Support » Plugins and Hacks » Adding Custom Fields to Press This

Adding Custom Fields to Press This

  • The short version: I ran across some modifications of the Press This bookmarklet that claims to make it automatically add a custom field for a link URL. I love the idea. But it doesn’t work for me. The code for the modified bookmarklet is here.

    Basically, as far as I can tell, it just pulls the URL into a custom made box on the bottom of the original (around line 550), pulls the value of that custom field after submission (around line 50), and then uses add_post_meta() to save that URL in the chosen custom field (around line 80).

    But somewhere along the way it fails. The posts never gets anything added to the custom field.

    Any help is greatly appreciated.

Viewing 4 replies - 1 through 4 (of 4 total)
  • This was about eight pages down, so I thought I’d give it an old-fashioned bump.

    i just tried setting this up as well and can confirm that it does not work.
    i’m looking into it now.

    This hack came about from the work of somebody I copied on the forum. Something happened between version 2.7 and 2.8 that changed…something…and now it doesn’t work.

    What would be really nice would be if somebody could just add the option to use Custom Fields into the core, instead of my hacktackularly bad code.

    i actually got it to work and it was a foolish mistake on my end.
    because i renamed the press-this.php file and assumed that the form was self submitting but in fact it was submitting using the orignal file, not the one with the enhancements. heh. oh well. wasted an hour looking at more in depth possibilities.

    is it plugged in? :/

    not sure if this applies to other peoples issues.
    email me if you need help.

    sulleleven – at – gmail

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Adding Custom Fields to Press This’ is closed to new replies.
Skip to toolbar