Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • So sorry @angelleye, my question was supposed to be for @mkantar4; how embarrassing. In short, I want to do what mkantar4 came here looking to do. My client uses PayPal to pay for shipping and to print those shipping labels. Before using the PayPal Pro plugin, the shipping notification was sent from PayPal with tracking information and the like. I was originally hoping to discover @mkantar4’s solution, or if all else failed, make my own. They may be going with a separate WooCommerce add-on or other plugin to do their shipping through, so this might no longer be an issue.

    @angelleye, what was your solution to this? Did you end up building a custom solution? If so—feel like sharing? ?? If not, any tips or pointers on where I should start with my own? Thanks!

    Oh, okay, I see it now. ‘wp_postmeta’ contains a meta_key of “_thumbnail_id” for the post_id in question where the meta_value is the ID for the ‘wp_posts’ record whose guid is the image selected as the featured image. Wonderful. Thanks.

    (This is for a custom theme for a client, not a theme I’m using out of the box. We really liked your implementation for the selected image so I had to figure out how to get that image for display within the theme (since as you said, it’s not included in your plugin yet). Thanks for your help.)

    No, I don’t want to include the plugin into a theme. Not exactly, anyway. What I want to know is if there’s a way to show the “featured image” I’ve selected with your plugin on a post page–you know, before the post content or in some other place, or on a category page as a thumbnail for my post.

    If there’s no support to do this I wanted to know if you could tell me where you’re storing the featured image (I don’t mean the actual image, I just mean the path/URL to the image) in the database and I’ll just access it for display myself. Thanks.

    Is it possible to use this in a theme, or is it just for reference in the WP admin? If it can be used in the theme, as I hope, what’s the code to do so? If it’s not built for that, can you tell me where it stores this information in the database so I can look at working around that? Thanks!

    (It looks like it’s in wp_postmeta with the meta_key of ‘_wp_attached_file’ but… the post_id doesn’t match the post I attached it to, so it seems rather peculiar, and which is why I ask about the database location.)

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