PSA: Clear Your Cache

This was another week of bits-and-pieces work on my final project, scsstudentlife.com. I’m starting to feel more organized about my workflow, and can better articulate for myself specific problems I want to solve (and specific features I want to add). I’m sure there will be a long wish-list at the end of this project. In fact, there’s a wish list at the end of this post. But I also want to share two tips I learned this week.

Add content for clarity

Even though the site content isn’t a huge part of the assignment, I started having trouble assigning custom CSS to my skeleton site. Filling out the menus and adding a few posts for each post type not only boosted my confidence, but gave me a better sense of what the final live product will look like. Plus, you might find that you don’t like some of your custom theme choices when you see them en masse.

Clear your browser cache

I spent a good amount of time trying to troubleshoot my custom CSS. I would save my Sublime Text file, refresh my test site, and nothing would change. Finally I realized that the data on my test site was cached! Duh! I cleared my history on both browsers that I’ve been toggling between (Firefox and Chrome) and was relieved to see my latest changes finally visible. The final check? I opened my site on my phone.

Questions for the next workshop (minimum viable product)

  • My custom post types are working, but I’ve noticed that the data entered into the metaboxes doesn’t display on the post. I’d love to make those visible and searchable.
  • I made a custom 404 error page by copying the PHP file from the parent theme and adding custom content. I’d like to be able to use the same content for the error page that appears when a search term can’t be found, but I’m not sure where that code is…

Wish list for the future

  • A PHP/jQuery connection that would automatically add new “event” posts to a separate event calendar.
  • A method to organize events by event date, and to remove past events.
  • A “new!” indicator for job posts fewer than two weeks old.
  • Multiple admin levels for use by a team of people, preferably with some built-in approval workflow.

1 thought on “PSA: Clear Your Cache

  1. Greg Linch

    Have you had any luck searching online for how to get your custom meta box data to display on the site or for the 404 page question? What kinds of phrases have you been searching with?

    Please let me know via email!

    Reply

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.