Category Archives: Technology

How to Exclude a Post or Page from WordPress Search Results

I needed to have one post in a site I’m building not appear in search results. I came across this handy bit of code that totally does the trick, and it works for a page, too:

/** Exclude from search */
function mySearchFilter($query) {
if ($query->is_search) {
$excludeId = 199;
$query->set('post__not_in', array($excludeId));
}
return $query;
}
add_filter('pre_get_posts','mySearchFilter');

Copy and paste the above code in your theme’s Functions file:

Dashboard > Appearance > Themes > Editor > Functions.php

Then, replace “199” in this example with the ID of the page or post you want excluded. To find the ID, edit the page or post in the dashboard and look for this number:

postnumber

You might need to access the Functions.php file in your themes folder via FTP if you have a custom install.

This right here is one of the main reasons I love WordPress. Because it’s open source and so widely-adopted, chances are there’s a solution for whatever basic issue may arise. To find this result I just Googled, “How to exclude page in WordPress search” and was taken to this support discussion from several years ago. Even though it’s from a previous decade, the advice still worked, and I hope it might help you also.

What do you think? Have you ever been led to WordPress forums via Google search for a how-to type of question? How do you prefer to find answers to these issues? Let us hear from you in the comments.

A Funny Thing Happened On The Way To A Support Ticket

No ticket – not an option!  Buh-bye!

bluehost1

My web hosting company, Bluehost, has opted no longer to offer tickets for support. Instead, they are seeking to focus on chat and phone as primary communication channels for website issues.

As someone who has run sites for nearly two decades now, this is unheard of. On one hand, I absolutely understand how support tickets can be a bottomless pit for support staff, often containing not enough information to address an issue.

On the other hand, I’ve often enjoyed the convenience of opening a ticket then getting back to work while awaiting a response, then having it documented as the conversation progressed, sometimes with it being emailed back to me for future reference (from Bluehost & others).

I had an issue with my art website, RSMITHINGS.com this morning, and within 10 minutes I opened a chat session and it was resolved. Plus, I’ve had great help from Bluehost’s phone support in the past as well.

bluehost2

So in my own personal experience, not having tickets has been so far, so good. Still, this is a major shift in approach. I reached out to Bluehost support via Twitter for some details, and they confirmed the switch:

I have mixed feelings about this, but hey, if my issues can be resolved faster this way, I’m all for it.

What do you think? Do you prefer phone, chat or tickets for website tech support? Let us hear from you in the comments.

Space: Within our Reach… or, Redefining iCloud

A while back, I saw this news item about Lenovo & YouTube’s Space Lab project, and was reminded of an equally, if not more-so awesome father-son team who sent an iPhone into space by themselves. Best of all, they have video of it from start to end. It’s truly inspiring, gives iCloud a new meaning, and is worth a few minutes if you don’t mind being totally blown away.

Advanced Level Invisibility

Corgi

For those interested in the Advanced Level Invisibility course, Professor Gus here will be focusing on three key areas: 1) stealth poses, 2) blending in with your environment, and 3) utilizing furniture.

How Do I Print My Screen?

Press the Print Screen button (PrtSc).

The Print Screen button

The Print Screen button, located in the upper right corner.

On a Windows PC this captures what’s on your screen, ready for Word, PowerPoint, Outlook, or anywhere you can paste an image. After pressing “PrtSc,” go to your document and click “Ctrl+V” or go File > Paste to place the image. You can then click & drag the picture’s corners to resize it.

If using a Mac, hold the Shift, Command and number “3” keys at the same time. An image file appears on your desktop automatically upon release.

How do I save my screen as a jpg image?

On a PC, the fastest way is via MS Paint after hitting Print Screen.

Just go: Start > type “paint” > click to open, then paste & save.

Steps to saving your screen as an image

How to save your screen as an image using MS Paint

That’s it!

