Ok, here’s the issue. Originally I created a page and manually listed each of my movies like so:
<li> <!--imdb-->Æon Flux (2005)<!--/imdb--></li>
<li> <!--imdb-->"The Storyteller" (1988)<!--/imdb--></li>
<li> <!--imdb-->10,000 BC (2008)<!--/imdb--></li>
The imdb shortcodes above create links for the respective movie, gathering it’s imdb info.
Now, I’ve added a table to my database and inserted all my movies into it. Than I created a template for which I go through the table and list all the movies. So far, so good. However, I want to still create the imdb links above for them. However, adding ‘<!–imdb–>’ and ‘<!–/imdb–> into the template code itself, seems to produce no results.
Here’s an example within my loop:
<td><!--imdb--><?php echo $mymovie->name;?><!--/imdb--></td>
I tried messing around with something like so:
but wasn’t sure how to write it, opening/closing and where movie would go?
Working page: http://jeffwithag.com/misc/my-movies/
Non-working template: http://jeffwithag.com/misc/movie-library/
Any suggestions folks?