From dbb891a12adefa768aa948623182e57c6e1bb6fa Mon Sep 17 00:00:00 2001 From: Mohamad Fahmi Date: Sun, 14 Sep 2014 23:49:40 +0700 Subject: [PATCH 1/5] Added WMT Verification --- config/config.ini.example | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/config/config.ini.example b/config/config.ini.example index ccef248..824739a 100644 --- a/config/config.ini.example +++ b/config/config.ini.example @@ -32,6 +32,9 @@ fb.color = "light" ; Disqus comments disqus.shortname = "" +; Google Web Master Tool ID verification +google.wmt.id = "" + ; Google+ publisher google.publisher = "" @@ -84,4 +87,4 @@ views.root = "themes/logs" views.counter = "true" ; Framework config. No need to edit. -views.layout = "layout" \ No newline at end of file +views.layout = "layout" From 7372e6c086e9235943215587054dc725b7107031 Mon Sep 17 00:00:00 2001 From: Mohamad Fahmi Date: Sun, 14 Sep 2014 23:52:22 +0700 Subject: [PATCH 2/5] Added WMT Verification --- system/includes/functions.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/system/includes/functions.php b/system/includes/functions.php index 4a4a58e..447774e 100644 --- a/system/includes/functions.php +++ b/system/includes/functions.php @@ -969,6 +969,15 @@ EOF; } } +// Google Web Master Tool +function wmt(){ + $wmt_id = config('google.wmt.id'); + $meta_wmt = ''; + if (!empty($wmt_id)) { + return $meta_wmt; + } +} + // Google Publisher (Google+ page). function publisher() { $publisher = config('google.publisher'); From c19e28aee3b79c9ce0029b47fee3e9721512a8ff Mon Sep 17 00:00:00 2001 From: Mohamad Fahmi Date: Sun, 14 Sep 2014 23:54:00 +0700 Subject: [PATCH 3/5] Added WMT Verification --- themes/clean/layout.html.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/themes/clean/layout.html.php b/themes/clean/layout.html.php index 68f9238..e666464 100644 --- a/themes/clean/layout.html.php +++ b/themes/clean/layout.html.php @@ -5,6 +5,7 @@ + @@ -36,4 +37,4 @@ - \ No newline at end of file + From 9839d8c4340fff01b2a7995084f46c41206e3d4e Mon Sep 17 00:00:00 2001 From: Mohamad Fahmi Date: Sun, 14 Sep 2014 23:54:24 +0700 Subject: [PATCH 4/5] Added WMT Verification --- themes/default/layout.html.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/themes/default/layout.html.php b/themes/default/layout.html.php index 7d93016..0d78765 100644 --- a/themes/default/layout.html.php +++ b/themes/default/layout.html.php @@ -5,6 +5,7 @@ + @@ -61,4 +62,4 @@ - \ No newline at end of file + From e40b5848e41e824b5c3e919cb301f0d7a7ad7a37 Mon Sep 17 00:00:00 2001 From: Mohamad Fahmi Date: Sun, 14 Sep 2014 23:54:53 +0700 Subject: [PATCH 5/5] Added WMT Verification --- themes/logs/layout.html.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/themes/logs/layout.html.php b/themes/logs/layout.html.php index 6a0135f..a44a029 100644 --- a/themes/logs/layout.html.php +++ b/themes/logs/layout.html.php @@ -5,6 +5,7 @@ + @@ -71,4 +72,4 @@ - \ No newline at end of file +