Created
February 1, 2021 09:27
-
-
Save rohit-ghoghari/6f5e293ff00edb59566fcbf8661661f4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Use below code to show metabox values from anywhere | |
$id = get_the_ID(); | |
$feture_template = get_post_meta($id, 'single_repeter_group', true); | |
if(!empty($feture_template)) { | |
?> | |
<table class="plugin-detail-tabl <?php echo $class; ?>" width="100%" cellspacing="0" cellpadding="0"> | |
<tbody> | |
<?php foreach ($feture_template as $item) { ?> | |
<tr> | |
<td style="width: 30%;"><?php echo $item['title']; ?></td> | |
<td><?php echo $item['tdesc']; ?></td> | |
</tr> | |
<?php } ?> | |
</tbody> | |
</table> | |
<?php | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment