{"id":1856,"date":"2020-03-15T21:54:52","date_gmt":"2020-03-16T01:54:52","guid":{"rendered":"http:\/\/newmediaproduction.mynmi.net\/?page_id=1856"},"modified":"2025-05-15T18:50:31","modified_gmt":"2025-05-15T18:50:31","slug":"wordpress-playground","status":"publish","type":"page","link":"https:\/\/nmi.cool\/webdev\/wordpress-playground\/","title":{"rendered":"WordPress Playground"},"content":{"rendered":"\n<figure class=\"wp-block-image aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1600\" height=\"2000\" src=\"https:\/\/nmi.cool\/newmediaproduction\/wp-content\/uploads\/sites\/14\/2020\/03\/thierry-lemaitre-DCTz78QCY24-unsplash-scaled-e1584323774580.jpg\" alt=\"\" class=\"wp-image-1923\" srcset=\"https:\/\/nmi.cool\/webdev\/wp-content\/uploads\/sites\/14\/2020\/03\/thierry-lemaitre-DCTz78QCY24-unsplash-scaled-e1584323774580.jpg 1600w, https:\/\/nmi.cool\/webdev\/wp-content\/uploads\/sites\/14\/2020\/03\/thierry-lemaitre-DCTz78QCY24-unsplash-scaled-e1584323774580-240x300.jpg 240w, https:\/\/nmi.cool\/webdev\/wp-content\/uploads\/sites\/14\/2020\/03\/thierry-lemaitre-DCTz78QCY24-unsplash-scaled-e1584323774580-819x1024.jpg 819w, https:\/\/nmi.cool\/webdev\/wp-content\/uploads\/sites\/14\/2020\/03\/thierry-lemaitre-DCTz78QCY24-unsplash-scaled-e1584323774580-768x960.jpg 768w, https:\/\/nmi.cool\/webdev\/wp-content\/uploads\/sites\/14\/2020\/03\/thierry-lemaitre-DCTz78QCY24-unsplash-scaled-e1584323774580-1229x1536.jpg 1229w\" sizes=\"auto, (max-width: 1600px) 100vw, 1600px\" \/><\/figure>\n\n\n\n<p>As you dig into WordPress you&#8217;ll find that there&#8217;s a lot to explore! This exercise is designed to provide you with an introductory tour of WordPress as a spring board for your own discovery. <\/p>\n\n\n\n<p>Throughout the semester we&#8217;ve stressed that the best way to get familiar with new technology is to play around with it.  WordPress is no exception! Follow along with the steps below, but feel free to detour to do some exploring on your own. <\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Before we get started&#8230;<\/h2>\n\n\n\n<p>Before we jump into our WordPress Playground exercise, make sure you&#8217;ve spent some time reading our <a href=\"http:\/\/nmi.cool\/webdev\/intro-to-wordpress\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>Intro to WordPress<\/strong><\/a> lesson. This will help you get the lay of the land before your dig in. <\/p>\n\n\n\n<p>Next, you&#8217;ll need to make sure that you&#8217;ve completed the <a href=\"http:\/\/nmi.cool\/webdev\/wordpress-starter-steps\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>WordPress Starter<\/strong> <strong>Steps<\/strong><\/a> lesson. This will walk you through installing WordPress on your server and is a necessary first step! <\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Your WordPress dashboard<\/h2>\n\n\n\n<p>All right! The first thing we are going to do is log in to our WordPress account. To do that, you&#8217;ll simply type the URL of your WordPress installation in a Google Chrome browsers window and enter <code>wp-admin<\/code> at the end. Here&#8217;s an example: <\/p>\n\n\n\n<p class=\"has-text-align-center\"><code>www.YourDomain.com\/playground\/<strong>wp-admin<\/strong><\/code><\/p>\n\n\n\n<p>Keep in mind that your WordPress installation might be installed in a <strong>slightly different location<\/strong> depending on what directory you used during the WordPress Starter Steps. If you&#8217;re really stuck here and can&#8217;t remember where you installed WordPress, you can log in to your cPanel on Reclaim Hosting, click the WordPress icon, and then click &#8220;My Applications&#8221; in the Installatron view. That will take you to a page with both the URL of your WordPress install and a the URL of your admin page. Click the link with <code>wp-admin<\/code> at the end to access your dashboard. <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"709\" height=\"274\" src=\"https:\/\/nmi.cool\/newmediaproduction\/wp-content\/uploads\/sites\/14\/2020\/03\/Screen-Shot-2020-03-11-at-3.02.19-PM.png\" alt=\"\" class=\"wp-image-1866\" srcset=\"https:\/\/nmi.cool\/webdev\/wp-content\/uploads\/sites\/14\/2020\/03\/Screen-Shot-2020-03-11-at-3.02.19-PM.png 709w, https:\/\/nmi.cool\/webdev\/wp-content\/uploads\/sites\/14\/2020\/03\/Screen-Shot-2020-03-11-at-3.02.19-PM-300x116.png 300w\" sizes=\"auto, (max-width: 709px) 100vw, 709px\" \/><figcaption class=\"wp-element-caption\">The URL for your WordPress installation and the URL to the admin dashboard (indicated by &#8220;wp-admin.&#8221;<\/figcaption><\/figure>\n\n\n\n<p>Okay, now that you have navigated to your WordPress dashboard, we want to point out a couple of handy things. <\/p>\n\n\n\n<p>The first is the black bar that stretches across the top of your screen. When you see this bar you know you&#8217;re logged in. The second in the dashboard menu along the left side of the screen. We&#8217;ll want to fully explore that menu, but right now we&#8217;re going to concentrate on the link for &#8220;Pages.&#8221;  <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1445\" height=\"1023\" src=\"https:\/\/nmi.cool\/newmediaproduction\/wp-content\/uploads\/sites\/14\/2020\/03\/Screen-Shot-2020-03-11-at-3.27.46-PM.png\" alt=\"\" class=\"wp-image-1867\" srcset=\"https:\/\/nmi.cool\/webdev\/wp-content\/uploads\/sites\/14\/2020\/03\/Screen-Shot-2020-03-11-at-3.27.46-PM.png 1445w, https:\/\/nmi.cool\/webdev\/wp-content\/uploads\/sites\/14\/2020\/03\/Screen-Shot-2020-03-11-at-3.27.46-PM-300x212.png 300w, https:\/\/nmi.cool\/webdev\/wp-content\/uploads\/sites\/14\/2020\/03\/Screen-Shot-2020-03-11-at-3.27.46-PM-1024x725.png 1024w, https:\/\/nmi.cool\/webdev\/wp-content\/uploads\/sites\/14\/2020\/03\/Screen-Shot-2020-03-11-at-3.27.46-PM-768x544.png 768w\" sizes=\"auto, (max-width: 1445px) 100vw, 1445px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Exploring your home page<\/h2>\n\n\n\n<p>Click on the Pages link on the left side of your dashboard menu. When you completed the <a href=\"http:\/\/nmi.cool\/webdev\/wordpress-starter-steps#cleaningWP\" target=\"_blank\" rel=\"noreferrer noopener\">WordPress Starter Steps<\/a> you created two new pages: a Home page, and a Blog page.<a href=\"#footnote-1-1856\" id=\"note-1-1856\" rel=\"footnote\">1<\/a><\/p>\n\n\n\n<p>Hover over the Home page and click &#8220;Edit.&#8221;<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1440\" height=\"1030\" src=\"https:\/\/nmi.cool\/newmediaproduction\/wp-content\/uploads\/sites\/14\/2020\/03\/Screen-Shot-2020-03-12-at-1.54.54-PM.png\" alt=\"Screen shot of the WordPress Page Editor.\" class=\"wp-image-1883\" srcset=\"https:\/\/nmi.cool\/webdev\/wp-content\/uploads\/sites\/14\/2020\/03\/Screen-Shot-2020-03-12-at-1.54.54-PM.png 1440w, https:\/\/nmi.cool\/webdev\/wp-content\/uploads\/sites\/14\/2020\/03\/Screen-Shot-2020-03-12-at-1.54.54-PM-300x215.png 300w, https:\/\/nmi.cool\/webdev\/wp-content\/uploads\/sites\/14\/2020\/03\/Screen-Shot-2020-03-12-at-1.54.54-PM-1024x732.png 1024w, https:\/\/nmi.cool\/webdev\/wp-content\/uploads\/sites\/14\/2020\/03\/Screen-Shot-2020-03-12-at-1.54.54-PM-768x549.png 768w\" sizes=\"auto, (max-width: 1440px) 100vw, 1440px\" \/><figcaption class=\"wp-element-caption\">Hover over the home page and then click &#8220;Edit.&#8221;<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"989\" height=\"449\" src=\"https:\/\/nmi.cool\/webdev\/wp-content\/uploads\/sites\/14\/2021\/06\/Screen-Shot-2021-06-22-at-10.41.00-PM.png\" alt=\"\" class=\"wp-image-2872\" srcset=\"https:\/\/nmi.cool\/webdev\/wp-content\/uploads\/sites\/14\/2021\/06\/Screen-Shot-2021-06-22-at-10.41.00-PM.png 989w, https:\/\/nmi.cool\/webdev\/wp-content\/uploads\/sites\/14\/2021\/06\/Screen-Shot-2021-06-22-at-10.41.00-PM-300x136.png 300w, https:\/\/nmi.cool\/webdev\/wp-content\/uploads\/sites\/14\/2021\/06\/Screen-Shot-2021-06-22-at-10.41.00-PM-768x349.png 768w\" sizes=\"auto, (max-width: 989px) 100vw, 989px\" \/><\/figure>\n\n\n\n<p>A few things to note at this point! If we right click the three dots at the top right of the screen we will have the option to uncheck &#8220;Fullscreen mode,&#8221; which will allow us to see the menu while we work. If you click &#8220;<strong>View Page<\/strong>&#8221; and open it in a new tab, we&#8217;ll get a live view of what the page will look like to an outside user. <\/p>\n\n\n\n<p>To see any changes we&#8217;ll need to make sure to <strong>publish\/update the page <\/strong>we are editing and then <strong>refresh<\/strong> the live page. It&#8217;s handy to have both the editable page and the live page open at the same time so you can check your progress. <a href=\"#footnote-2-1856\" id=\"note-2-1856\" rel=\"footnote\">2<\/a> <\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"993\" height=\"764\" src=\"https:\/\/nmi.cool\/webdev\/wp-content\/uploads\/sites\/14\/2021\/06\/Screen-Shot-2021-06-22-at-10.45.14-PM.png\" alt=\"\" class=\"wp-image-2873\" srcset=\"https:\/\/nmi.cool\/webdev\/wp-content\/uploads\/sites\/14\/2021\/06\/Screen-Shot-2021-06-22-at-10.45.14-PM.png 993w, https:\/\/nmi.cool\/webdev\/wp-content\/uploads\/sites\/14\/2021\/06\/Screen-Shot-2021-06-22-at-10.45.14-PM-300x231.png 300w, https:\/\/nmi.cool\/webdev\/wp-content\/uploads\/sites\/14\/2021\/06\/Screen-Shot-2021-06-22-at-10.45.14-PM-768x591.png 768w\" sizes=\"auto, (max-width: 993px) 100vw, 993px\" \/><figcaption class=\"wp-element-caption\">You can view a live version of your page by clicking &#8220;View Page.&#8221;<\/figcaption><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Block Editor<\/h2>\n\n\n\n<p>Okay, now we&#8217;re going to play around with WordPress&#8217;s block editor. You can (and should!) <a href=\"http:\/\/nmi.cool\/webdev\/block-editor\/\" target=\"_blank\" rel=\"noreferrer noopener\">read more about the block editor<\/a> here, but for now, it&#8217;s enough to know that we can add all sorts of content to our WordPress page using blocks. <\/p>\n\n\n\n<p>Go ahead and type some text into the first block (right where it says &#8220;Start writing or type \/ to choose a block&#8221;). When you start typing, you should see some options pop up at the top of the text box, like this:<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"553\" height=\"348\" src=\"https:\/\/nmi.cool\/webdev\/wp-content\/uploads\/sites\/14\/2021\/06\/Screen-Shot-2021-06-22-at-10.51.17-PM.png\" alt=\"\" class=\"wp-image-2874\" style=\"width:620px;height:auto\" srcset=\"https:\/\/nmi.cool\/webdev\/wp-content\/uploads\/sites\/14\/2021\/06\/Screen-Shot-2021-06-22-at-10.51.17-PM.png 553w, https:\/\/nmi.cool\/webdev\/wp-content\/uploads\/sites\/14\/2021\/06\/Screen-Shot-2021-06-22-at-10.51.17-PM-300x189.png 300w\" sizes=\"auto, (max-width: 553px) 100vw, 553px\" \/><\/figure>\n\n\n\n<p>Notice that symbol that looks like a fancy backwards &#8220;P&#8221;? That symbol is actually called a <a rel=\"noreferrer noopener\" aria-label=\"pilcrow (opens in a new tab)\" href=\"https:\/\/en.wikipedia.org\/wiki\/Pilcrow\" target=\"_blank\">pilcrow<\/a> and is commonly used by editors to denote a new paragraph! The pilcrow tells us that we&#8217;re using a <strong>paragraph block<\/strong>. If you click the pilcrow symbol you&#8217;ll see that you can transform the block into a heading, list, or all sorts of things. You should also notice that from here we can easily set the alignment of the paragraph, bold the text, italicize, add a hyperlink, and more. <\/p>\n\n\n\n<p>In fact, if we click the three dots at the end of the toolbar, even more options become available to us. <\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"577\" height=\"845\" src=\"https:\/\/nmi.cool\/webdev\/wp-content\/uploads\/sites\/14\/2021\/06\/Screen-Shot-2021-06-22-at-10.52.41-PM.png\" alt=\"\" class=\"wp-image-2875\" srcset=\"https:\/\/nmi.cool\/webdev\/wp-content\/uploads\/sites\/14\/2021\/06\/Screen-Shot-2021-06-22-at-10.52.41-PM.png 577w, https:\/\/nmi.cool\/webdev\/wp-content\/uploads\/sites\/14\/2021\/06\/Screen-Shot-2021-06-22-at-10.52.41-PM-205x300.png 205w\" sizes=\"auto, (max-width: 577px) 100vw, 577px\" \/><figcaption class=\"wp-element-caption\">Note! See remove block at the bottom of the list? That&#8217;s how you delete an unwanted block.<\/figcaption><\/figure>\n\n\n\n<p>These options are pretty self explanatory, but it&#8217;s really good to know where to find them! The &#8220;<strong>Remove Block<\/strong>&#8221; option at the bottom of the list is sure to come in handy when you want to get rid of a block. <\/p>\n\n\n\n<p>Okay, let&#8217;s <strong>add another block<\/strong>. You could either select &#8220;Insert After&#8221; from the dropdown list above, or simply press return\/enter on your keyboard.<a href=\"#footnote-3-1856\" id=\"note-3-1856\" rel=\"footnote\">3<\/a><\/p>\n\n\n\n<p>Type some additional text into that new block. By default, WordPress has given you another paragraph block.  We should also notice that some arrows have appeared on our toolbar. We can easily move the block up or down in the vertical block stack by clicking those arrows, or we can click the dots next to the arrows to drag the block to a new location. <\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"570\" height=\"516\" src=\"https:\/\/nmi.cool\/webdev\/wp-content\/uploads\/sites\/14\/2021\/06\/Screen-Shot-2021-06-22-at-10.54.52-PM.png\" alt=\"\" class=\"wp-image-2876\" style=\"width:620px;height:auto\" srcset=\"https:\/\/nmi.cool\/webdev\/wp-content\/uploads\/sites\/14\/2021\/06\/Screen-Shot-2021-06-22-at-10.54.52-PM.png 570w, https:\/\/nmi.cool\/webdev\/wp-content\/uploads\/sites\/14\/2021\/06\/Screen-Shot-2021-06-22-at-10.54.52-PM-300x272.png 300w\" sizes=\"auto, (max-width: 570px) 100vw, 570px\" \/><figcaption class=\"wp-element-caption\">Change the order of the blocks by dragging it or moving it up or down with the arrows.<\/figcaption><\/figure>\n\n\n\n<p>Try playing around with the arrows for a few seconds to get a feel for them. Then, go ahead and change your top block from a paragraph to a <code>&lt;h2&gt;<\/code> heading.<a href=\"#footnote-4-1856\" id=\"note-4-1856\" rel=\"footnote\">4<\/a> The font for your new heading should have increased in size and weight. <\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Adding an Image<\/h2>\n\n\n\n<p>Next we&#8217;re going to add one more block, but this time we will make it an image block. As you explore WordPress, you&#8217;ll learn that there are usually a few different ways to reach the same goal. One way to add an image is to hit return to start a new block and then click the plus sign to the right. You&#8217;ll see a few common block types to the right of the block, including a heading, image, and gallery. Click image. <\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"583\" height=\"599\" src=\"https:\/\/nmi.cool\/webdev\/wp-content\/uploads\/sites\/14\/2021\/06\/Screen-Shot-2021-06-22-at-10.58.30-PM.png\" alt=\"\" class=\"wp-image-2877\" style=\"width:620px;height:auto\" srcset=\"https:\/\/nmi.cool\/webdev\/wp-content\/uploads\/sites\/14\/2021\/06\/Screen-Shot-2021-06-22-at-10.58.30-PM.png 583w, https:\/\/nmi.cool\/webdev\/wp-content\/uploads\/sites\/14\/2021\/06\/Screen-Shot-2021-06-22-at-10.58.30-PM-292x300.png 292w\" sizes=\"auto, (max-width: 583px) 100vw, 583px\" \/><figcaption class=\"wp-element-caption\">An easy way to add an image.<\/figcaption><\/figure>\n\n\n\n<p>It&#8217;s incredibly easy to add an image to our page with WordPress! All we need to do is find an image.  <\/p>\n\n\n\n<p>Let&#8217;s visit our favorite place for free images, <a rel=\"noreferrer noopener\" aria-label=\"Unsplash (opens in a new tab)\" href=\"https:\/\/unsplash.com\" target=\"_blank\">Unsplash<\/a>, and download any image that&#8217;s calling your name. Once you&#8217;ve got an image downloaded to your computer click upload, and select your image. <\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"550\" height=\"417\" src=\"https:\/\/nmi.cool\/webdev\/wp-content\/uploads\/sites\/14\/2021\/06\/Screen-Shot-2021-06-22-at-10.59.06-PM.png\" alt=\"\" class=\"wp-image-2878\" style=\"width:620px;height:auto\" srcset=\"https:\/\/nmi.cool\/webdev\/wp-content\/uploads\/sites\/14\/2021\/06\/Screen-Shot-2021-06-22-at-10.59.06-PM.png 550w, https:\/\/nmi.cool\/webdev\/wp-content\/uploads\/sites\/14\/2021\/06\/Screen-Shot-2021-06-22-at-10.59.06-PM-300x227.png 300w\" sizes=\"auto, (max-width: 550px) 100vw, 550px\" \/><\/figure>\n\n\n\n<p>It&#8217;s really as easy as that! Again, at the top of the image block you&#8217;ll see some options to align the photo, edit the image, add a hyperlink, etc. <\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"834\" height=\"819\" src=\"https:\/\/nmi.cool\/webdev\/wp-content\/uploads\/sites\/14\/2021\/06\/Screen-Shot-2021-06-22-at-11.04.24-PM.png\" alt=\"\" class=\"wp-image-2879\" srcset=\"https:\/\/nmi.cool\/webdev\/wp-content\/uploads\/sites\/14\/2021\/06\/Screen-Shot-2021-06-22-at-11.04.24-PM.png 834w, https:\/\/nmi.cool\/webdev\/wp-content\/uploads\/sites\/14\/2021\/06\/Screen-Shot-2021-06-22-at-11.04.24-PM-300x295.png 300w, https:\/\/nmi.cool\/webdev\/wp-content\/uploads\/sites\/14\/2021\/06\/Screen-Shot-2021-06-22-at-11.04.24-PM-768x754.png 768w\" sizes=\"auto, (max-width: 834px) 100vw, 834px\" \/><figcaption class=\"wp-element-caption\">Style the image directly in the block editor!<\/figcaption><\/figure>\n\n\n\n<p>You probably have also noticed that there are a few more settings you can play around with on the right side of your screen. These setting will change depending on what type of block you&#8217;re working with and let you change some basic styles of your elements.  For an image, we can (and should!) add alt text. We can also make changes to the image size\/dimensions, and even add a circle mask if we want to (click &#8220;Style&#8221; to try out the mask).  <\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Media Library<\/h2>\n\n\n\n<p>One of the great perks of using a CMS like WordPress is the way it manages and organizes all of the images and other media that we integrate into our website. To give you a better idea of what&#8217;s going on behind the scenes save your work by clicking &#8220;Update&#8221; (or Publish) in the upper right corner of your screen, and then click <strong>Media<\/strong> and then <strong>Library<\/strong> in the dashboard at the left of your screen. <\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"989\" height=\"605\" src=\"https:\/\/nmi.cool\/webdev\/wp-content\/uploads\/sites\/14\/2021\/06\/Screen-Shot-2021-06-22-at-11.05.30-PM.png\" alt=\"\" class=\"wp-image-2880\" srcset=\"https:\/\/nmi.cool\/webdev\/wp-content\/uploads\/sites\/14\/2021\/06\/Screen-Shot-2021-06-22-at-11.05.30-PM.png 989w, https:\/\/nmi.cool\/webdev\/wp-content\/uploads\/sites\/14\/2021\/06\/Screen-Shot-2021-06-22-at-11.05.30-PM-300x184.png 300w, https:\/\/nmi.cool\/webdev\/wp-content\/uploads\/sites\/14\/2021\/06\/Screen-Shot-2021-06-22-at-11.05.30-PM-768x470.png 768w\" sizes=\"auto, (max-width: 989px) 100vw, 989px\" \/><figcaption class=\"wp-element-caption\">The Media Library<\/figcaption><\/figure>\n\n\n\n<p>You&#8217;ll notice the image that you just downloaded is already saved in the media library for your site. WordPress automatically added it for you. If you click on the image you&#8217;ll see some additional information and options, including a place to add permanent alt text, a caption\u2014 even the option to edit the image. <\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"933\" height=\"729\" src=\"https:\/\/nmi.cool\/webdev\/wp-content\/uploads\/sites\/14\/2021\/06\/Screen-Shot-2021-06-22-at-11.06.44-PM.png\" alt=\"\" class=\"wp-image-2882\" srcset=\"https:\/\/nmi.cool\/webdev\/wp-content\/uploads\/sites\/14\/2021\/06\/Screen-Shot-2021-06-22-at-11.06.44-PM.png 933w, https:\/\/nmi.cool\/webdev\/wp-content\/uploads\/sites\/14\/2021\/06\/Screen-Shot-2021-06-22-at-11.06.44-PM-300x234.png 300w, https:\/\/nmi.cool\/webdev\/wp-content\/uploads\/sites\/14\/2021\/06\/Screen-Shot-2021-06-22-at-11.06.44-PM-768x600.png 768w\" sizes=\"auto, (max-width: 933px) 100vw, 933px\" \/><figcaption class=\"wp-element-caption\">Attachment details for items in the Media Library<\/figcaption><\/figure>\n\n\n\n<p>The Media Library is a great tool, because every image (or other form of media) that you upload to your site is saved an available for reuse. If you wanted to add another image block with the same picture of a sleepy kitten, all you would have to do is select Media Library when WordPress prompts you. <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"552\" height=\"225\" src=\"http:\/\/nmi.cool\/newmediaproduction\/wp-content\/uploads\/sites\/14\/2021\/06\/Screen-Shot-2021-06-22-at-11.08.41-PM.png\" alt=\"\" class=\"wp-image-2883\" srcset=\"https:\/\/nmi.cool\/webdev\/wp-content\/uploads\/sites\/14\/2021\/06\/Screen-Shot-2021-06-22-at-11.08.41-PM.png 552w, https:\/\/nmi.cool\/webdev\/wp-content\/uploads\/sites\/14\/2021\/06\/Screen-Shot-2021-06-22-at-11.08.41-PM-300x122.png 300w\" sizes=\"auto, (max-width: 552px) 100vw, 552px\" \/><figcaption class=\"wp-element-caption\">To reuse an image select Media Library. <\/figcaption><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">What about my server?<\/h2>\n\n\n\n<p>At this point, you might reasonably wonder: What about my server? Don&#8217;t I have to upload the images to my server too? <\/p>\n\n\n\n<p>WordPress actually does this for you so you don&#8217;t have to worry about it! Let&#8217;s take a quick detour to prove it. You can follow along with these steps if you like, or just observe this bit. <\/p>\n\n\n\n<p>First, I&#8217;m going to open Cyberduck and navigate to the folder that I created when installing the WordPress playground. I&#8217;ll click the <code>playground<\/code> folder to see all the files and folders that were added to my server when I installed WordPress. It&#8217;s a lot, right?<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1494\" height=\"1218\" src=\"https:\/\/nmi.cool\/newmediaproduction\/wp-content\/uploads\/sites\/14\/2020\/03\/Screen-Shot-2020-03-15-at-7.13.06-PM.png\" alt=\"\" class=\"wp-image-1909\" srcset=\"https:\/\/nmi.cool\/webdev\/wp-content\/uploads\/sites\/14\/2020\/03\/Screen-Shot-2020-03-15-at-7.13.06-PM.png 1494w, https:\/\/nmi.cool\/webdev\/wp-content\/uploads\/sites\/14\/2020\/03\/Screen-Shot-2020-03-15-at-7.13.06-PM-300x245.png 300w, https:\/\/nmi.cool\/webdev\/wp-content\/uploads\/sites\/14\/2020\/03\/Screen-Shot-2020-03-15-at-7.13.06-PM-1024x835.png 1024w, https:\/\/nmi.cool\/webdev\/wp-content\/uploads\/sites\/14\/2020\/03\/Screen-Shot-2020-03-15-at-7.13.06-PM-768x626.png 768w\" sizes=\"auto, (max-width: 1494px) 100vw, 1494px\" \/><figcaption class=\"wp-element-caption\">Your WordPress install when viewed from your server<\/figcaption><\/figure>\n\n\n\n<p>There&#8217;s a lot going on here and we don&#8217;t need to get too into the weeds.  One interesting thing to note is that <code>index.php<\/code> is actually your homepage for your WordPress site, just like <code>index.html<\/code> was the homepage for your earlier projects.<a href=\"#footnote-5-1856\" id=\"note-5-1856\" rel=\"footnote\">5<\/a> What we&#8217;re actually going to look at though is the <code>wp-content<\/code> folder. <\/p>\n\n\n\n<p>When we click into the <code>wp-content<\/code> folder we can go to <code>uploads<\/code>, then <code>2021<\/code>, then <code>06<\/code>.<a href=\"#footnote-6-1856\" id=\"note-6-1856\" rel=\"footnote\">6<\/a> Inside the <code>06<\/code> folder we&#8217;ll see the photo that we uploaded. In fact, we&#8217;ll see that not only is the original image saved, but WordPress has saved resized versions of the same image if we should need them. <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"600\" height=\"518\" src=\"https:\/\/nmi.cool\/webdev\/wp-content\/uploads\/sites\/14\/2021\/06\/Screen-Shot-2021-06-22-at-11.13.55-PM.png\" alt=\"\" class=\"wp-image-2884\" srcset=\"https:\/\/nmi.cool\/webdev\/wp-content\/uploads\/sites\/14\/2021\/06\/Screen-Shot-2021-06-22-at-11.13.55-PM.png 600w, https:\/\/nmi.cool\/webdev\/wp-content\/uploads\/sites\/14\/2021\/06\/Screen-Shot-2021-06-22-at-11.13.55-PM-300x259.png 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><figcaption class=\"wp-element-caption\">WordPress has uploaded multiple versions of your image to your server<\/figcaption><\/figure>\n\n\n\n<p>This quick server detour should illustrate two points. First, we&#8217;re not abandoning the processes we learned earlier in the semester; all our files and folders still need to be uploaded to our server in order to be accessible to folks browsing the internet. The second point is that you should be starting to see just how much WordPress simplifies the process of front-end web development. When you&#8217;re working on a WordPress site, you&#8217;ll never have to upload files to your server manually; WordPress will take care of all of that for you behind the scenes. No wonder it&#8217;s so popular! <\/p>\n\n\n\n<p>Next up, we are going to take a very quick look at WordPress themes! <\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Themes<\/h2>\n\n\n\n<p>You&#8217;ve already had some experience with themes during our Bootstrap module, but it&#8217;s time to revisit them in WordPress. The rules we previously discussed are still important\u2014 in fact, they even more important, so please take a few moments to <a href=\"http:\/\/nmi.cool\/webdev\/caveat-emptor\/\" target=\"_blank\" rel=\"noreferrer noopener\">refresh yourself<\/a>. <\/p>\n\n\n\n<p>Head back to your WordPress dashboard and click &#8220;Appearance&#8221; and then &#8220;Themes.&#8221;<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"990\" height=\"840\" src=\"https:\/\/nmi.cool\/webdev\/wp-content\/uploads\/sites\/14\/2021\/06\/Screen-Shot-2021-06-22-at-11.23.13-PM.png\" alt=\"\" class=\"wp-image-2889\" srcset=\"https:\/\/nmi.cool\/webdev\/wp-content\/uploads\/sites\/14\/2021\/06\/Screen-Shot-2021-06-22-at-11.23.13-PM.png 990w, https:\/\/nmi.cool\/webdev\/wp-content\/uploads\/sites\/14\/2021\/06\/Screen-Shot-2021-06-22-at-11.23.13-PM-300x255.png 300w, https:\/\/nmi.cool\/webdev\/wp-content\/uploads\/sites\/14\/2021\/06\/Screen-Shot-2021-06-22-at-11.23.13-PM-768x652.png 768w\" sizes=\"auto, (max-width: 990px) 100vw, 990px\" \/><\/figure>\n\n\n\n<p>You&#8217;ll likely see three default themes that have already been installed for you. Each year WordPress comes out with a new default theme and what you&#8217;re seeing are the three most recent. As you might expect, the active theme for your site is the most recent: Twenty Twenty-One. <\/p>\n\n\n\n<p>You can test out one of the other installed themes by hovering over it and pressing &#8220;Live Preview.&#8221; This is a great way to get a quick look at how your site will change if you change the theme.  If you decided that you liked the new theme and wanted to activate it, just click &#8220;Activate and Publish&#8221; in the top left corner. <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1008\" height=\"837\" src=\"https:\/\/nmi.cool\/webdev\/wp-content\/uploads\/sites\/14\/2021\/06\/Screen-Shot-2021-06-22-at-11.24.58-PM.png\" alt=\"\" class=\"wp-image-2890\" srcset=\"https:\/\/nmi.cool\/webdev\/wp-content\/uploads\/sites\/14\/2021\/06\/Screen-Shot-2021-06-22-at-11.24.58-PM.png 1008w, https:\/\/nmi.cool\/webdev\/wp-content\/uploads\/sites\/14\/2021\/06\/Screen-Shot-2021-06-22-at-11.24.58-PM-300x249.png 300w, https:\/\/nmi.cool\/webdev\/wp-content\/uploads\/sites\/14\/2021\/06\/Screen-Shot-2021-06-22-at-11.24.58-PM-768x638.png 768w\" sizes=\"auto, (max-width: 1008px) 100vw, 1008px\" \/><figcaption class=\"wp-element-caption\">Click Activate and Publish to switch to a new theme<\/figcaption><\/figure>\n\n\n\n<p>A few important notes before we fall too deeply into the theme rabbit hole. In <strong>WordPress themes actually have a much bigger impact on the functionality<\/strong> of the site than they do with Bootstrap. Themes might come with certain <a href=\"http:\/\/nmi.cool\/webdev\/wide-world-of-widgets\/\" target=\"_blank\" rel=\"noreferrer noopener\">widgets<\/a> preinstalled, require certain <a href=\"http:\/\/nmi.cool\/webdev\/plugins\/\" target=\"_blank\" rel=\"noreferrer noopener\">plugins<\/a>, or have specific <a href=\"http:\/\/nmi.cool\/webdev\/order-off-the-menu\/\" target=\"_blank\" rel=\"noreferrer noopener\">menu<\/a> options predefined. This isn&#8217;t something that we need to worry too much about while we&#8217;re working on our WordPress playground, but it&#8217;s a good thing to be aware of. In fact, as you explore a few different themes, pay extra attention to the differences that you&#8217;ll note in the themes menu. <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"2272\" height=\"1214\" src=\"https:\/\/nmi.cool\/newmediaproduction\/wp-content\/uploads\/sites\/14\/2020\/03\/Screen-Shot-2020-03-15-at-9.09.29-PM.png\" alt=\"\" class=\"wp-image-1919\" srcset=\"https:\/\/nmi.cool\/webdev\/wp-content\/uploads\/sites\/14\/2020\/03\/Screen-Shot-2020-03-15-at-9.09.29-PM.png 2272w, https:\/\/nmi.cool\/webdev\/wp-content\/uploads\/sites\/14\/2020\/03\/Screen-Shot-2020-03-15-at-9.09.29-PM-300x160.png 300w, https:\/\/nmi.cool\/webdev\/wp-content\/uploads\/sites\/14\/2020\/03\/Screen-Shot-2020-03-15-at-9.09.29-PM-1024x547.png 1024w, https:\/\/nmi.cool\/webdev\/wp-content\/uploads\/sites\/14\/2020\/03\/Screen-Shot-2020-03-15-at-9.09.29-PM-768x410.png 768w, https:\/\/nmi.cool\/webdev\/wp-content\/uploads\/sites\/14\/2020\/03\/Screen-Shot-2020-03-15-at-9.09.29-PM-1536x821.png 1536w, https:\/\/nmi.cool\/webdev\/wp-content\/uploads\/sites\/14\/2020\/03\/Screen-Shot-2020-03-15-at-9.09.29-PM-2048x1094.png 2048w\" sizes=\"auto, (max-width: 2272px) 100vw, 2272px\" \/><figcaption class=\"wp-element-caption\">Each theme has different functionality<\/figcaption><\/figure>\n\n\n\n<p>As part of the playground assignment you should spend some time trying on different themes.  There are four preinstalled themes for you to investigate, but those aren&#8217;t the only options that you have. <\/p>\n\n\n\n<p>Back in the main theme page, click &#8220;<strong>Add New Theme<\/strong>.&#8221; You should see fifteen additional &#8220;Featured&#8221; themes that you can experiment with\u2014 but, if you click &#8220;Popular&#8221; or &#8220;Latest&#8221; you&#8217;ll have access to thousands of different themes. <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"831\" height=\"838\" src=\"https:\/\/nmi.cool\/webdev\/wp-content\/uploads\/sites\/14\/2021\/06\/Screen-Shot-2021-06-22-at-11.26.19-PM.png\" alt=\"\" class=\"wp-image-2891\" srcset=\"https:\/\/nmi.cool\/webdev\/wp-content\/uploads\/sites\/14\/2021\/06\/Screen-Shot-2021-06-22-at-11.26.19-PM.png 831w, https:\/\/nmi.cool\/webdev\/wp-content\/uploads\/sites\/14\/2021\/06\/Screen-Shot-2021-06-22-at-11.26.19-PM-297x300.png 297w, https:\/\/nmi.cool\/webdev\/wp-content\/uploads\/sites\/14\/2021\/06\/Screen-Shot-2021-06-22-at-11.26.19-PM-150x150.png 150w, https:\/\/nmi.cool\/webdev\/wp-content\/uploads\/sites\/14\/2021\/06\/Screen-Shot-2021-06-22-at-11.26.19-PM-768x774.png 768w\" sizes=\"auto, (max-width: 831px) 100vw, 831px\" \/><figcaption class=\"wp-element-caption\">There are thousand of free WordPress themes.<\/figcaption><\/figure>\n\n\n\n<p>There&#8217;s a lot to explore with WordPress themes and the point of the Playground assignment is to try out a few different themes and start to evaluate how they function. There&#8217;s a wide range in the quality of these free themes so it&#8217;s a good idea to think critically about ratings and functionality. Also, be aware that some themes will reference page builders like Elementor, Divi, and others. As we discussed in <a href=\"http:\/\/nmi.cool\/webdev\/caveat-emptor#avoid\" target=\"_blank\" rel=\"noreferrer noopener\">shopping for a theme<\/a>, page builders or other tools that mimic WordPress&#8217;s core functionality are best avoided in the context of this class. <\/p>\n\n\n\n<p>To try out a new theme from the theme library you&#8217;ll have to first install it<a href=\"#footnote-7-1856\" id=\"note-7-1856\" rel=\"footnote\">7<\/a>when it&#8217;s installed you can do a live preview<a href=\"#footnote-8-1856\" id=\"note-8-1856\" rel=\"footnote\">8<\/a> and then activate it.  <\/p>\n\n\n\n<p>Okay! That&#8217;s a lot of ground that we covered! What&#8217;s next?<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"mission\">Your mission\u2026<\/h2>\n\n\n\n<p>By now, you\u2019re starting to see how powerful of a tool WordPress can be, but fully utilizing WP\u2019s functionality takes <em>practice<\/em>.  Spend some time on your own exploring WordPress and building out a low-stakes website that gives you a chance to learn about WordPress&#8217;s interface and functionality. <\/p>\n\n\n\n<p>This is a <strong>practice site<\/strong>, not a project, so spending your time exploring! As we move through lessons in class, test out what you\u2019re reading and learning in your Playground. Keep exploring the Dashboard, the Block Editor, and the Site Editor. The checklist below includes really common actions you\u2019ll do when you\u2019re building a WordPress site.&nbsp;I <em>strongly<\/em> recommend working through this checklist because it will get you familiar with the action steps you&#8217;ll take to complete Project 3.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Exploration Checklist<\/strong><\/h3>\n\n\n\n<p><strong>Pages<\/strong>: Design and layout 2 pages \u2013 for example, your Home and About pages, using 3-4 Blocks  and a pattern or two.<\/p>\n\n\n\n<p><strong>Posts<\/strong>: Build or recreate a news article\/blog post with images, text, and either video or audio. Play around with Widgets and different layouts to get a feel for what you can do.<\/p>\n\n\n\n<p><strong>Style Editor:<\/strong>&nbsp;<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Change the background color of your site.<\/li>\n\n\n\n<li>Customize the text for your Headers, Paragraph text, and Links.<\/li>\n<\/ol>\n\n\n\n<p><strong>Block Editor<\/strong>: Dig into a type of block, e.g., a Button, a Pull Quote, and manipulate its styling.<\/p>\n\n\n\n<p><strong>Navigation<\/strong>: Identify where and how to edit your navigation bar links and styling (Hint: It\u2019s not all in the same spot.)<\/p>\n\n\n\n<p><strong>Templates<\/strong>: Figure out how to apply different templates to your pages. Troubleshoot the limitations of applying templates based on your Theme or Reading settings.<\/p>\n\n\n\n<p>Test out a few different themes and find one that you like besides the default Twenty Twenty-Five theme. In order to get the hang of WordPress you need to poke around and build things and break them and build them again. Once you feel like you know your way around WordPress a bit better make sure to save your work and hit publish!<\/p>\n\n\n\n<p>One thing to be careful about that is worth mentioning: you cannot move a WordPress site around on your server by dragging it and dropping it like you could with earlier projects. This is due to the way WordPress stores data on your server. If you try to drag and drop a WordPress site you will break it and lose all your work. ? For this reason, it&#8217;s a VERY GOOD IDEA to save a <a rel=\"noreferrer noopener\" href=\"https:\/\/nmi.cool\/webdev\/backing-up-wordpress\/\" data-type=\"URL\" target=\"_blank\">local backup of your WordPress site<\/a> after you spend any significant time working on it. Seriously!   <\/p>\n<div class=\"footnotes\"><hr \/><ol><li id=\"footnote-1-1856\" class=\"footnote\"><p> If you haven&#8217;t created those pages yet, check out Step 7 in the <a href=\"http:\/\/nmi.cool\/webdev\/wordpress-starter-steps#cleaningWP\" target=\"_blank\" rel=\"noreferrer noopener\">Starter Steps <\/a>to make them!<a href=\"#note-1-1856\" class=\"footnote-return\">&#8617;<\/a><\/p><\/li><!--\/#footnote-1.footnote--><li id=\"footnote-2-1856\" class=\"footnote\"><p>There&#8217;s also a preview function that you can use, but sometimes it can get a little glitchy when you&#8217;re working with specific themes.<a href=\"#note-2-1856\" class=\"footnote-return\">&#8617;<\/a><\/p><\/li><!--\/#footnote-2.footnote--><li id=\"footnote-3-1856\" class=\"footnote\"><p> you could also click the plus sign that appears in the bottom center of the existing block when you hover over it\u2014 WordPress gives us lots of ways to reach out goal!<a href=\"#note-3-1856\" class=\"footnote-return\">&#8617;<\/a><\/p><\/li><!--\/#footnote-3.footnote--><li id=\"footnote-4-1856\" class=\"footnote\"><p> Use the dropdown next to the paragraph symbol and select &#8220;heading.<a href=\"#note-4-1856\" class=\"footnote-return\">&#8617;<\/a><\/p><\/li><!--\/#footnote-4.footnote--><li id=\"footnote-5-1856\" class=\"footnote\"><p> You can learn a bit of introductory information about PHP back in the <a href=\"http:\/\/nmi.cool\/webdev\/intro-to-wordpress#briefly\" target=\"_blank\" rel=\"noreferrer noopener\">WordPress intro reading<\/a><a href=\"#note-5-1856\" class=\"footnote-return\">&#8617;<\/a><\/p><\/li><!--\/#footnote-5.footnote--><li id=\"footnote-6-1856\" class=\"footnote\"><p>WordPress organizes our uploads by year and month!<a href=\"#note-6-1856\" class=\"footnote-return\">&#8617;<\/a><\/p><\/li><!--\/#footnote-6.footnote--><li id=\"footnote-7-1856\" class=\"footnote\"><p><a href=\"#note-7-1856\" class=\"footnote-return\">&#8617;<\/a><\/p><\/li><!--\/#footnote-7.footnote--><li id=\"footnote-8-1856\" class=\"footnote\"><p><a href=\"#note-8-1856\" class=\"footnote-return\">&#8617;<\/a><\/p><\/li><!--\/#footnote-8.footnote--><\/ol><\/div><!--\/#footnotes-->","protected":false},"excerpt":{"rendered":"<p>As you dig into WordPress you&#8217;ll find that there&#8217;s a lot to explore! This exercise is designed to provide you with an introductory tour of WordPress as a spring board for your own discovery. Throughout the semester we&#8217;ve stressed that the best way to get familiar with new technology is to play around with it. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-1856","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/nmi.cool\/webdev\/wp-json\/wp\/v2\/pages\/1856","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nmi.cool\/webdev\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/nmi.cool\/webdev\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/nmi.cool\/webdev\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/nmi.cool\/webdev\/wp-json\/wp\/v2\/comments?post=1856"}],"version-history":[{"count":7,"href":"https:\/\/nmi.cool\/webdev\/wp-json\/wp\/v2\/pages\/1856\/revisions"}],"predecessor-version":[{"id":6077,"href":"https:\/\/nmi.cool\/webdev\/wp-json\/wp\/v2\/pages\/1856\/revisions\/6077"}],"wp:attachment":[{"href":"https:\/\/nmi.cool\/webdev\/wp-json\/wp\/v2\/media?parent=1856"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}