سلام من هم همین مشکل رو دارم کد های بالا رو جاایگزین کردم درست نشد
این آدرس سایت هست safirsang.ir از منوی بالا میتونید برگه ها رو ببینید
اینم سورس page.php
<?php
/**
* The template for displaying all pages.
*
* This is the template that displays all pages by default.
* Please note that this is the WordPress construct of pages
* and that other 'pages' on your WordPress site may use a
* different template.
*
*
*/
get_header(); ?>
<?php
$content_class = '';
$sidebar_class = '';
if(get_post_meta(get_the_ID(), 'rebuild_sidebar', true) == 'no-sidebar') {
$conten