{"id":134,"date":"2010-09-08T10:00:58","date_gmt":"2010-09-08T15:00:58","guid":{"rendered":"http:\/\/www.danielwiener.com\/is\/?p=134"},"modified":"2011-12-04T16:10:47","modified_gmt":"2011-12-04T21:10:47","slug":"categories-navigation-menu","status":"publish","type":"post","link":"https:\/\/www.danielwiener.com\/is\/artist_website\/categories-navigation-menu","title":{"rendered":"Categories \u2013 Navigation Menu"},"content":{"rendered":"<h1>Categories, Posts and Pages in WordPress<\/h1>\n<p>There are 2 different kinds of entries in WordPress &#8211; <strong>Posts a<\/strong>nd <strong>Pages.<\/strong><\/p>\n<p><strong>Posts<\/strong> are organized in Categories and are meant for multiple entries of a similar kind. All artwork should be entered as Posts and included in a Category. For example a group of paintings completed between 2006 and 2007, would be uploaded to a post named &#8220;2006-2007&#8221; and included in the category &#8220;Painting&#8221;. Later you might add another post, &#8220;2008-2009&#8221;, of recent paintings to the &#8220;Painting&#8221; category.<\/p>\n<p><strong>Pages<\/strong> are meant for single entry items, usually complete in themselves. Your bio, artist statement and contact info should probably be entered as <strong>Pages<\/strong>.<\/p>\n<h4>Creating Categories for the Navigation of your site.<\/h4>\n<p>Choosing category names and how they are used in WPFolio.<\/p>\n<p>Categories organize your site and become menu items in the top menu.<\/p>\n<p>Choose short words that are general and inclusive.<\/p>\n<p>Choose categories that will work as your site expands and grows.<\/p>\n<p>Do not create too many catgeories.<\/p>\n<p>WPFolio navigation examples:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"\/is\/wp-content\/uploads\/wpfolio_install\/30_david_nav_menu.jpg\" alt=\"WPFolio\" width=\"400\" height=\"28\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"\/is\/wp-content\/uploads\/wpfolio_install\/31_deleget_menu.jpg\" alt=\"WPFolio\" width=\"244\" height=\"34\" \/><\/p>\n<p>Category Suggestions:<\/p>\n<p>Painting<br \/>\nSculpture<br \/>\nInstallations<br \/>\nEditions<br \/>\nProjects<br \/>\nArtwork,<br \/>\netc.<\/p>\n<p>Unless a series is large and includes many groups of work, don&#8217;t create Categories for series. Include them in posts (galleries) within the most appropriate Category.<\/p>\n<p>Special WPFolio Categories that are formatted for text with inlines images, appropriate fore news and blogs:<\/p>\n<p>News<br \/>\nLatest<br \/>\nUpdates<br \/>\nBlog<br \/>\nNotable<\/p>\n<p>I recommend creating at lease one category with one of those names as an all-purpose category to notify people about upcoming shows and reviews and the like.<\/p>\n<h4>Create Categories<\/h4>\n<p>Once you have decided which categories to use.<\/p>\n<p>Click on &#8220;Categories&#8221; in the &#8220;Posts&#8221; menu.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"\/is\/wp-content\/uploads\/wpfolio_install\/29a_categories_link.jpg\" alt=\"WPFolio\" width=\"146\" height=\"119\" \/><\/p>\n<p>On the Categories page enter your category and enter a category slug. The &#8220;slug&#8221; is what will appear in the url for that category. The slug should be lower case only without spaces. Use a dash &#8220;-&#8221; or an underscore &#8220;_&#8221; instead of a space. If you have a category &#8220;Recent Work&#8221; the slug will be &#8220;recent_work&#8221;. Add a description. And Click Save at the bottom of the page.<\/p>\n<p>Also you should change &#8220;Uncategorized&#8221; to one of your navigation categories.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"\/is\/wp-content\/uploads\/wpfolio_install\/29_wp_create_categories.jpg\" alt=\"WPFolio\" width=\"600\" height=\"502\" \/><\/p>\n<h4>Change Setting for Default Category<\/h4>\n<p>One final change in regards to Categories. Return to Settings in the left hand menu and click &#8220;Writing&#8221;.<\/p>\n<p>Change &#8220;Default Post Category&#8221; to your most commonly used category.<\/p>\n<p>Click &#8220;Save Changes&#8221;.<\/p>\n<h4>Reminder: Make sure you choose a category when creating a Post.<\/h4>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"\/is\/wp-content\/uploads\/wpfolio_install\/39_choose_category.jpg\" alt=\"WPFolio\" width=\"284\" height=\"258\" \/><\/p>\n<h4>Julian, A WPFolio User Wrote to Ask About Formatting The Category and Gallery Pages:<\/h4>\n<blockquote><p>Thank you so much for your post.  Its much easier to follow than the &#8216;official&#8217; guide.<\/p>\n<p>I have one question I hope you might know the answer too.<\/p>\n<p>In the text at the bottom of my gallery pages is the permalink.  How can I remove this?  Or change it to the post title?<\/p><\/blockquote>\n<h4>I Answered:<\/h4>\n<p>I am glad you found my tutorial useful.<\/p>\n<p>In the admin section of WordPress go to Appearance-&gt;Editor.<\/p>\n<p>Click on  Main Index Template, index.php in the right hand menu.<\/p>\n<p>Find the section that looks like this:<\/p>\n<pre class=\"brush: php\"> &lt;div class=\"posted\"&gt;\r\n   &lt;b&gt;&lt;?php the_title(); ?&gt;&lt;\/b&gt;  | &lt;a href=\"&lt;?php the_permalink() ?&gt;\" title=\"Permalink\"&gt;&lt;?php the_time('Y') ?&gt;&lt;\/a&gt; | &lt;?php the_category(', '); ?&gt;\r\n    &lt;?php the_tags('| Tags: ',', ',''); ?&gt;  &lt;?php comments_popup_link(__('| Comments (0)'), __('| Comments (1)'), __('| Comments (%)'), __(''), __('')); ?&gt;\r\n    &lt;?php edit_post_link('edit this entry', '&lt;br \/&gt;&lt;span class=\"adminuser\"&gt;', '&lt;\/span&gt;'); ?&gt; &lt;!--USER EDIT LINK--&gt;\r\n    &lt;\/div&gt;<\/pre>\n<p>To delete it I usually &#8220;comment&#8221; it out rather than delete, in case you change your mind at a later date. To comment it out add &lt;!&#8211; at the beginning and &#8211;&gt; at the end. So that it looks like this.<\/p>\n<pre class=\"brush: php\"> &lt;!-- &lt;div class=\"posted\"&gt; \r\n\r\n    &lt;b&gt;&lt;?php the_title(); ?&gt;&lt;\/b&gt;  | &lt;a href=\"&lt;?php the_permalink() ?&gt;\" title=\"Permalink\"&gt;&lt;?php the_time('Y') ?&gt;&lt;\/a&gt; | &lt;?php the_category(', '); ?&gt;\r\n     &lt;?php the_tags('| Tags: ',', ',''); ?&gt;  &lt;?php comments_popup_link(__('| Comments (0)'), __('| Comments (1)'), __('| Comments (%)'), __(''), __('')); ?&gt;\r\n    &lt;?php edit_post_link('edit this entry', '&lt;br \/&gt;&lt;span class=\"adminuser\"&gt;', '&lt;\/span&gt;'); ?&gt; &lt;!--USER EDIT LINK--&gt;\r\n\r\n    &lt;\/div&gt;\r\n    &lt;br \/&gt;&lt;br \/&gt; --&gt;<\/pre>\n<p>If you want to rearrange it a bit. You could do something like the following. I made the title a link, commented out the archive page (2009) and kept comments the same. I think if you look at the php you will be able to figure out what it refers to e.g. &lt;?php the_title(); ?&gt; is the title, etc. WordPress has a good list of all the template tags if you want to go deeper.<\/p>\n<p><a href=\"http:\/\/codex.wordpress.org\/Template_Tags\" target=\"_blank\">http:\/\/codex.wordpress.org\/Template_Tags<\/a><\/p>\n<pre class=\"brush: php\"> &lt;div class=\"posted\"&gt;\r\n    &lt;b&gt;&lt;a href=\"&lt;?php the_permalink() ?&gt;\" title=\"\r\n    &lt;?php the_title(); ?&gt;\"&gt;&lt;?php the_title(); ?&gt;&lt;\/a&gt;&lt;\/b&gt;&gt;\r\n    &lt;!-- | &lt;a href=\"&lt;?php the_permalink() ?&gt;\" title=\"Permalink\"&gt;&lt;?php the_time('Y') ?&gt;&lt;\/a&gt; | &lt;?php the_category(', '); ?&gt; &lt;?php the_tags('| Tags: ',', ',''); ?&gt; --&gt;\r\n  &lt;?php comments_popup_link(__('| Comments (0)'), __('| Comments (1)'), __('| Comments (%)'), __(''), __('')); ?&gt;\r\n\r\n  &lt;?php edit_post_link('edit this entry', '&lt;br \/&gt;&lt;span class=\"adminuser\"&gt;', '&lt;\/span&gt;'); ?&gt; &lt;!--USER EDIT LINK--&gt;\r\n  &lt;\/div&gt;\r\n  &lt;br \/&gt;&lt;br \/&gt;<\/pre>\n<p>I hope this helps.<\/p>\n<p>You can view his finished site at <a href=\"http:\/\/mariancarow.com\/\" target=\"_blank\">http:\/\/mariancarow.com\/<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>First, an explanation of the function of categories in Wordpress and WPFolio and website navigation, then create the categories.<\/p>\n<p>  <a href=\"https:\/\/www.danielwiener.com\/is\/artist_website\/categories-navigation-menu\"><br \/>Read More<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[],"class_list":["post-134","post","type-post","status-publish","format-standard","hentry","category-artist_website"],"_links":{"self":[{"href":"https:\/\/www.danielwiener.com\/is\/wp-json\/wp\/v2\/posts\/134","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.danielwiener.com\/is\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.danielwiener.com\/is\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.danielwiener.com\/is\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.danielwiener.com\/is\/wp-json\/wp\/v2\/comments?post=134"}],"version-history":[{"count":22,"href":"https:\/\/www.danielwiener.com\/is\/wp-json\/wp\/v2\/posts\/134\/revisions"}],"predecessor-version":[{"id":725,"href":"https:\/\/www.danielwiener.com\/is\/wp-json\/wp\/v2\/posts\/134\/revisions\/725"}],"wp:attachment":[{"href":"https:\/\/www.danielwiener.com\/is\/wp-json\/wp\/v2\/media?parent=134"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.danielwiener.com\/is\/wp-json\/wp\/v2\/categories?post=134"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.danielwiener.com\/is\/wp-json\/wp\/v2\/tags?post=134"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}