{"id":20,"date":"2015-06-21T14:10:37","date_gmt":"2015-06-21T06:10:37","guid":{"rendered":"http:\/\/goyuwei.com\/blog\/?p=20"},"modified":"2015-08-02T20:51:42","modified_gmt":"2015-08-02T12:51:42","slug":"journal-2162015","status":"publish","type":"post","link":"https:\/\/goyuwei.com\/blog\/?p=20","title":{"rendered":"Journal &#8211; 21\/06\/2015 &#8211; Some WP Plugins"},"content":{"rendered":"<p>I have my word, write\u00a0diary in English as possible as I can.<\/p>\n<p>After my\u00a0thesis defense this week, I have some\u00a0corrections of my thesis and drawings to finish. Not much work at weekend.So I spent few time to promote the website&#8217;s\u00a0friendliness to\u00a0mobile devices.<\/p>\n<ol>\n<ol>\n<li>Original WP engine has no abstract , and the articles are completely posted in front page. It is wasting\u00a0data stream of\u00a0mobile devices. The problem has been solved by WP plugin &#8220;WP-UTF8-Excerpt&#8221;.<\/li>\n<li>Create a mobile homepage named\u00a0&#8220;index_m.html&#8221;\u00a0. I just made a lightweight \u00a0homepage by deleting images, useless sentences and buttons with\u00a0the\u00a0original homepage&#8221;Volton&#8221;.<\/li>\n<li>How\u00a0&#8220;index_m.html&#8221; works ? I searched a JS jump method :<\/li>\n<\/ol>\n<\/ol>\n<p><code lang=\"\u201djavascript\u201d\"><\/p>\n<p><script type=\"text\/javascript\">\nfunction uaredirect(murl){ \n  try { \n          if(document.getElementById(\"bdmark\") != null){ \n              return; \n          } \n          var urlhash = window.location.hash; \n          if (!urlhash.match(\"fromapp\")){ \n              if ((navigator.userAgent.match(\/(iPhone|iPod|Android|ios|iPad)\/i))) { \n                      location.replace(murl); \n              } \n          } \n      } catch(err){} \n}\n<\/script><br \/>\n<script type=\"text\/javascript\">uaredirect(\"http:\/\/index_m.html\");<\/script><\/p>\n<p><\/code><\/p>\n<p>How to show codes like \u2191 ?\u00a0WP plugin &#8220;CodeColorer&#8221;.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I have my word, write\u00a0diary in English as possible as I &hellip; <a href=\"https:\/\/goyuwei.com\/blog\/?p=20\" class=\"more-link\">\u7ee7\u7eed\u9605\u8bfb<span class=\"screen-reader-text\">Journal &#8211; 21\/06\/2015 &#8211; Some WP Plugins<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"aside","meta":{"footnotes":""},"categories":[4,3],"tags":[],"class_list":["post-20","post","type-post","status-publish","format-aside","hentry","category-journal-","category-site-construction-","post_format-post-format-aside"],"_links":{"self":[{"href":"https:\/\/goyuwei.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/20","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/goyuwei.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/goyuwei.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/goyuwei.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/goyuwei.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=20"}],"version-history":[{"count":0,"href":"https:\/\/goyuwei.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/20\/revisions"}],"wp:attachment":[{"href":"https:\/\/goyuwei.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=20"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/goyuwei.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=20"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/goyuwei.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=20"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}