Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter Bhiroe

    (@bhiroe)

    thank you very much, Mr. alchymyth. I’ve got what I wanted.

    Thread Starter Bhiroe

    (@bhiroe)

    Thread Starter Bhiroe

    (@bhiroe)

    thank’s mcjambi
    but I don’t know how to apply on my 404 page, this is my 404 page:

    <div class="hentry post 404">
    	<h1><?php _e('Not Found', 'default'); ?></h1>
    	<div class="entry">
    		<p><?php _e('Apologies, but we were unable to find what you were looking for. Perhaps  searching will help.', 'default'); ?></p>
    
    		<?php get_search_form(); ?>
    
    		<p>&raquo; <a href="<?php bloginfo('url'); ?>"><?php _e('Or go to the homepage', 'default'); ?></a></p>
    	</div>
    </div>
    Forum: Fixing WordPress
    In reply to: Hidden Page
    Thread Starter Bhiroe

    (@bhiroe)

    thanks @ Scott Kingsley Clark,
    but I want to use php script to block the bot, please help me …..

    open your template.php and then replace it with the following code:

    <?php
    /*
    Template Name: Blank Template
    */
    get_header();
    
    if (have_posts()) {
    	while (have_posts()) : the_post(); ?>
    		<div <?php post_class(); ?>>
    			<?php easel_display_post_thumbnail(); ?>
    			<div class="post-head"><?php do_action('easel-post-head'); ?></div>
    			<div class="post-content">
    					<div class="post-text">
    						<?php easel_display_post_title(); ?>
    					</div>
    				<div class="clear"></div>
    				<div class="entry">
    					<?php easel_display_the_content(); ?>
    					<div class="clear"></div>
    				</div>
    				<div class="clear"></div>
    				<?php edit_post_link(__('Edit this page.','easel'), '', ''); ?>
    			</div>
    			<div class="post-foot"><?php do_action('easel-post-foot'); ?></div>
    		</div>
    	<?php endwhile;
    	if ($post->comment_status == 'open') {
    		comments_template('', true);
    	}
    }
    
    get_footer();
    ?>

Viewing 5 replies - 1 through 5 (of 5 total)