A colleague asked me to do this for him recently, and instead I showed him how so he would know forever. So I thought I’d see how directly I could write a blog post illustrating the process. I hope you found this useful.

What do you think? If you already knew how to get a screen grab (or “screen shot,” or “screen capture”), how did you learn to do this? Let us hear from you in the comments.

We Can Land A Probe on a Comet, But…

We can’t seem to get the hang of text transcription.

WSJ2

In a mind-blowing feat of scientific achievement, the European Space Agency successfully landed a probe on a comet this week. That’s amazing. In its video coverage, the Wall Street Journal assembled a video wrap-up with a transcription that was well, interesting…

WSJ1The transcribing robot is clearly on something and needs to go home. I picture its voice like that of Slater from the film Dazed and Confused in a finer moment.

Here’s a summary of the event at the official Flickr blog, which links to the ESA’s Flickr stream which, as you might guess, is full of some dazzling imagery and updates from the Rosetta probe these days.

esa

And here’s the full text of the Wall Street Journal transcription. Remember to picture it read in stoner voice:

a tiny robot called feline meet St day … this means to buy a few that … shows the man to just three km above the surface of the call for many of the scientists who work there has been a ticking along with another crucial moment has finally come … feel that has landed … it is the first time in history … as a spacecraft landed … on the alien landscape awful cough the the the uh uh uh uh uh uh uh uh the the who believe that most of whom the YouTube is … nobody looks great it and as of this of this … sickness who looked as though one more crucial with the head … up to seven not descend from its mother ship present or … feel a let’s get to work … the job is to learn as much as it can about the comic and as quickly as possible its ten instruments will be taken back to that the errors that … feel as cameras will take high resolution images of its new home into a … the lender will analyze the composition and structure of the comments of this material … has also driven system that will be the material for twenty centimeters below the surface … there will also analyze the water and comic be sixty seven to see if it’s the same chemical flavor as that found on a … if this is confirmed … it would bolster the theory that the sum of its Walker … could have been brought him back on its … beelining also collects valuable data as the sixty seven was closer to the sun … in particular the question of dimensions of life … why has the right to marriage on the ears … oh … and the process by which like the marriage … of a generic in the mirror so specific thrust on us to send … the speedo mammal these critical questions and luckily in the comments have the … the way to offer a clue statistic for that … whatever happens to the land … was at the will continue to travel alongside the comic and take measurements … for Keystone of eighteen months …

Wall Street Journal, November 12, 2014

What do you think? Ever had any funny experiences with text-to-speech software? What are your thoughts on human beings being able to successfully send photos from the surface of a comet? Let us hear from you in the comments.

Is Kodak the Next PBR?

Could a flavor for the vintage be a win for Kodak?

Kodak-PBR LogoFull disclosure: my first camera was a Kodak, both in film and digital. And their business allegory is one for the ages in terms of a Shakespearean rise to dominance and a spectacular fall from greatness. So it was with keen interest I noted this story at Marketplace on modern film directors wanting to shore up Kodak film for motion picture production. Similar to the way Pabst Blue Ribbon is a long-standing brand that has developed a retro-cred cachet, or the way General Motors is evolving the Cadillac brand — an iconic namesake being reworked for modern relevance — the thought is that there’s enough of a desire for “the way things used to be” to make this happen for Kodak. As one with an active creative pursuit involving photography and image-making, as well as an understanding of corporate communication and PR, I think this could happen, but only, as Marketplace notes, if investment indeed goes toward innovation, rather than propping up the status quo. Personally, I have great nostalgic fondness for brands like Kodak, and have to respect the call of talented creators like Quentin Tarantino and J.J. Abrams furthering this cause. Good on those guys, who, like me, have appreciation for the past and feel that some things are worth keeping around, especially in the name of art.

What do you think? Do you have a preference for anything being done “the old-fashioned way?” Are there any brands you immediately think of as nostalgic yet still with us? Let us hear from you in the comments.