Exemple #1
0
 * @version    $Id$
 * @package    wpbase
 * @author     WPOpal  Team <wpopal@gmail.com, support@wpopal.com>
 * @copyright  Copyright (C) 2014 wpopal.com. All Rights Reserved.
 * @license    GNU/GPL v2 or later http://www.gnu.org/licenses/gpl-2.0.html
 *
 * @website  http://www.wpopal.com
 * @support  http://www.wpopal.com/support/forum.html
 */
$link_url = array('type' => 'wpo_postconfig', 'format' => 'link_url');
$link_title = array('type' => 'wpo_postconfig', 'format' => 'link_title');
?>

	<?php 
if (wpo_getcontent($link_url)) {
    ?>
	<figure class="entry-thumb">
		<a class="post-link" href="<?php 
    echo esc_url(wpo_getcontent($link_url));
    ?>
" title="<?php 
    echo esc_attr(wpo_getcontent($link_title));
    ?>
">
			<?php 
    echo esc_url(wpo_getcontent($link_url));
    ?>
		</a>
	</figure>
<?php 
}
<?php

/**
 * $Desc
 *
 * @version    $Id$
 * @package    wpbase
 * @author     WPOpal  Team <wpopal@gmail.com, support@wpopal.com>
 * @copyright  Copyright (C) 2014 wpopal.com. All Rights Reserved.
 * @license    GNU/GPL v2 or later http://www.gnu.org/licenses/gpl-2.0.html
 *
 * @website  http://www.wpopal.com
 * @support  http://www.wpopal.com/support/forum.html
 */
$config = array('type' => 'wpo_postconfig', 'format' => 'chat_content');
?>

<div class="entry-thumb alert alert-success">
	<?php 
echo wpo_format_chat_content(wpo_getcontent($config));
?>
</div>
Exemple #3
0
<?php

/**
 * $Desc
 *
 * @version    $Id$
 * @package    wpbase
 * @author     WPOpal  Team <wpopal@gmail.com, support@wpopal.com>
 * @copyright  Copyright (C) 2014 wpopal.com. All Rights Reserved.
 * @license    GNU/GPL v2 or later http://www.gnu.org/licenses/gpl-2.0.html
 *
 * @website  http://www.wpopal.com
 * @support  http://www.wpopal.com/support/forum.html
 */
$quote_content = array('type' => 'wpo_postconfig', 'format' => 'quote_content');
$quote_author = array('type' => 'wpo_postconfig', 'format' => 'quote_author');
?>
<div class="entry-thumb alert alert-success">
	<div class="content-quote">
		"<?php 
echo wpo_getcontent($quote_content);
?>
"
	</div>
	<div class="quote-author">
		<?php 
echo wpo_getcontent($quote_author);
?>
	</div>
</div>