{"id":174,"date":"2006-08-04T22:20:29","date_gmt":"2006-08-05T05:20:29","guid":{"rendered":"http:\/\/www.bloodhoundrealty.com\/BloodhoundBlog\/?p=174"},"modified":"2008-01-04T23:20:26","modified_gmt":"2008-01-05T06:20:26","slug":"how-to-make-fast-flexible-web-pages","status":"publish","type":"post","link":"https:\/\/www.bloodhoundrealty.com\/BloodhoundBlog\/174\/how-to-make-fast-flexible-web-pages\/","title":{"rendered":"How to make fast, flexible web pages . . ."},"content":{"rendered":"<p><a href=\"http:\/\/blog.sellsiusrealestate.com\/?p=1539\" target=\"_blank\">Sellsius&deg; has a big bag of how-to&#8217;s<\/a> but I&#8217;m from Missouri. I like how-to articles that tell exactly how to do something.<\/p>\n<p>One from me: How to make fast, flexible web pages. <a href=\"http:\/\/www.bloodhoundrealty.com\/BloodhoundBlog\/?p=124\" target=\"_blank\">This is Realtor 2.0 stuff<\/a>: Full-service Realtors who plan to compete need to learn how to punch out lots and lots of new web pages with dispatch. For one thing, this is where all those photos I keep talking about are going to go. We do most of our pages with software and I&#8217;m not going to tell you how we do that &#8212; because I plan to send my kid to college with that software. But here is a road map to kicking out new pages with minimal effort. There&#8217;s a bonus to doing things this way, too, which I&#8217;ll get to at the end.<\/p>\n<p><i>Vide licet:<\/i><\/p>\n<p><img decoding=\"async\" border=\"1\" src=\"http:\/\/www.bloodhoundrealty.com\/BloodhoundBlog\/PHPsample.png\"\/><\/p>\n<p>That&#8217;s PHP, and if you&#8217;re on an Apache web server, you&#8217;ve got it. This is really simple code, but that&#8217;s the point. The whole purpose of PHP is to generate HTML on the fly, so I can only show this code as a picture and talk about it by paraphrasing.<\/p>\n<p>What does it do?<\/p>\n<p>It generates a complete web page: Title, meta-tags, CSS, internal Javascript, body copy, and graceful exit. If you look at the source of any web page in your browser, you&#8217;ll see a lot more than seven lines of code. That would be the case here, too. The two &#8220;included&#8221; files, &#8220;top.php&#8221; and &#8220;bot.php&#8221; are going to explode into a bunch of HTML.<\/p>\n<p>To set this up, you take your standing dummy web-page, the one you&#8217;re using to create new web pages. Configure the first three lines the way you see them in the picture. The title tag doesn&#8217;t have to come first, but it can, so let&#8217;s make it come first. Then copy everything from the first line after the title down to the last line before the actual changeable content of the page. Paste that into a new file named &#8220;top.php&#8221;.<\/p>\n<p>Then go to the first line after the changeable content of the page and copy from there to the bottom of the <a href=\"https:\/\/www.bloodhoundrealty.com\/BloodhoundBlog\/174\/how-to-make-fast-flexible-web-pages\/#more-174\" class=\"more-link\">Read more<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Sellsius&deg; has a big bag of how-to&#8217;s but I&#8217;m from Missouri. I like how-to articles that tell exactly how to do something. One from me: How to make fast, flexible web pages. This is Realtor 2.0 stuff: Full-service Realtors who plan to compete need to learn how to punch out lots and lots of new [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_crdt_document":"","jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[3,6,5],"tags":[],"class_list":{"0":"post-174","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"hentry","6":"category-blogging","7":"category-marketing","8":"category-real-estate","10":"no-featured-image"},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":15985,"url":"https:\/\/www.bloodhoundrealty.com\/BloodhoundBlog\/15985\/an-effective-way-to-gets-lots-of-pages-indexed-to-your-real-estate-web-site\/","url_meta":{"origin":174,"position":0},"title":"An Effective way to gets lots of pages indexed to your real estate web site","author":"Al Lorenz","date":"June 11, 2012","format":false,"excerpt":"I'm cheap on spending money on real estate stuff from vendors promising all kinds of things, whether it is leads or exposure.\u00a0 But, I went ahead and tried out a real estate search utility that is setup for WordPress.\u00a0 There were three reasons I chose to do it:\u00a0 1) They\u2026","rel":"","context":"In &quot;Marketing&quot;","block_context":{"text":"Marketing","link":"https:\/\/www.bloodhoundrealty.com\/BloodhoundBlog\/category\/marketing\/"},"img":{"alt_text":"Search for Pateros areas properties near Lake Chelan","src":"https:\/\/i0.wp.com\/www.bloodhoundrealty.com\/BloodhoundBlog\/wp-content\/uploads\/2012\/06\/Pateros-Area-Property-Search.jpg?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":2470,"url":"https:\/\/www.bloodhoundrealty.com\/BloodhoundBlog\/2470\/speaking-in-tongues-a-step-by-step-guide-to-speaking-in-web-sites\/","url_meta":{"origin":174,"position":1},"title":"Speaking in tongues: A step-by-step guide to speaking in web sites","author":"Greg Swann","date":"January 4, 2008","format":false,"excerpt":"I never know what other people don't see. Cathleen didn't know that BloodhoundBlog and DistinctivePhoenix.com are based on the same WordPress template. Likewise for Real Estate Weblogging 101 and The Phoenix Real Estate Technology Exchange. She could see the differences, but not the similarities, not until I noodged her to\u2026","rel":"","context":"In &quot;Blogging&quot;","block_context":{"text":"Blogging","link":"https:\/\/www.bloodhoundrealty.com\/BloodhoundBlog\/category\/blogging\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":9613,"url":"https:\/\/www.bloodhoundrealty.com\/BloodhoundBlog\/9613\/introducing-manny-fae-and-merry-fac\/","url_meta":{"origin":174,"position":2},"title":"Introducing Manny Fae and Merry Fac","author":"Brian Brady","date":"September 2, 2009","format":false,"excerpt":"\"Plus \u00e7a change, plus c'est la m\u00eame chose\"- Jean-Baptiste Alphonse Carr, 1849 Hat tip to Matt Graham and Adam Quinones\u00a0of Mortgage News Daily You gotta hand it to the powerful Mortgage Bankers Association of America (MBAA).\u00a0 What they lack in imagination, they make up for in chutzpah.\u00a0 The MBAA released\u2026","rel":"","context":"In &quot;Lending&quot;","block_context":{"text":"Lending","link":"https:\/\/www.bloodhoundrealty.com\/BloodhoundBlog\/category\/lending\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1224,"url":"https:\/\/www.bloodhoundrealty.com\/BloodhoundBlog\/1224\/how-to-make-google-your-weblogs-best-friend\/","url_meta":{"origin":174,"position":3},"title":"Project Bloodhound: How to make Google your weblog&#8217;s best friend","author":"Greg Swann","date":"June 27, 2008","format":false,"excerpt":"[This is one of the all-time most popular posts on BloodhoundBlog. I'm reprising it for Project Bloodhound, first because it's a nice leveraged SEO solution, and second because it's a painless introduction to customizing the PHP in WordPress. --GSS] \u00a0Who can probe all the mysteries of Google? Not me, and\u2026","rel":"","context":"In &quot;Blogging&quot;","block_context":{"text":"Blogging","link":"https:\/\/www.bloodhoundrealty.com\/BloodhoundBlog\/category\/blogging\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":4847,"url":"https:\/\/www.bloodhoundrealty.com\/BloodhoundBlog\/4847\/following-a-trail-of-breadcrumbs-from-an-internet-enabled-cell-phone\/","url_meta":{"origin":174,"position":4},"title":"Following a trail of breadcrumbs from an internet-enabled cell phone","author":"Greg Swann","date":"October 7, 2008","format":false,"excerpt":"I've written about our breadcrumbs philosophy before. Cliff's Notes: If we build a single property web site for a listing -- or a previewing site for buyers featuring dozens of houses -- we never delete worthwhile work product from our file server:We leave the pages and sites on our file\u2026","rel":"","context":"In &quot;Marketing&quot;","block_context":{"text":"Marketing","link":"https:\/\/www.bloodhoundrealty.com\/BloodhoundBlog\/category\/marketing\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":2462,"url":"https:\/\/www.bloodhoundrealty.com\/BloodhoundBlog\/2462\/speaking-in-tongues-just-for-cheryl-johnson-building-content-rich-custom-web-sites-in-php\/","url_meta":{"origin":174,"position":5},"title":"Speaking in tongues just for Cheryl Johnson: Building content-rich custom web sites in PHP","author":"Greg Swann","date":"January 2, 2008","format":false,"excerpt":"The deafening clamor in my mailbox suggests that almost nobody is interested in what I have to say about using PHP to automate weblog and web site content creation. That's actually a good sign, in the sense that automated web site creation is one of the key tools we use\u2026","rel":"","context":"In &quot;Marketing&quot;","block_context":{"text":"Marketing","link":"https:\/\/www.bloodhoundrealty.com\/BloodhoundBlog\/category\/marketing\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.bloodhoundrealty.com\/BloodhoundBlog\/wp-json\/wp\/v2\/posts\/174","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bloodhoundrealty.com\/BloodhoundBlog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bloodhoundrealty.com\/BloodhoundBlog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bloodhoundrealty.com\/BloodhoundBlog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bloodhoundrealty.com\/BloodhoundBlog\/wp-json\/wp\/v2\/comments?post=174"}],"version-history":[{"count":0,"href":"https:\/\/www.bloodhoundrealty.com\/BloodhoundBlog\/wp-json\/wp\/v2\/posts\/174\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.bloodhoundrealty.com\/BloodhoundBlog\/wp-json\/wp\/v2\/media?parent=174"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bloodhoundrealty.com\/BloodhoundBlog\/wp-json\/wp\/v2\/categories?post=174"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bloodhoundrealty.com\/BloodhoundBlog\/wp-json\/wp\/v2\/tags?post=174"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}