summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/wordpress-mobile-pack/frontend/themes/app2/single.php')
-rwxr-xr-xplugins/wordpress-mobile-pack/frontend/themes/app2/single.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/plugins/wordpress-mobile-pack/frontend/themes/app2/single.php b/plugins/wordpress-mobile-pack/frontend/themes/app2/single.php
new file mode 100755
index 00000000..e47b511f
--- /dev/null
+++ b/plugins/wordpress-mobile-pack/frontend/themes/app2/single.php
@@ -0,0 +1,7 @@
+<?php
+
+if (is_numeric(get_the_ID())){
+ header("Location: ".home_url()."/#article/".get_the_ID());
+} else {
+ header("Location: ".home_url());
+}