• Resolved greyflash

    (@greyflash)


    Hi. I have problem with display other pages on main page.
    I wrote two codes for this.

    <div class="three-features">
    	<div class="container section-padding">
    		<?php
            $id = 28;
    		$tf_content = get_page($id);
            echo apply_filters('the_content', $tf_content->post_content);
    		?>
    	</div>
    </div>
    <div class="product-advantages darker-bg">
    	<div class="container section-padding">
    		<?php
    		$pa_content = get_post_field('post_content', 43);
    		$pa_content = apply_filters('the_content', $pa_content);
    		echo $pa_content;
    		?>
    	</div>
    </div>

    In the main WordPress editor all be good, but if i create content in Unyson, content doesn’t display.

    Regards.

    https://wordpress.org/plugins/unyson/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘Problem with display pages’ is closed to new replies.