{"id":20047,"date":"2013-01-30T12:35:05","date_gmt":"2013-01-30T19:35:05","guid":{"rendered":"http:\/\/css-tricks.com\/?page_id=20047"},"modified":"2015-10-22T11:07:10","modified_gmt":"2015-10-22T18:07:10","slug":"008-giving-ourselves-a-fresh-start-with-a-clean-theme-part-1","status":"publish","type":"page","link":"https:\/\/css-tricks.com\/lodge\/artists-website\/008-giving-ourselves-a-fresh-start-with-a-clean-theme-part-1\/","title":{"rendered":"#008 – Giving Ourselves a Fresh Start with a Clean Theme, Part 1"},"content":{"rendered":"

We’re going to stop looking at the old site here soon. This is the last time! Our plan now that we have a proper local dev environment is to give ourselves a completely fresh start. We want to strip the WordPress theme down to bare bones nothing and build up from there.<\/p>\n

We start by duplicating the theme, calling the folder “JeffCampanaTheme2” this time. But we leave the old theme in place. Then we go to the WordPress admin area and check out the theme selection page. It’s hard to tell them apart, so we adjust the graphic it shows there by editing the “screenshot.png” file in the theme folder.<\/p>\n

Now we have the files all in place to start stripping.<\/p>\n","protected":false},"excerpt":{"rendered":"

We’re going to stop looking at the old site here soon. This is the last time! Our plan now that we have a proper local dev environment is to give ourselves a completely fresh start. We want to strip the WordPress theme down to bare bones nothing and build up from there. We start by […]<\/p>\n","protected":false},"author":3,"featured_media":0,"parent":19998,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"lodge-video.php","meta":{"_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,"sig_custom_text":"","sig_image_type":"featured-image","sig_custom_image":0,"sig_is_disabled":false,"inline_featured_image":false,"c2c_always_allow_admin_comments":false,"footnotes":""},"tags":[],"acf":[],"jetpack-related-posts":[{"id":18488,"url":"https:\/\/css-tricks.com\/lodge\/v10\/078-moving-to-wordpress-creating-a-theme\/","url_meta":{"origin":20047,"position":0},"title":"#078: Moving to WordPress, Creating a Theme","date":"September 24, 2012","format":false,"excerpt":"We've already been working locally at a local domain (v10.whatup). Now it's time to get started moving into WordPress. We're going to keep working locally at a local domain, but we're going to start using the already working local install of CSS-Tricks I have (css-tricks.whatup). We start by just duplicating\u2026","rel":"","context":"With 10 comments","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":18523,"url":"https:\/\/css-tricks.com\/lodge\/v10\/84-moving-footer-into-wordpress\/","url_meta":{"origin":20047,"position":1},"title":"#84: Moving Footer into WordPress","date":"September 27, 2012","format":false,"excerpt":"We start out by fixing up some image file paths. I always make a distinction when using images inside a WordPress theme. Is this image part of this specific theme? Or would it make sense to use in any theme for this site? If it's for the specific theme, the\u2026","rel":"","context":"Similar post","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":20049,"url":"https:\/\/css-tricks.com\/lodge\/artists-website\/009-giving-ourselves-a-fresh-start-with-a-clean-theme-part-2\/","url_meta":{"origin":20047,"position":2},"title":"#009 \u2013 Giving Ourselves a Fresh Start with a Clean Theme, Part 2","date":"January 30, 2013","format":false,"excerpt":"We in the midst of stripping down our WordPress theme to about as bare-bones as we can get it. We're not worried about the design we're trying to get to, we're concerned about stripping away the old and giving us the cleanest most data-only theme we can get to start\u2026","rel":"","context":"With 5 comments","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":18694,"url":"https:\/\/css-tricks.com\/lodge\/v10\/132-intro-to-the-forums\/","url_meta":{"origin":20047,"position":3},"title":"#132: Intro to The Forums","date":"October 2, 2012","format":false,"excerpt":"In this screencast we dive into an all new section of the site: The Forums! This is a huge area of the site. Perhaps not so much in traffic (I've always wished it could grow, traffic wise), but certainly in user activity and UI complexity. The forums use Vanilla Forums\u2026","rel":"","context":"Similar post","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":18702,"url":"https:\/\/css-tricks.com\/lodge\/v10\/136-understanding-vanilla-forums-theme-overrides\/","url_meta":{"origin":20047,"position":4},"title":"#136: Understanding Vanilla Forums Theme Overrides","date":"October 2, 2012","format":false,"excerpt":"We left off trying to decide if we can win the battle for a static login form or not. We probably could, but in more playing around with the forums, we see that it's not just login that by default comes up in a modal. The modal design pattern is\u2026","rel":"","context":"Similar post","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":6377,"url":"https:\/\/css-tricks.com\/snippets\/wordpress\/bloginfo-shortcode\/","url_meta":{"origin":20047,"position":5},"title":"Bloginfo Shortcode","date":"May 14, 2010","format":false,"excerpt":"The bloginfo() function in WordPress gives you access to lots of useful information about your site. See the complete list. To access all these values from inside Page\/Post content itself, we can make a shortcode to return the values. Add this to your functions.php file in your theme: function digwp_bloginfo_shortcode(\u2026","rel":"","context":"In "Article"","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/pages\/20047"}],"collection":[{"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/comments?post=20047"}],"version-history":[{"count":2,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/pages\/20047\/revisions"}],"predecessor-version":[{"id":210039,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/pages\/20047\/revisions\/210039"}],"up":[{"embeddable":true,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/pages\/19998"}],"wp:attachment":[{"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/media?parent=20047"}],"wp:term":[{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/tags?post=20047"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}