{"id":3738,"date":"2019-09-10T18:20:30","date_gmt":"2019-09-10T22:20:30","guid":{"rendered":"https:\/\/courses.ideate.cmu.edu\/16-223\/f2021\/work\/?page_id=3738"},"modified":"2019-09-10T18:28:30","modified_gmt":"2019-09-10T22:28:30","slug":"site-help","status":"publish","type":"page","link":"https:\/\/courses.ideate.cmu.edu\/16-223\/f2021\/work\/site-help\/","title":{"rendered":"Site Help"},"content":{"rendered":"\n<p>This WordPress site has been configured with features to ease documenting student projects. The following guide may help you in formatting your posts.<\/p>\n\n\n\n<div id=\"toc_container\" class=\"no_bullets\"><p class=\"toc_title\">Contents<\/p><ul class=\"toc_list\"><li><a href=\"#Accounts\"><span class=\"toc_number toc_depth_1\">1<\/span> Accounts<\/a><\/li><li><a href=\"#Privacy\"><span class=\"toc_number toc_depth_1\">2<\/span> Privacy<\/a><\/li><li><a href=\"#Embedding_Video\"><span class=\"toc_number toc_depth_1\">3<\/span> Embedding Video<\/a><\/li><li><a href=\"#Program_Code\"><span class=\"toc_number toc_depth_1\">4<\/span> Program Code<\/a><\/li><li><a href=\"#Math_Notation\"><span class=\"toc_number toc_depth_1\">5<\/span>  Math Notation<\/a><\/li><\/ul><\/div>\n<h2><span id=\"Accounts\">Accounts<\/span><\/h2>\n\n\n\n<p>Students may log into the site using an Andrew ID and password. The account username will be an Andrew email address, but you may set your nickname to whatever you like. You may also prefer to set an avatar image which will appear on the <a href=\"https:\/\/courses.ideate.cmu.edu\/16-223\/f2017\/students\/student-list\/\">Student List<\/a> page and help identify you to your peers. <\/p>\n\n\n\n<h2><span id=\"Privacy\">Privacy<\/span><\/h2>\n\n\n\n<p>The site allows setting the visibility of each post. While editing the post, enable or look for the &#8216;Content Permissions&#8217; settings. By default, each post is world-readable. Selecting &#8216;Student&#8217; or &#8216;Instructor&#8217; will limit visibility of the post to the specified group.<\/p>\n\n\n\n<h2><span id=\"Embedding_Video\">Embedding Video<\/span><\/h2>\n\n\n\n<p>The preferred method for presenting a video in your post is as an embedded viewer so users can just watch it directly within the text. Videos can be added to your post either as an uploaded file or as a reference to a third-party site site such as YouTube or Vimeo. A detailed reference on this can be found in the <a href=\"https:\/\/wordpress.org\/support\/article\/embeds\/\">WordPress documentation on embedding.<\/a><\/p>\n\n\n\n<p>A few specific hints:<\/p>\n\n\n\n<ol><li>Use &#8216;Standard&#8217; for your Post Type. The &#8216;Video&#8217; type doesn&#8217;t appear properly in this theme.<\/li><li>WordPress can automatically create an embed for you from the URL if it properly recognizes the URL. If this fails, follow the examples below.<\/li><\/ol>\n\n\n\n<p>A typical YouTube embed can be created just by pasting the URL into a new block:<\/p>\n\n\n\n<figure class=\"wp-block-embed-youtube wp-block-embed is-type-video is-provider-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"Rick Astley - Never Gonna Give You Up (Video)\" width=\"620\" height=\"349\" src=\"https:\/\/www.youtube.com\/embed\/dQw4w9WgXcQ?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<p>Locally hosted videos should be in .mp4 format and smaller than 16MB.  They can be embedded in a &#8216;Video&#8217; block type:<\/p>\n\n\n\n<figure class=\"wp-block-video\"><video controls src=\"https:\/\/courses.ideate.cmu.edu\/16-223\/f2021\/work\/wp-content\/uploads\/2019\/09\/P1040109-trimmed-720p.mp4\"><\/video><\/figure>\n\n\n\n<h2><span id=\"Program_Code\">Program Code<\/span><\/h2>\n\n\n\n<p>This site includes the <a href=\"https:\/\/wordpress.org\/plugins\/syntaxhighlighter\/\">SyntaxHighlighter Evolved<\/a> plug-in which provides a  &#8220;SyntaxHighlighter Code&#8221; block type for embedding code.  For Arduino sketches, please set the &#8220;Code Language&#8221; to &#8220;C\/C++&#8221; in the block properties.<\/p>\n\n\n<pre class=\"brush: cpp; title: ; notranslate\" title=\"\">\nvoid setup(void) {\n  \/\/ initialize digital pin 13 as an output. \n  pinMode(13, OUTPUT);\n}\n\n<\/pre>\n\n\n<h2><span id=\"Math_Notation\"> Math Notation<\/span><\/h2>\n\n\n\n<p>This site includes the <a href=\"https:\/\/wordpress.org\/plugins\/mathjax-latex\/\">MathJax-LaTeX<\/a> plug-in, so math can be formatted using LaTeX notation within shortcodes in normal text blocks.<\/p>\n\n\n\n<p>A few equation examples:<\/p>\n\n\n\\(E=mc^2\\)\n\n\n\n<p>\\(F=Ma\\)<br>\\(V=iR\\)\n<\/p>\n\n\n\n<p>These were produced using the following shortcodes and notation:<\/p>\n\n\n\n<p>[latex]E=mc^2[\/latex]<br>[latex]F=Ma[\/latex]<br>[latex]V=iR[\/latex]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This WordPress site has been configured with features to ease documenting student projects. The following guide may help you in formatting your posts. Contents1 Accounts2 Privacy3 Embedding Video4&#8230;<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":[],"_links":{"self":[{"href":"https:\/\/courses.ideate.cmu.edu\/16-223\/f2021\/work\/wp-json\/wp\/v2\/pages\/3738"}],"collection":[{"href":"https:\/\/courses.ideate.cmu.edu\/16-223\/f2021\/work\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/courses.ideate.cmu.edu\/16-223\/f2021\/work\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/courses.ideate.cmu.edu\/16-223\/f2021\/work\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/courses.ideate.cmu.edu\/16-223\/f2021\/work\/wp-json\/wp\/v2\/comments?post=3738"}],"version-history":[{"count":6,"href":"https:\/\/courses.ideate.cmu.edu\/16-223\/f2021\/work\/wp-json\/wp\/v2\/pages\/3738\/revisions"}],"predecessor-version":[{"id":3748,"href":"https:\/\/courses.ideate.cmu.edu\/16-223\/f2021\/work\/wp-json\/wp\/v2\/pages\/3738\/revisions\/3748"}],"wp:attachment":[{"href":"https:\/\/courses.ideate.cmu.edu\/16-223\/f2021\/work\/wp-json\/wp\/v2\/media?parent=3738"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}