403Webshell
Server IP : 185.11.201.71  /  Your IP : 192.168.7.18
Web Server : Apache/2.4.29 (Ubuntu)
System : Linux tech-virtual-machine 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64
User : tech ( 1000)
PHP Version : 7.4.28
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
MySQL : OFF  |  cURL : OFF  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/html/wordpress/wp-content/plugins/editorplus/page-template/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/wordpress/wp-content/plugins/editorplus/page-template/editorplus-template.php
<?php
/*
 * Template Name: Editor Plus Template
 * Template Post Type: post, page
*/

global $post;

$editorplus_post_options = get_post_meta( $post->ID, 'editor_plus_post_options', true );
$disable_page_header     = false;
$disable_page_footer     = false;
$disable_page_title      = false;

$editorplus_decoded_options = json_decode( $editorplus_post_options );

if ( $editorplus_decoded_options->disableHeader ?? false ) {
	$disable_page_header = true;
}

if ( $editorplus_decoded_options->disableFooter ?? false ) {
	$disable_page_footer = true;
}

if ( $editorplus_decoded_options->disableTitle ?? false ) {
	$disable_page_title = true;
}

$disable_page_header ? wp_head() : get_header();
?>

<body <?php body_class(); ?>>
	<div class="ep-temp-container ep-container">
		<?php if ( $disable_page_title === false ) : ?>

		<div class="ep-temp-entry-header">
			<h1 class="ep-temp-entry-title"><?php the_title(); ?></h1>
		</div>

		<?php endif; ?>

		<div class="ep-temp-entry-content">
			<?php

			if ( have_posts() ) {

				while ( have_posts() ) {
					the_post();
					the_content();
				}
			}
			?>

		</div>


	</div><!-- #site-content -->
	<style>
	@media(min-width: 700px) {
			.ep-temp-container [class*=extendify-] [class*=wp-block] > * {
				margin-top: 0px;
			}
			.ep-temp-container [class*=wp-block] > * .wp-block-button__link {
				border-radius: 0px;
			}
			.ep-temp-container .wp-block-image:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.aligncenter) {
				margin-top:0px;
			}
			html, body {
				font-size: 16px !important;
			}
			.ep-temp-container {
				margin-left: auto;
				margin-right: auto;
				min-width: 1280px;
			}
			.ep-temp-container .alignfull {
				min-width: 1280px !important;
			}
		}
	</style>
	<?php $disable_page_footer ? wp_footer() : get_footer(); ?>

Youez - 2016 - github.com/yon3zu
LinuXploit