-
Rob Clark authored
This release focuses on implementing Testimonial functionality into the theme and hiding all references to Wordpress' built-in blogging functionality. With those two items in place, a majority of development geared toward backend and content-building functionality is complete. Future releases will primarily focus on the public-facing portion of the site, with the primary items being UX improvements and mobile responsiveness. Changes: - Added theme functions that remove the admin menu links for Posts and Comments, since built-in blog functionality won't be utilized in the initial site release, as well as the Post option in the "+ New" dropdown menu in the admin toolbar. - Added a theme function to prevent new posts from accidently being created if someone randomly stumbles upon the Post tab of the admin dashboard. When a user attempts to add a blog post, a message that reads "Blog posts are currently not supported by the Crossfit RTR theme." is displayed. - Some explanation of the last 2 bullets: References to Wordpress's built-in blogging functionality have been removed to avoid confusion of where to add content. While this functionality could have been repurposed to support Testimonials, I chose to leave it intact, but disabled, in case they ever want to have a blog. - Added a new custom post type for Testimonials, with support for standard content, manual excerpts, and post thumbnails. Like Coaches, Testimonials are a private post type (URLs for each are not automatically generated), and are used to build out content on page templates. - Added an option to the Testimonials editor for adding extra info (such as age) to the full testimonial overlay, line by line. - Added an image size for testimonial Featured Images (800px wide by 800px tall) - Added a Testimonials page template with options to specify which testimonials to display in which order. - Integrated Read More buttons in testimonial rows with Wordpress's ajax api to automatically pull and populate modal content when a Read More button is clicked. Testimonial modals suffer the same lag experienced with coach modals. This issue will be addressed in beta 1.
ea4bde89