{"id":1347,"date":"2012-11-26T15:17:40","date_gmt":"2012-11-26T15:17:40","guid":{"rendered":"http:\/\/wp-bold.solostreamsites.com\/?p=1347"},"modified":"2012-11-26T15:17:40","modified_gmt":"2012-11-26T15:17:40","slug":"how-to-create-a-portfolio-page","status":"publish","type":"post","link":"https:\/\/demo.solostream.com\/wp-radiance\/2012\/11\/26\/how-to-create-a-portfolio-page\/","title":{"rendered":"How to Create a Portfolio Page"},"content":{"rendered":"<p>In this tutorial, I&#8217;ll show you how to create a Portfolio page similar to <a href=\"\/wp-radiance\/portfolio\/\">the one shown on the theme demo site<\/a>.<\/p>\n<p><!--more--><\/p>\n<h3>Step 1 &#8211; Create a Portfolio Category With Sub-Categories<\/h3>\n<p><a href=\"http:\/\/www.solostream.com\/wp-content\/uploads\/2011\/12\/portfolio.jpg\"><img decoding=\"async\" src=\"http:\/\/www.solostream.com\/wp-content\/uploads\/2011\/12\/portfolio-150x150.jpg\" alt=\"\" title=\"portfolio\" width=\"150\" height=\"150\" class=\"alignright thickbox size-thumbnail wp-image-4846\" \/><\/a>What we want to do is create a main category of projects with several sub-categories. So, for example, if you&#8217;re a photographer, you might create a main &#8220;Photos&#8221; category with subcategories that describe the different types of photos within your portfolio (e.g. People, Places, Landscapes, etc). As another example, if you are a designer, you might create a main &#8220;Projects&#8221; category with subcategories such Web, Print, Logos, etc.<\/p>\n<p>To create your categories, in your WP dashboard, click Posts &gt;&gt; Categories, and create your main category as well as your subcategories.<\/p>\n<h3>Step 2 &#8211; Create Your Posts and Place Them in Their Respective Subcategory<\/h3>\n<p>If you&#8217;ve not yet created any Posts for your portfolio entries, you&#8217;ll need to do that and place the Posts in their respective subcategory.<\/p>\n<h3>Step 3 &#8211; Create a New Page for Your Portfolio Page<\/h3>\n<p>Once you have your portfolio Posts created, it&#8217;s time to create the Portfolio page to display them. In your WP dashboard, click Page &gt;&gt; Add New. Give your page a title, and if you like, you can write an introduction in the content box. You can also leave the content box empty.<\/p>\n<p>Next, on the right side of the Add Page screen, look for the Page Attributes box. Within that box, you will see a drop-down box labeled &#8220;Template.&#8221; Select the Portfolio page template from the drop-down box.<\/p>\n<h3>Step 4 &#8211; Create a Custom Field Containing the Category ID of Your Main Portfolio Category<\/h3>\n<p>On the Add Page screen, scroll down to the Custom Fields box. Click the &#8220;Enter New&#8221; link to create a new custom field. For the Name field, enter &#8220;catid&#8221; without the quotes. Then, for the value field, you&#8217;ll need to enter the category ID of your main Portfolio category.<\/p>\n<p>To get the category ID, in your WP dashboard click Posts &gt;&gt; Categories. Then hover your mouse over your Portfolio category. When you do that, the status bar in the lower left corner of your browser will show something like this:<\/p>\n<p><code><br \/>\nhttp:\/\/www.mysite.com\/wp-admin\/edit-tags.php?action=edit&taxonomy=category&tag_ID=3&post_type=post<br \/>\n<\/code><\/p>\n<p>In the above example, the category ID is 3.<\/p>\n<p>After you&#8217;ve entered the custom field name (catid) and the category ID in the value field, click the &#8220;Add Custom Field&#8221; button to save the custom field.<\/p>\n<h3>Step 5 &#8211; Publish Your Page<\/h3>\n<p>Finally, click the Publish button, and you now have a new Portfolio page.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this tutorial, I&#8217;ll show you how to create a Portfolio page similar to the one shown on the theme demo site.<\/p>\n","protected":false},"author":1,"featured_media":1352,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"footnotes":""},"categories":[7],"tags":[],"class_list":["post-1347","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials"],"acf":[],"_links":{"self":[{"href":"https:\/\/demo.solostream.com\/wp-radiance\/wp-json\/wp\/v2\/posts\/1347","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/demo.solostream.com\/wp-radiance\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/demo.solostream.com\/wp-radiance\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/demo.solostream.com\/wp-radiance\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/demo.solostream.com\/wp-radiance\/wp-json\/wp\/v2\/comments?post=1347"}],"version-history":[{"count":0,"href":"https:\/\/demo.solostream.com\/wp-radiance\/wp-json\/wp\/v2\/posts\/1347\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/demo.solostream.com\/wp-radiance\/wp-json\/wp\/v2\/media\/1352"}],"wp:attachment":[{"href":"https:\/\/demo.solostream.com\/wp-radiance\/wp-json\/wp\/v2\/media?parent=1347"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/demo.solostream.com\/wp-radiance\/wp-json\/wp\/v2\/categories?post=1347"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/demo.solostream.com\/wp-radiance\/wp-json\/wp\/v2\/tags?post=1347"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}