Created
December 26, 2016 12:22
-
-
Save mwordpress/9b0a79615afc45f72a3518eb6ae1faec to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
Template Name: Redirect Page | |
*/ | |
$url = $_GET['url']; | |
include 'header2.php'; | |
?> | |
<div class="content"> | |
<?php if ( have_posts() ) : ?> | |
<div class="box-shadow"> | |
<?php while ( have_posts() ) : the_post(); ?> | |
<div class="post-entry hentry"> | |
<h1 class="entry-title"> | |
<a href="<?php the_permalink(); ?>" rel="bookmark" title="<?php the_title(); ?>"> | |
<?php the_title(); ?> | |
</a> | |
</h1> | |
<div class="entry-single entry-content"> | |
<?php the_content(); ?> | |
<p style="text-align:center">نحن لسنا مسؤولين عن محتوى هذه الصفحة. إذا لم يتم إعادة توجيهك تلقائيا ، الرجاء انقر <a href="<?php echo $url; ?>">هنا</a></p> | |
</div> | |
</div> | |
<?php endwhile; ?> | |
</div> | |
<?php else : ?> | |
<?php endif; ?> | |
</div> | |
<?php get_footer(); ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment