php connector not working
-
Hello,
I wanted to use your plugin to display movie information in every post I do. I give the name of my post the exact name as the movie I am writing about so I put the php:
<?php
$imdb_movie_id_or_title = the_title();
$movie = get_imdb_connector_movie(“$imdb_movie_id_or_title”);
echo $movie[“title”] . ” Released:” . $movie[“year”] . ” Genre:” . $movie[“genre”] . ” Length:”. $movie[“runtime”];
?>Into my loop and the title is the only information that seems to show. So it seems I am having trouble connecting to imdb. Is there anything else you need to have in the php file to get this to connect? Ive downloaded the plugging and made sure that everything is on, and it shows up in my widgets but I wanted the information directly in my posts.
I am a wordpress beginner so I am sorry if this question has an obvious answer. Thank you!
- The topic ‘php connector not working’ is closed to new replies.