Forms
- New Customer Agreement, to function and look like https://www.reinhardthomeheating.com/new-customer-agreement.php. unless some aspects are hard to achieve economically.
- When copied to other sites, the form may have a few fields removed for Paul Oil and S&D. UPDATE: Form can be the same for the four company sites.
- QUESTION: Do these get sent or stored in the database?
- Can the form be easily copied to the sub-sites? (Then change distributions.)
- Changes requested to make each field type same as on existing form: some sections more compact, change dropdown no/yes and horiz/vert to radio buttons, change multi-select to checkboxes.
- Form submission needs to redirect to /thankyou-new/ page.
The rest of these are lower priority than the Theme and Functions questions below.
22. Contact Us, like https://www.reinhardthomeheating.com/about-contact-reinhardt-home-heating.php
23. Feedback, like https://www.reinhardthomeheating.com/about-give-feedback.php
24. Service Estimates, like https://www.reinhardthomeheating.com/services-fuel-and-propane-service-estimates.php
25. Third Party Notification Request, like https://www.reinhardthomeheating.com/thirdparty.php
Theme and Functions
I have a bunch of theme styling/function items that I can’t easily solve and would like your help rather than continue to drag out the time to completion. The items from the original worklist are also included here but in a different order. A reminder: the theme is based on Studio Press Third Party Hello Pro 3. In many places where I have modified it, I have included a note with my initials DAM, but I have also missed making notes in some places. Note: version 3 of Hello Pro seems to be missing the front-page.php file, but I have constructed the home page using blocks.
Note that I am still using other themes on some sub-sites for various reasons. Initially, all of your work will be in the Reinhardt theme on the main https://www.reinhardtcorp.com/ site.
1/21/20: We can update to WP 5.6 if you don’t have any concerns.
Always assume that if the implementation of any of these below is difficult/costly, we should have a discussion of alternatives.
- Default Layout: DONE
- Sidebar block: DONE
- Page block: DONE
- Message block: DONE
- Relocate Page Title: Mostly Done, BrandiD
- Add Before Header widget: BrandiD
- Colors: BrandiD
- Modify one breadcrumb: BrandiD
- Accordions: BrandiD
- Home Page Slider: BrandiD
- Testimonials: a) DAM to create archive page manually on each site, b) BrandiD
- Zip Code Locator: I have created a Custom Post Type “Zip Codes” and loaded the appropriate zip codes for each site. In the parent site, treat it as if it is “RHH” and establish the logic and pages to display “Yes,” “No,” and “Alternate Company,” similar to existing site logic, when someone does a zip code search. We will then copy to other sites, tailoring if needed. The search form should be “included” in the Reusable block “Zip Code Locator,” or replace this with similar if easier.
- Responsive menu layout and max width: BrandiD
Detailed info re: #12: The existing suite of websites, https://www.reinhardthomeheating.com/, https://www.reesemarshall.com/, https://www.pauloil.com/, and https://www.sdpetroleum.com/ are sub-sites of a parent https://www.warmfriends.com/ that are connected using symlinks. The zip code logic in the live installation, when a zip code is submitted, first determines from which site the query is being made, and then delivers the resultant yes, no, or alternate. Examples can be demonstrated as follows, entering each of these into https://www.reinhardthomeheating.com/become-customer.php:
- Enter zip code 13411 which results in “yes, you are within our area of service,” https://www.reinhardthomeheating.com/area-we-serve.php.
- Even though that zip code also exists in the region of https://www.reesemarshall.com/, that becomes irrelevant when searching from https://www.reinhardthomeheating.com/, and that zip code was removed from sub-site 2 in the new installation.
- Enter 13124 or 13425 into sub-site 2 and it generates a “no, with alternate companies” https://www.reinhardthomeheating.com/alternate-companies-serving-your-area.php?z=13124 and https://www.reinhardthomeheating.com/alternate-companies-serving-your-area.php?z=13425.
- Enter 05673 and it generates a “no, sorry.”
In the WordPress multi-site now being developed, to keep the logic simpler, the query logic will be driven from each individual sub-site (known starting point), and the file(s) copied to each as needed.
In preparation for this, the ReinhardtCorp parent site ID1 includes all zip codes as a custom post type, with those served by multiple companies duplicated. The duplicated “titles”–the actual zip codes–are differentiated in the permalink by a -2, -3, -4, or -5 for RHH, RM, PO, and SD respectively (corresponding to their sub-site ID). These zip codes were pushed to the sub-sites using the Distributor plugin, and then tailored for the overlapping areas in each sub-site.
For RM, for example, in the middle of the four-company region, the duplicates tied to other companies t tf in the overlap areas were removed from the RM sub-site because “yes” can be displayed and no alternates need be displayed. (That is why RM has the fewest remaining of the original total of 116.) Zip codes not in ReinhardtCorp’s service area and alternates will be displayed accordingly by querying those found in the sub-site.
(end)
Completed
- Database Sharing Method
- News
- Default layout is full width. Posts and the archive post page (Latest News) are set to have the primary sidebar by adding a single and archive page to the theme.
- Sidebar block: Related Pages Template Convert
- Page block: Page Template Convert
- Message block: Reusable Blocks made from Genesis Custom Blocks display in three layouts as shown in (open accordion) https://www.reinhardthomeheating.com/services-service-agreements.php, https://www.reinhardthomeheating.com/services-new-york-fuel-products.php, https://www.reinhardthomeheating.com/index.php.