Hack: Allow Future Posts To Be Viewed

Suppose you want to publish a post in the near future, but allow people to view it now. Why would you want to do that? Well, suppose you have a regular publishing schedule like I do. But then someone asks a question and you create a post that answers that question. You already have the next few days’ worth of posts scheduled, so this new one is set for next week. But you want to be able to let that person see the post now. So you want the post to appear on your front page, feeds, and category lists as scheduled. But if someone knows the URL, then they can view the post instead of seeing a Not Found error.

Continue reading “Hack: Allow Future Posts To Be Viewed”

Tip: Making Audio Posts

You don’t always have to use text or video for your posts. You can use just some audio when it is appropriate. For music creators, it can be ideal. But even for wordsmiths, it can sometimes be useful to turn a voice recording into a post. It can help you get complex ideas on to your site quicker, and provide a nice personal touch. If you are a Mac user, you can use the Voice Memos app to record and drag directly into WordPress. If you experience the “security reasons” bug when trying to upload your audio, see https://wptipsandhacks.com/hacks/fixing-the-security-reasons-media-upload-bug.html for a solution.

Continue reading “Tip: Making Audio Posts”

Hack: Fixing the “Security Reasons” Media Upload Bug

There are lots of people complaining about trying to upload media to WordPress and getting a “Not Permitted For Security Reasons” error message. Sounds pretty serious, but what it actually means is that the file type is not on a list of allowed file types for upload. So if you are trying to upload an audio .m4a file, like I was this week, it doesn’t mean m4a files are security risks, just that the file type isn’t on the list of allowed types.

Continue reading “Hack: Fixing the “Security Reasons” Media Upload Bug”

Hack: Use Time Ago Instead of Dates and Times For Comments

Having the date and time next to each comment on your site works fine. But social media networks have conditioned everyone to look at “time ago” indicators instead, like “3 minutes ago” and “2 days ago” and such. You can get these in your WordPress comments easily with an addition to your functions.php file.

Continue reading “Hack: Use Time Ago Instead of Dates and Times For Comments”

Hack: Delay Posts In RSS Feeds

Yesterday I showed you how to remove the RSS feeds from your site. If you use RSS feeds, though, there is one change you may want to think about. Instead of having new posts immediately appear on feeds, you could delay them. One reason to do this is because some people get alerts from their RSS reader when new posts appear. That can be awkward if you accidentally publish something early and then change it.

Continue reading “Hack: Delay Posts In RSS Feeds”