I am trying to retrieve a data from Theme Option using Multi check, but the checked data values is not showing. Here is the code below:

<?php $fav_multicheck = of_get_option('favourite_multicheck', 'none');
foreach ( $fav_multicheck as $key => $value ) {
if ($value == 1) {
global $post;
$post = get_page_by_title ($key, OBJECT, 'bingo-site');
setup_postdata($post); ?>
<li><?php echo get_the_title($post->ID);?></li>
<?php }
} ?>

The title is not showing.

Thanks

Read more here: How to display Multi check values from Theme Options


Solution:

If you know the solution of this issue, please leave us a reply in Comment section, to update the question.


Wordpress related questions and answers: