</a> <?php 
    echo $trashedCount;
    ?>
)</span>
			 |
		</li>
		<?php 
}
?>

		<?php 
if (!$this->post_type_repo->hideDefault($this->post_type->name)) {
    ?>
		<li>
			<a href="<?php 
    echo NestedPages\Helpers::defaultPagesLink($this->post_type->name);
    ?>
">
				<?php 
    _e('Default');
    ?>
 <?php 
    _e($this->post_type->labels->name);
    ?>
			</a>
		</li>
		<?php 
}
?>
	</ul>
Example #2
0
include NestedPages\Helpers::view('forms/quickedit-post');
?>
		</div>

		<?php 
if (current_user_can('publish_pages')) {
    ?>
		<div class="quick-edit quick-edit-form-redirect np-inline-modal" style="display:none;">
			<?php 
    include NestedPages\Helpers::view('forms/quickedit-link');
    ?>
		</div>

		<div class="new-child new-child-form np-inline-modal" style="display:none;">
			<?php 
    include NestedPages\Helpers::view('forms/new-child');
    ?>
		</div>
		<?php 
}
?>
	</div>

</div><!-- .wrap -->

<?php 
include NestedPages\Helpers::view('forms/empty-trash-modal');
include NestedPages\Helpers::view('forms/clone-form');
include NestedPages\Helpers::view('forms/link-form');
include NestedPages\Helpers::view('forms/bulk-add');
Example #3
0
?>
		</div>

		<?php 
if (current_user_can('publish_pages')) {
    ?>
		<div class="quick-edit quick-edit-form-redirect np-inline-modal" style="display:none;">
			<?php 
    include NestedPages\Helpers::view('forms/quickedit-link');
    ?>
		</div>

		<div class="new-child new-child-form np-inline-modal" style="display:none;">
			<?php 
    include NestedPages\Helpers::view('forms/new-child');
    ?>
		</div>
		<?php 
}
?>
	</div>

</div><!-- .wrap -->

<?php 
include NestedPages\Helpers::view('forms/empty-trash-modal');
include NestedPages\Helpers::view('forms/clone-form');
include NestedPages\Helpers::view('forms/link-form');
include NestedPages\Helpers::view('forms/bulk-add');
include NestedPages\Helpers::view('forms/delete-confirmation-modal');
Example #4
0
			<a href="#" 
				class="np-btn np-quick-edit-redirect" 
				data-id="<?php 
echo $this->post->id;
?>
" 
				data-parentid="<?php 
echo $this->post->parent_id;
?>
"
				data-title="<?php 
echo $this->post->title;
?>
" 
				data-url="<?php 
echo NestedPages\Helpers::check_url($this->post->content);
?>
"
				data-status="<?php 
echo $this->post->status;
?>
" 
				data-np-status="<?php 
echo $this->post->np_status;
?>
"
				data-navstatus="<?php 
echo $this->post->nav_status;
?>
"
				data-navtitleattr="<?php 
Example #5
0
?>
		</a>
		<?php 
if (count($this->getPostTypes()) > 0) {
    ?>
		<a class="nav-tab <?php 
    if ($tab == 'posttypes') {
        echo 'nav-tab-active';
    }
    ?>
" href="options-general.php?page=nested-pages-settings&tab=posttypes">
			<?php 
    _e('Post Types', 'nestedpages');
    ?>
		</a>
		<?php 
}
?>
	</h2>

	<form method="post" enctype="multipart/form-data" action="options.php">
		<table class="form-table">
			<?php 
include NestedPages\Helpers::view('settings/settings-' . $tab);
?>
		</table>
		<?php 
submit_button();
?>
	</form>
</div><!-- .wrap -->