Getting Value from Array | WordPress.org

Hello. This is regarding Users. The fields had been extended with another plugin. And I can extend it further with pods, and pods allows me to use their magic tags even with the other plugin’s fields. YAY!

It’s great.

But one field is giving me trouble. It’s an image field. Using the magic tag with the field ‘agent_images’ (which is a field from another plugin) produces a number on the page: 750294 (for one particular user profile example). So I downloaded all user data to see what actually downloads, and I get something an array like this for a user for that field:

a:1:{i:0;s:6:”750294″;}

Any idea on how I can use the pods shortcode/magic tags to convert this to an image URL?

  • This topic was modified 4 hours, 4 minutes ago by rscarter1.
  • This topic was modified 4 hours, 3 minutes ago by rscarter1.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer