Welcome, guest!

Feel free to read the blog, browse for themes, or join the club.

How to use 'Press This' bookmarklet for custom post types

  1. I love the Press This feature, but I'd like to have a couple different bookmarklets that post different custom post types. For example, I have a videos custom post type, so if I were on a YouTube page, I would want to 'Press This' to a video post type, not a standard post. I glanced through the PressThis.php file but didn't see anything readily apparent that would let me change the post type. Any thoughts?

  2. Post insertion seem to be handled by press_it() function. It doesn't specify 'post_type' argument so it always defaults to regular post.

    So far I see no way to extend this except by messing with file itself (not a good idea for core files). Maybe fork it under another name...

  3. You must be a logged-in exclusive member to view this reply.

  4. What about making a bookmarklet that just copies it into the standard WordPress Add New page, feeding it the custom post type, title and link?

  5. You must be a logged-in exclusive member to view this reply.

Reply

You must log in to post.

Limited Access

If you have an account, please take a moment to log in.

Non-exclusive members have limited access to the support forums.

To enjoy the full range of support, sign up for an exclusive membership in the theme club.

Support Forums

  • Core Framework (53 posts)
  • Hybrid Theme (22,811 posts)
  • Bliss Theme (255 posts)
  • Options Theme (10,362 posts)
  • Visionary Theme (767 posts)
  • WordPress (192 posts)
  • WordPress Plugins (2,150 posts)
  • bbPress Themes (308 posts)
  • General Discussion (5,616 posts)
  • Critical Theme (2 posts)
  • Hybrid News Theme (160 posts)
  • Hybrid Original Theme (32 posts)
  • Leviathan Theme (16 posts)
  • Life Collage Theme (21 posts)
  • Old School Theme (3 posts)
  • Outline Theme (121 posts)
  • Skeleton Theme (46 posts)
  • Structure Theme (2,774 posts)
  • Members Plugin (2 posts)
  • Cleaner Gallery Plugin (14 posts)
  • Get the Image Plugin (3 posts)
  • Message Board Plugin (0 posts)
  • Widgets Reloaded Plugin (0 posts)
  • Breadcrumb Trail Plugin (0 posts)
  • Query Posts Plugin (86 posts)
  • Hybrid Hook Plugin (7 posts)
  • Hybrid Hook Widgets Plugin (0 posts)
  • Hybrid Tabs (6 posts)