for rendering I use this code
is it possible to use such code
instead
Code:
<h3 class="search-entry-title">
<a href="<?php echo $item->link; ?>" title="<?php echo htmlspecialchars($item->title, ENT_NOQUOTES); ?>">
<?php echo htmlspecialchars($item->title, ENT_NOQUOTES); ?>
</a>
</h3>
<div class="row">
<div class="col-4">
<figure><img src="<?php echo $item->image; ?>" title="<?php echo htmlspecialchars($item->title, ENT_NOQUOTES); ?>" alt="<?php echo htmlspecialchars($item->title, ENT_NOQUOTES); ?>" /><figcaption class="ln"><a class="zoom" href="<?php echo $item->image; ?>" title="<?php echo htmlspecialchars($item->title, ENT_NOQUOTES); ?>" rel="fancybox-project-page"><i class="fa fa-search-plus"></i></a></figcaption></figure></div>
<div class="col-8">
<div class="search-entry-excerpt">
<?php echo $item->getExcerpt($item->content, $numWords); ?>
<p class="text-right"><a class="button small color" href="<?php echo $item->link; ?>" title="<?php echo htmlspecialchars($item->title, ENT_NOQUOTES); ?>"><?php echo htmlspecialchars($item->linktext, ENT_NOQUOTES); ?></a></p>
</div>
</div>
</div>
Code:
<?php get_special_field_image('image', 'title', '480', '320'); ?>
instead
Code:
<img src="<?php echo $item->image; ?>" title="<?php echo htmlspecialchars($item->title, ENT_NOQUOTES); ?>" alt="<?php echo htmlspecialchars($item->title, ENT_NOQUOTES); ?>" />
(2014-08-01, 01:41:11)mvlcek Wrote:(2014-07-31, 17:59:45)Oleg06 Wrote: is it possible to record the tag of the plugin Special Pages in the component for rendering?
Code:<?php get_special_field_image('name', 'title', 'width', 'height'); ?>
I do not understand, what you would like to do.