This update of the plugin adds a neat feature which will attempt to find the first image in a post content and use this as the thumbnail for the summary even if no image was attached to the post itself (a common issue with WordPress and excerpts).
You can now also specify the dimensions of the image thumbnails using the options e.g:
See this post for details or visit the official WordPress plugin page for the download.
Version 1.7 has been released.
Added in v1.7:
- hide_read_more : set to ‘true’ to hide the read more link
- create_para_tags : set to ‘true’ to use the WP ‘wpautop’ function to create <p> tags and <br> tags from line breaks
- order : set to ‘ASC’ or ‘DESC’ – Designates the ascending or descending order of the ‘orderby’ parameter. Defaults to ‘DESC’
I have also made the source available for others to contribute and improve the plugin where possible on github – https://github.com/shibbard/posts-for-page
A nice write-up of this plugin was made over at Edusaurus here Creating Mini-Blogs and the Posts-for-Page Plugin
For plugin usage and details see this page.
You may have come across the situation where you are making a jQuery AJAX GET request to update part of your page with changing content, but it never updates or just returns blank content.
This issue has been around a long time, since first use of Ajax calls via XMLHTTP, but still causes headaches for people trying to debug the problem now.
What it actually comes down to is that the ‘Get’ call is working correctly, but Internet
Explorer (IE) caches the response, so you never get the updated results from the server.
What are the options:
Latest release of jQuery modalPopLite. Super simple jquery modal popup window.
V1.3.1 adds the ability to provide a callback function to execute code when the user closes the popup.
Instructions and download here:
You can see it in use on the home page here (more info buttons on products under the banner):
Also on the product pages for playing back videos:
WordPress ‘Posts for Page’ plugin has been updated with support for some requested features.
Actual post excerpts can now be shown rather than the post content itself just limited in length. Post text can be hidden, e.g. if you just want to show post titles. Meta data can be shown to display the post date and author name. HTML content can be stripped from the shortened posts (if not using the excerpt). Post titles can be hidden.
- use_wp_excerpt – show the WP generated excerpt or the excerpt if defined for the post
- strip_html : attempts to strip all HTML content (if not using use_wp_excerpt option)
- hide_post_content : set to ‘true’ to only show the post titles
- show_meta : set to ‘true’ to show post date and author name
- hide_post_title : set to ‘true’ to hide the post title, e.g. if you just want to show one post using post_id
Full instructions and download can be found here or go to the official WordPress plugin page.
I have always been a fan of Firefox and encouraged other developers to use it, addons such as Firebug and YSlow are simply essential tools for anything more than your most basic web page, and will even help with those. Neither the developer tools in Chrome, Safari or IE can really compete.
There certainly does seem to be an issue with the latest version of Firefox though regarding Continue reading
I really needed a way to show summarised posts by for a particular category or set of tags under the heading of a single page and could not find a suitable plugin, so I decided to write one.
If you go to the page link “ASP.Net” in the header of this site you will see snipped posts from the category ASP.Net. If you click on “HTML/CSS/jQuery” what you see is summarised versions of the posts tagged with either ‘HTML’, ‘CSS’ or ‘jQuery’.
This is a new plugin to provide a simple and lightweight jQuery popup dialog box. It has been purposely designed with minimal features to keep it small and simple to use for when you just want a popup window without all the fuss. Continue reading