{"id":158,"date":"2017-12-04T07:51:35","date_gmt":"2017-12-04T07:51:35","guid":{"rendered":"https:\/\/www.frcss.edu.hk\/web\/?page_id=158"},"modified":"2018-11-27T09:49:18","modified_gmt":"2018-11-27T01:49:18","slug":"%e6%a0%a1%e5%9c%92%e7%9b%b8%e7%b0%bf","status":"publish","type":"page","link":"https:\/\/www.frcss.edu.hk\/?page_id=158&lang=zh","title":{"rendered":"\u6821\u5712\u76f8\u7c3f"},"content":{"rendered":"<p>This page display current year Gallery Group (e.g. 2018\/19)<\/p>\n<p>\uff03 daily update<br \/>\nhttps:\/\/www.frcss.edu.hk\/store\/up_photo\/<\/p>\n<p>\uff03 new gallery for a new school year<br \/>\n1) add subpage for current year under \u6821\u5712\u76f8\u7c3f<br \/>\nParent Page: \u6821\u5712\u76f8\u7c3f<br \/>\n\u2014 \u2014 2018\/19\u5e74\u5ea6<\/p>\n<p>2) add Photo Gallery to page \u2014 \u2014 2018\/19\u5e74\u5ea6<br \/>\nselect Gallery Group -&gt; 2018 -&gt; confirm<br \/>\nsome code appear on the page:<br \/>\n\u300cBest_Wordpress_Gallery id=<span style=\"color: #ff6600;\">&#8220;90&#8221;<\/span> gal_title=&#8221;2018&#8243;\u300d<\/p>\n<p>check that id is <span style=\"color: #ff6600;\">&#8220;90&#8221;<\/span><\/p>\n<p>3) use LCW2&#8242; album option, phpMyadmin<br \/>\nhere store the option for 2017\/18<br \/>\nSELECT `tagtext` FROM `fw_bwg_shortcode` WHERE id =23<br \/>\n&gt; gallery_type=&#8221;album_compact_preview&#8221; theme_id=&#8221;1&#8243; use_option_defaults=&#8221;0&#8243; <span style=\"color: #ff0000;\">album_id=&#8221;1&#8243; &#8230;<br \/>\n<\/span><\/p>\n<p><span style=\"color: #ff0000;\">album_id=&#8221;1&#8243;<\/span> is album id of 2017\/18, check from <code class=\"sql\"><span class=\"cm-variable-2\">`fw_bwg_album`<\/span><\/code>, find 2018\/19&#8217;s album id<\/p>\n<div class=\"sql-highlight cm-s-default\"><span class=\"cm-keyword\">\u00a0 SELECT<\/span>\u00a0 id <span class=\"cm-keyword\">FROM<\/span> <span class=\"cm-variable-2\">`fw_bwg_album`<\/span> <span class=\"cm-keyword\">WHERE<\/span> <span class=\"cm-variable-2\">`name`<\/span> <span class=\"cm-keyword\">LIKE<\/span> <span class=\"cm-string\">&#8216;2018&#8217;<\/span> <span class=\"cm-keyword\">AND<\/span> <span class=\"cm-variable-2\">`slug`<\/span> <span class=\"cm-keyword\">LIKE<\/span> <span class=\"cm-string\">&#8216;2018&#8217;<\/span> <span class=\"cm-keyword\">ORDER<\/span> <span class=\"cm-keyword\">BY<\/span> <span class=\"cm-variable-2\">`id`<\/span> <span class=\"cm-keyword\">DESC<\/span> <code class=\"sql\"><\/code><\/div>\n<div>\u00a0\u00a0 &gt; <span style=\"color: #ff00ff;\">16<\/span><\/div>\n<p>change <span style=\"color: #ff00ff;\">album-id to 16<\/span><\/p>\n<p>UPDATE `fw_bwg_shortcode` SET `tagtext`= &#8220;gallery_type=&#8221;album_compact_preview&#8221; theme_id=&#8221;1&#8243; use_option_defaults=&#8221;0&#8243;<span style=\"color: #ff00ff;\"> album_id=&#8221;16&#8243;<\/span> &#8230;&#8221; WHERE `id`=<span style=\"color: #ff6600;\">&#8220;90&#8221;<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This page display current year Gallery Group (e.g. 2018\/19) \uff03 daily update https:\/\/www.frcss.edu.hk\/store\/up_photo\/ \uff03 new gallery for a new school year 1) add subpage for current year under \u6821\u5712\u76f8\u7c3f Parent Page: \u6821\u5712\u76f8\u7c3f \u2014 \u2014 2018\/19\u5e74\u5ea6 2) add Photo Gallery to page \u2014 \u2014 2018\/19\u5e74\u5ea6 select Gallery Group -&gt; 2018 -&gt; confirm some code appear on [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":394,"parent":33,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":[],"_links":{"self":[{"href":"https:\/\/www.frcss.edu.hk\/index.php?rest_route=\/wp\/v2\/pages\/158"}],"collection":[{"href":"https:\/\/www.frcss.edu.hk\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.frcss.edu.hk\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.frcss.edu.hk\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.frcss.edu.hk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=158"}],"version-history":[{"count":25,"href":"https:\/\/www.frcss.edu.hk\/index.php?rest_route=\/wp\/v2\/pages\/158\/revisions"}],"predecessor-version":[{"id":1705,"href":"https:\/\/www.frcss.edu.hk\/index.php?rest_route=\/wp\/v2\/pages\/158\/revisions\/1705"}],"up":[{"embeddable":true,"href":"https:\/\/www.frcss.edu.hk\/index.php?rest_route=\/wp\/v2\/pages\/33"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.frcss.edu.hk\/index.php?rest_route=\/wp\/v2\/media\/394"}],"wp:attachment":[{"href":"https:\/\/www.frcss.edu.hk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=158"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}