🚀 Advanced Web Server Manager
Complete File Manager & Terminal - Standalone Version
By Sid Gifari | Gifari Industries
Current path:
/
/
home
/
users
/
2
/
fujibow
/
web
/
fujibow.co.jp
/
wp
/
wp-content
/
themes
/
wp-theme
✏️
Editing: page.php
<?php $nearest = null; global $cat_root_id; global $cat_root_slug; global $cat_root_title; if (have_posts()){ while (have_posts()){ the_post(); $pt = get_the_title(); $cat = get_the_category(); foreach($cat as $c){ if($c->category_parent == 0){ $nearest = $c; break; } } } } $page = get_page(get_the_ID()); $slug = $page->post_name; get_header(); ?> <div id="contents"> <?php if (have_posts()): while (have_posts()): the_post(); remove_filter('the_content', 'wpautop'); $title = get_the_title(); ?> <?php the_content();?> <?php endwhile; ?> <?php endif; ?> </div> <?php get_footer(); ?>
💾 Save Changes
❌ Cancel