Code to limit the number of sticky posts shown in a page
/* Get all sticky posts */
$sticky = get_option( ‘sticky_posts’ );
/* Sort the stickies with the newest ones at the top */
rsort( $sticky );
/* Get the 2 newest stickies (change 5 for a different number) */
$sticky = array_slice( $sticky, 0, 5 );
/* Query sticky posts */
query_posts( array( ‘post__in’ => $sticky, ‘caller_get_posts’ => 1 ) );
dsIDXpress is a plugin for wordpress that gives IDX functionality to wordpress based site.
It allows visitors to search and browse available properties in your MLS.
Search engine will index properties from MLS on the website.
dsIDXpress works with Thesis 1.x series, but recently did a site on Thesis 2. Widgets, shortcodes etc will work without any issues.
But the page that displays the details of single property is not working. It just shows the contents of home page.
dsIDXpress is not recognizing any templates in Thesis 2.
Hope the plugin developer and thesis theme developer share their knowledge and figure out a fix / solution.
Here is the preview of a simple cool wordpress theme:
Theme Home page Preview
I will upload this free theme here as soon as it is finished, now some final touches…
Most of the colors can be changed using css.
Suggestions and new ideas will be very much appreciated…
Update: Download link : http://worth2read.org/blog/yellow_blue.zip
Does anybody know nice real estate wordpress themes.
I made an attempt to tweak the city light theme available as part of open realty.
Suggestions will be appreciated…
Demo is here at : http://worth2read.org/restate/wordpress
Contact me for customizations…