[Resolved] [Plugin: Magic Fields 2] Insert MF2's code into another plugin PHP script?
OK, this is somewhat difficult to explain, but here goes. I’m using Magic Fields 2 and I’m also using GigPress to display tour dates fro various bands for a record label. My issue is in each page I’ve set up a number that represents an ID for each artist in GigPress. Normall,y I would go into th`e PHP template for that page and use this:
'artist' => ''3'',
Now what I’d like to accomplish if for MF2 to use the tag representing the ID number I typed in the page and place it within my code. Something like this:
'artist' => '' . $artists_gigpress_id . '',
which doesn’t work. I certainly can’t add this code either. So what would work here? Anything?
'<?php echo get('artists_gigpress_id'); ?>',
- The topic ‘[Resolved] [Plugin: Magic Fields 2] Insert MF2's code into another plugin PHP script?’ is closed to new replies.