This repository has been archived by the owner. It is now read-only.
mohammad azami edited this page Mar 2, 2016 · 4 revisions

see also: Sample Card

<?php if( imdbi_check('imdbid') ): ?>

				<div class="imdbi-poster">
				<img src="<?php echo imdbi('poster'); ?>" alt="<?php the_title(); ?>">
				</div>

				<div class="imdbi-items">
					<ul>
					<?php if( imdbi_check('imdbrating') ): ?>
						<li>
							 <b>Rating:</b> <?php echo imdbi('imdbrating'); ?>/10
							 <?php if( imdbi_check('imdbvotes') ): ?>
								 <i>(from: <?php echo imdbi('imdbvotes'); ?> users)</i>
							 <?php endif; ?>
						</li>
					<?php endif; ?>

						<?php if( imdbi_check('director') ): ?>
						<li>
						 <b>Director:</b> <?php echo imdbi('director'); ?>
						</li>
						<?php endif; ?>

					<?php if( imdbi_check('writer') ): ?>
						<li>
					 		<b>Writer:</b> <?php echo imdbi('writer'); ?>
					</li>
				<?php endif; ?>

				<?php if( imdbi_check('actors') ): ?>
					<li>
				 		<b>Stars:</b> <?php echo imdbi('actors'); ?>
					</li>
				<?php endif; ?>

				<?php if( imdbi_check('runtime') ): ?>
					<li>
			 			<b>Runtime:</b> <?php echo imdbi('runtime'); ?> Min
					</li>
				<?php endif; ?>

				<?php if( imdbi_check('rated') ): ?>
					<li>
		 				<b>Rated:</b> <?php echo imdbi('rated'); ?>
					</li>
				<?php endif; ?>

				<?php if( imdbi_check('genre') ): ?>
					<li>
	 					<b>Genre:</b> <?php echo imdbi('genre'); ?>
					</li>
				<?php endif; ?>

				<?php if( imdbi_check('released') ): ?>
					<li>
	 					<b>Rrelased:</b> <?php echo imdbi('released'); ?>
					</li>
				<?php endif; ?>

					</ul>

					<?php if(imdbi_check('plot')): ?>
						<p>
							<?php echo imdbi('plot'); ?>
						</p>
				<?php endif; ?>
			</div>
<?php endif; ?>
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.