24 articles WordPress Page 4 / 5

Make a custom WordPress shortcode that will allow you to show a list of pages or posts , show an excerpt and/or post image and access the wp_query and loop custom results with flexibility

In WordPress, you can do a lot with shortcodes, the problem is, some work fine then one day they just break.  It's best to stick with ones that work reliably, even when you upgrade.  I'm showing parts of a function I wrote for a custom shortcode that should get you started in looking at ways…

Getting the “white screen of death” in your WordPress admin? First try to increase the memory allocation WordPress uses

Performance of your website, especially when using a CMS or framework, may often tax your server to the point it bogs down or throws fatal "out of memory" errors. It's often hard to troubleshoot these issues because sometimes the server runs out of memory before it can even report the error, or the error it…

Accessing URL Query String (Get Variables) inside WordPress through PHP

Adding this to your template file or functions.php in some cases will allow your PHP scripts to access variables passed in the URL query strings.  You know, that ugly text after the Question mark in the website address:  "http://tools.belchamber.us?variable=value&variable2=value".  Most of you probably already figured out just looking at these type of URLs that some…

Add an RSS post thumbnail to an RSS feed

RSS feeds are handy, but let's face it, images do say so much more than words.  They stand out and grab attention, they help people identify blocks of information quicker.  They really are worth 1,000 words if you think about it.  Sometimes, a lot more.... Add this to your template or into your functions.php file:…

WordPress suggestion for improvement: “Update & View” button

How often do you find yourself making a change to a post or a page, clicking "Update" then the "View Page" link?  Why not just have another button by "Publish" and "Update" that says " and View" so you can do it all at once?  Just a suggestion, maybe I'll get around to writing a…