<?xml version="1.0" encoding="UTF-8"?> <rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" ><channel><title>Sparklette Studio</title> <atom:link href="http://design.sparklette.net/feed/" rel="self" type="application/rss+xml" /><link>http://design.sparklette.net</link> <description>Web Design, Development &#38; Consultancy</description> <lastBuildDate>Thu, 03 May 2012 07:16:31 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.2</generator> <item><title>How many WordPress plugins do you use?</title><link>http://design.sparklette.net/asks/how-many-wordpress-plugins-do-you-use/</link> <comments>http://design.sparklette.net/asks/how-many-wordpress-plugins-do-you-use/#comments</comments> <pubDate>Mon, 19 Dec 2011 06:00:27 +0000</pubDate> <dc:creator>Veron Ang</dc:creator> <category><![CDATA[Poll]]></category> <category><![CDATA[WordPress]]></category> <category><![CDATA[WordPress plugin]]></category><guid isPermaLink="false">http://design.sparklette.net/?p=68</guid> <description><![CDATA[With WordPress plugins, it becomes extremely easy to add various functionalities and nifty features to your site with minimal web programming and design knowledge. However, some plugins may not be [...]]]></description> <content:encoded><![CDATA[<p><img src="http://design.sparklette.net/wp-content/blogs.dir/5/files/2011/12/chart.png" alt="" title="Poll: How many active plugins do you have on your WordPress site?" width="128" height="128" class="fr borderless" />With WordPress plugins, it becomes extremely easy to add various functionalities and nifty features to your site with minimal web programming and design knowledge. However, some plugins may not be efficiently coded and can result in heavier load for your site.</p><p>This is one reason why some of us prefer to keep plugin overhead to a minimum, and find alternative solutions that we have better control over where possible.</p><p>Do you use many plugins? How many plugins are currently active on your WordPress site? <strong>Take the poll below and feel free to share your thoughts on plugin use.</strong></p> Note: There is a poll embedded within this post, please visit the site to participate in this post's poll.<h4>Recommended for you</h4><p>Here are a few tutorials on how some commonly used WordPress plugins can be easily replaced by adding new functions to your theme:</p><ul><li><a href="http://design.sparklette.net/teaches/how-to-add-wordpress-pagination-without-a-plugin/">How to Add WordPress Pagination without a Plugin [Enhanced]</a></li><li><a href="http://design.sparklette.net/teaches/how-to-add-wordpress-paged-comments-without-a-plugin/">How to Add WordPress Paged Comments without a Plugin (plus CSS Styling)</a></li><li><a href="http://design.sparklette.net/teaches/how-to-display-most-commented-posts-in-wordpress-without-a-plugin/">How to Display Most Commented Posts in WordPress without a Plugin</a></li><li><a href="http://design.sparklette.net/teaches/how-to-display-user-comment-count-in-wordpress-without-a-plugin/">How to Display Every User&#8217;s Comment Count in WordPress without a Plugin</a></li></ul> ]]></content:encoded> <wfw:commentRss>http://design.sparklette.net/asks/how-many-wordpress-plugins-do-you-use/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>WordPress 3.3 is out!</title><link>http://design.sparklette.net/reports/wordpress-3-3-is-out/</link> <comments>http://design.sparklette.net/reports/wordpress-3-3-is-out/#comments</comments> <pubDate>Tue, 13 Dec 2011 05:20:30 +0000</pubDate> <dc:creator>Veron Ang</dc:creator> <category><![CDATA[News]]></category> <category><![CDATA[WordPress]]></category><guid isPermaLink="false">http://design.sparklette.net/?p=57</guid> <description><![CDATA[WordPress 3.3 has just been released today! You can download or update inside your WordPress dashboard immediately. Here on Sparklette, we usually make use of the brilliant one-click update within [...]]]></description> <content:encoded><![CDATA[<p><img src="http://design.sparklette.net/wp-content/blogs.dir/5/files/2011/12/wordpress-3.3.png" alt="WordPress 3.3" title="WordPress 3.3" width="150" height="150" class="fr size-full wp-image-58" /></p><p><strong>WordPress 3.3</strong> has just been released today! You can <a href="http://wordpress.org/download/" rel="nofollow" target="_blank" class="external">download</a> or update inside your WordPress dashboard immediately.</p><p>Here on Sparklette, we usually make use of the brilliant one-click update within WordPress to do the upgrade. Only in our case we actually have the <a href="http://design.sparklette.net/teaches/how-to-change-wordpress-multisite-from-subdomains-to-subfolders/">multisite</a> feature enabled so there&#8217;s an additional click to <em>Update Network</em>. Within minutes, we&#8217;re all set.</p><p>Have you updated your site to the latest WordPress 3.3 yet? Check out what&#8217;s new:</p><p><embed type="application/x-shockwave-flash" src="http://s0.videopress.com/player.swf?v=1.03" width="650" height="400" wmode="direct" seamlesstabbing="true" allowfullscreen="true" allowscriptaccess="always" overstretch="true" flashvars="guid=I7NAw9Zk&amp;isDynamicSeeking=true"></embed></p><h2><span class="mw-headline" rel="nofollow" target="_blank" class="external">Highlights</span></h2><ul><li> Easier Uploading</p><ul><li> File Type Detection &#8211; A single upload button.</li><li> Drag-and-Drop Media Uploader</li></ul></li><li> Dashboard Design<ul><li> New Toolbar in the dashboard, combining the Admin Bar and admin header</li><li> Responsive design for some screens, including iPad/tablet support</li><li> Flyout menus, providing single-click access to any screen</li></ul></li><li> New User Experience<ul><li> New feature pointers, helping users navigate new features</li><li> Post-update About screen</li><li> Dashboard welcome area for new installs</li></ul></li><li> Content Tools<ul><li> Better co-editing that releases post locks immediately</li><li> Tumblr Importer</li><li> Don&#8217;t lose widgets when switching themes</li></ul></li><li> Under the Hood improvements<ul><li> Use the postname permalink structure without a performance penalty</li><li> Improved Editor API</li><li> <a href="http://codex.wordpress.org/Function_Reference/is_main_query" title="Function Reference/is main query" rel="nofollow" target="_blank" class="external">is_main_query()</a> function and WP_Query method</li><li> Remove a number of funky characters from post slugs</li><li> jQuery 1.7.1 and jQuery UI 1.8.16</li><li> A new Screen API for adding help documentation and adapting to screen contexts</li><li> Improved metadata API</li></ul></li><li> Performance improvements and hundreds of bug fixes</li></ul><h2> <span class="mw-headline" rel="nofollow" target="_blank" class="external">User Features</span></h2><h3> <span class="mw-headline" rel="nofollow" target="_blank" class="external">General</span></h3><ul><li> Admin doctype changed to HTML5 (<a href="http://core.trac.wordpress.org/ticket/18202" title="http://core.trac.wordpress.org/ticket/18202" rel="nofollow" target="_blank" class="external">#18202</a>)</li><li> Show admin bar in backend by default (<a href="http://core.trac.wordpress.org/ticket/17899" title="http://core.trac.wordpress.org/ticket/17899" rel="nofollow" target="_blank" class="external">#17899</a>)</li><li> Drag and drop multi-file uploading (except older IE)</li><li> Fix Press This editors</li><li> Switch admin menus to flyouts from dropdowns</li><li> WebMatrix support</li><li> Improve cron locking; avoid multiple cron processes looping over the same events</li><li> Add pointers feature, and pointer to admin bar</li><li> Introduce help tabs and WP_Screen</li><li> Style tweaks to the update nag</li></ul><h3> <span class="mw-headline" rel="nofollow" target="_blank" class="external">Dashboard</span></h3><ul><li> Ensure text in the dashboard recent comments widget wraps up properly</li></ul><h3> <span class="mw-headline" rel="nofollow" target="_blank" class="external">Posts</span></h3><ul><li> When inserting a Gallery to be ordered by Date/Time use the post_date field for ordering rather than ID</li><li> Rename &#8216;Post Tags&#8217; to &#8216;Tags&#8217;</li><li> Make DFW content width match exactly the reported width from the theme</li><li> Improve the image drag-resize detection in the visual editor (supported in FF and IE only), remove the size-* class if the image is soft-resized</li><li> Add TinyMCE command to handle opening of the upload/insert popup, fix the shortcut &#8220;Alt+Shift+M&#8221;, fix the &#8220;image&#8221; button in DFW</li><li> Allow Apostrophes in Post Passwords</li><li> Add post formats to quick edit and bulk edit</li><li> Hide post title field in DFW if title is not supported by the current post type or missing</li><li> Clean up remnants from having negative Post_ID</li></ul><h3> <span class="mw-headline" rel="nofollow" target="_blank" class="external">Media</span></h3><ul><li> Merge media buttons into one</li><li> Add the styling for &#8220;drop area&#8221; to Media-&gt;Add New</li><li> Add support for rar and 7z file uploading</li></ul><h3> <span class="mw-headline" rel="nofollow" target="_blank" class="external">Comments</span></h3><ul><li> Use WP_Editor when editing or replying to comments</li><li> Use &#8216;View Post&#8217; instead of &#8216;#&#8217; for view post links in comment rows</li></ul><h3> <span class="mw-headline" rel="nofollow" target="_blank" class="external">Appearance</span></h3><ul><li> Use the Settings fields/sections API in Twenty Eleven</li><li> Load all Parent theme stylesheets before Child theme stylesheets in the TinyMCE Editor</li><li> Clean up Plugin/Theme uploads after successfully installing them</li><li> Improved Theme upload and validation</li><li> Avoid losing widgets when switching themes</li><li> Make Distraction Free Writing content width match exactly the reported width from the theme</li><li> Allow current_theme_supports() to be used to check for specific post formats</li><li> Improved Menus</li><li> Contextual help for Twenty Eleven theme options page</li></ul><h3> <span class="mw-headline" rel="nofollow" target="_blank" class="external">Plugins</span></h3><ul><li> Improved Plugin upload and validation</li><li> Stop remembering the last viewed plugins screen; always show all plugins when returning to plugins.php</li></ul><h3> <span class="mw-headline" rel="nofollow" target="_blank" class="external">Tools</span></h3><ul><li> Add the Tumblr importer to the Importers List</li><li> Add wxr_export_skip_postmeta filter for skipping postmeta in exports</li></ul><h3> <span class="mw-headline" rel="nofollow" target="_blank" class="external">Users</span></h3><ul><li> Removed user option to disable Toolbar (admin-bar in 3.2) in the Dashboard</li></ul><h3> <span class="mw-headline" rel="nofollow" target="_blank" class="external">Settings</span></h3><ul><li> Add postname to Settings &gt; Permalinks and remove the help text talking about permalink performance; make the slugs (and /archives/ rewrite base) translatable</li><li> Clarify Settings &gt; Privacy</li><li> Use title case in Settings &gt; General</li><li> Disallow indexing wp-admin and wp-includes in robots.txt</li></ul><h3> <span class="mw-headline" rel="nofollow" target="_blank" class="external">Multisite</span></h3><ul><li> Allow creating sites with IDN domains</li><li> Move network/settings.php POST handling out of network/edit.php</li><li> Dissolve wp-admin/network/edit.php</li><li> Add &#8216;Network Enable&#8217; link after installing a theme in the network admin</li><li> Use update_blog_details() in wpmu_update_blogs_date()</li><li> Change Network Settings to just Settings</li><li> Implement bulk update for network/themes.php</li><li> Fix inviting existing users to a site with email confirmation</li><li> Check for plugin/theme updates every hour when hitting update-core.php, not just themes.php/plugins.php</li></ul><h2> <span class="mw-headline" rel="nofollow" target="_blank" class="external">Development, Themes, Plugins</span></h2><ul><li> Abstract word-trimming from wp_trim_excerpt() into wp_trim_words()</li><li> Add <a href="http://codex.wordpress.org/index.php?title=Plugin_API/Filter_Reference/wp_unique_post_slug&amp;action=edit&amp;redlink=1" title="Plugin API/Filter Reference/wp unique post slug (page does not exist)" rel="nofollow" target="_blank" class="external">wp_unique_post_slug</a> filter</li><li> Add _doing_it_wrong() when a plugin or theme accesses $wp_scripts or $wp_styles too early (also fixes localization)</li><li> Add a filter to <a href="http://codex.wordpress.org/Function_Reference/is_multi_author" title="Function Reference/is multi author" rel="nofollow" target="_blank" class="external">is_multi_author()</a></li><li> Add a general filter to wp_unique_post_slug to allow for full customisation of the uniqueness functionality</li><li> Add filter for the args into wp_dropdown_pages() in the page attributes box; give the list_pages filter the context of the post object</li><li> Add filter so the users can select custom image sizes added by themes and plugin</li><li> Add filters for install/upgrade queries, so that unit tests installer can force creating InnoDB tables, so that we can use transactions to revert the database to its initial state after each test</li><li> Add inflation support for java.util.zip.Deflater in WP_Http_Encoding::compatible_gzinflate()</li><li> Add magic get/set/isset methods to WP_User to avoid data duplication; standardize on WP_User::ID</li><li> Add pre_ent2ncr filter</li><li> add_site_option should not update existing options, should return a boolean and should only run actions on success</li><li> Allow get_blog_option(null,&#8230;) to hit the cache for the current blog; new return values for add_blog_option, update_blog_option, delete_blog_option; don&#8217;t set the cache in those functions if add/update/delete_option failed</li><li> Allow &#8216;id&#8217; to work in get_bookmarks(); add link_notes even though such sorting is a bad idea</li><li> Allow sorting by id in get_bookmarks()</li><li> Allow the text parameter in wp_trim_excerpt() to be omitted altogether, instead of requiring a blank string</li><li> Automatically set &#8216;compare&#8217; =&gt; &#8216;IN&#8217; in WP_Meta_Query::get_sql() when the meta value is an array</li><li> Change month dropdown display in date pickers to include month number</li><li> Completely remove wp_add_script_data()</li><li> Consolidate update count code into wp_get_update_data()</li><li> Count only published posts when updating term counts; fire term count updates on transition_post_status</li><li> Deprecate favorite_actions(), add_contextual_help(), add_screen_option(), move meta_box_prefs() and get_screen_icon() in WP_Screen</li><li> Deprecate <a href="http://codex.wordpress.org/Function_Reference/get_userdatabylogin" title="Function Reference/get userdatabylogin" rel="nofollow" target="_blank" class="external">get_userdatabylogin()</a> and <a href="http://codex.wordpress.org/Function_Reference/get_user_by_email" title="Function Reference/get user by email" rel="nofollow" target="_blank" class="external">get_user_by_email()</a></li><li> Deprecate media_upload_(image|audio|video|file)(), type_url_form_(image|audio|video|file)(); these now wrap wp_media_upload_handler() and wp_media_insert_url_form()</li><li> Deprecate RSS 0.92 feed and 301 it to the default feed</li><li> Deprecate screen_options(), screen_layout(), screen_meta()</li><li> Deprecate wpmu_admin_redirect_add_updated_param() and wpmu_admin_do_redirect()</li><li> Eliminate verbose rewrite rules for ambiguous rewrite structures, resulting in massive performance gains</li><li> Fix back compat issues with delete_postmeta and deleted_postmeta actions as these should be passed the meta ID</li><li> Fix QTags.closeAllTags(), replace &#8216;tb&#8217; with &#8216;ed&#8217; in quicktags,js to make it clear it is the editor instance not the toolbar, small comments quick edit fixes</li><li> Fix typos in documentation</li><li> Fix wp_update_user() so it doesn&#8217;t stomp meta fields</li><li> Force display_errors to off when WP_DEBUG_DISPLAY == false; technically a backwards incompatible change so if you want the passthrough to php.ini (which false used to provide) then use WP_DEBUG_DISPLAY === null</li><li> Harden up <a href="http://codex.wordpress.org/Function_Reference/is_user_logged_in" title="Function Reference/is user logged in" rel="nofollow" target="_blank" class="external">is_user_logged_in()</a> against empty $current_user instances to prevent PHP Notices on XML-RPC requests</li><li> Have dbDelta() loop through tables it knows about, rather than loop through a potentially expensive and definitely unnecessary SHOW TABLES</li><li> Improve _wp_menu_output()</li><li> Improve the parsing of email addresses in wp_mail to re-support RFC2822 nameless &#8220;&lt;address@…&gt;&#8221; style</li><li> Instantiate some MS variables as objects before using them</li><li> Introduce -&gt;mysql to allow drop-ins to declare themselves as MySQL and therefore allow minimum version checks to still apply</li><li> Introduce is_main_query() that compares the query object against $wp_the_query</li><li> Introduce metadata_exists(), WP_User::get_data_by(), WP_User::get(), WP_User::has_prop(). Don&#8217;t fill user objects with meta</li><li> Introduce new hooks, registered_post_type for <a href="http://codex.wordpress.org/Function_Reference/register_post_type" title="Function Reference/register post type" rel="nofollow" target="_blank" class="external">register_post_type</a>, and registered_taxonomy for <a href="http://codex.wordpress.org/Function_Reference/register_taxonomy" title="Function Reference/register taxonomy" rel="nofollow" target="_blank" class="external">register_taxonomy</a></li><li> Introduce register_meta(), get_metadata_by_mid(), and *_post_meta capabilities</li><li> Introduce wp_allowed_protocols() for use in wp_kses() and esc_url()</li><li> Introduce wp_cache_incr() and wp_cache_decr()</li><li> Introduce WP_Dependencies::get_data() method, change scripts and styles priority to follow the &#8220;natural&#8221; order in HTML, i.e. the last one wins</li><li> Introduce wp_get_db_schema() for retrieving various flavors of db schema; eliminates need to use global; allows multiple calls to wpmu_create_blog()</li><li> Introduce wp_suspend_cache_addition() to allow reduced memory usage when cache additions aren&#8217;t useful</li><li> Make check_theme_switched() run an action so plugins and themes authors can avoid losing widgets when switching themes</li><li> Optimise <a href="http://codex.wordpress.org/Function_Reference/get_term" title="Function Reference/get term" rel="nofollow" target="_blank" class="external">get_term</a> to not query for term_id = 0 and improve the prepared query to use&nbsp;%d for the term_id</li><li> Optimize parse_request for the home page</li><li> Performance improvement for <a href="http://codex.wordpress.org/Function_Reference/wp_list_pluck" title="Function Reference/wp list pluck" rel="nofollow" target="_blank" class="external">wp_list_pluck()</a></li><li> Properly handle display of Order, Template, and Parent page attributes in Quick/Bulk Edit</li><li> Properly handle nested arrays in wp_list_filter()</li><li> Recognize urls that start with a question mark as relative urls that do not require a scheme to be prepended</li><li> Refactor Quicktags</li><li> Remove return by ref from <a href="http://codex.wordpress.org/Function_Reference/get_role" title="Function Reference/get role" rel="nofollow" target="_blank" class="external">get_role()</a></li><li> Remove support for &lt;link rel=start&gt;, end, up, and index. These rel=&#8221;" values have been dropped by the HTML Working Group</li><li> Remove the old root feed files, but don&#8217;t add these files to old_files to leave them on existing installs</li><li> Require show_ui rather than public for a taxonomy&#8217;s parent post type</li><li> Rework <a href="http://codex.wordpress.org/Function_Reference/get_hidden_meta_boxes" title="Function Reference/get hidden meta boxes" rel="nofollow" target="_blank" class="external">get_hidden_meta_boxes()</a> to leverage a full WP_Screen object; prevents custom post types from having their explicitly supported meta boxes being hidden by default</li><li> Set up the post global variable in the comment feed loops so that any calls to post related template tags work correctly</li><li> Store screen help and options as static data against WP_Screen; individual screen objects no longer hold data it can&#8217;t re-generate on construction or otherwise fetch; convert_to_screen() now returns a WP_Screen object; various globals are gone; introduces WP_Screen::get_option(); allows for a formal factory to be introduced later</li><li> Support an array or comma-seperated list of excluded category IDs in get_adjacent_post()</li><li> Support for using <a href="http://codex.wordpress.org/Function_Reference/wp_enqueue_script" title="Function Reference/wp enqueue script" rel="nofollow" target="_blank" class="external">wp_enqueue_script()</a> and <a href="http://codex.wordpress.org/Function_Reference/wp_enqueue_style" title="Function Reference/wp enqueue style" rel="nofollow" target="_blank" class="external">wp_enqueue_style()</a> in the HTML body; all scripts and styles are added in the footer</li><li> Sync pomo library with the current GlotPress version</li><li> Turn delete_meta() , get_post_meta_by_id(), update_meta(), delete_post_meta_by_key() into wrappers around the <a href="http://codex.wordpress.org/Metadata_API" title="Metadata API" rel="nofollow" target="_blank" class="external">Metadata API</a>; add back compat *_postmeta actions to Metadata API</li><li> Turn <a href="http://codex.wordpress.org/WPMU_Functions/is_blog_user" title="WPMU Functions/is blog user" rel="nofollow" target="_blank" class="external">is_blog_user()</a> into a convenience wrapper around get_blogs_of_user(); fixes is_blog_user() for blog prefixes that do not contain a blog ID</li><li> Update blog last_updated time only on publish_post; both private_to_published and publish_phone are overly broad and otherwise redundant</li><li> Update jQuery to 1.7.1</li><li> Update jQuery UI to 1.8.16</li><li> Update Plupload to 1.5.1.1</li><li> Update quicktags.js (HTML editor)</li><li> Update TinyMCE to 3.4.5</li><li> Use add_option() method, introduce add_option_context() method for adding specific text above the screen options</li><li> Use <a href="http://codex.wordpress.org/Function_Reference/get_template_directory" title="Function Reference/get template directory" rel="nofollow" target="_blank" class="external">get_template_directory()</a> instead of TEMPLATEPATH in Twentys Ten and Eleven</li><li> Use json_encode() for adding script data (formerly l10n); add the same functionality to WP_Styles for adding inline css after a stylesheet has been outputted</li><li> Use wp_print_scripts() in install.php</li><li> Various PHPdoc updates including: for all_items, menu_name, WP_List_Table::views(), cache.php, get_option(), wpdb::prepare(), get_template_part(), esc_url(), get_meta_sql(), WP_Screen, WP_Http_Encoding::compatible_gzinflate(), zeroise(), wp_add_script_before(), wp_editor()</li><li> WP_Filesystem_*::mkdir() untrailingslash path consistently, don&#8217;t waste time attempting to create an &#8220;empty&#8221; path</li></ul><div style="clear:both; background-color:#F7F7F7; border:1px solid #CCCCCC; color:#000000; padding:7px; margin:0.5em auto 0.5em auto; vertical-align:middle;">See also index of various <a href="http://codex.wordpress.org/WordPress_Versions" title="WordPress Versions" rel="nofollow" target="_blank" class="external">WordPress Versions</a>.</div> ]]></content:encoded> <wfw:commentRss>http://design.sparklette.net/reports/wordpress-3-3-is-out/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Our site has been Christmasified!</title><link>http://design.sparklette.net/reports/our-site-has-been-christmasified/</link> <comments>http://design.sparklette.net/reports/our-site-has-been-christmasified/#comments</comments> <pubDate>Fri, 09 Dec 2011 15:27:43 +0000</pubDate> <dc:creator>Veron Ang</dc:creator> <category><![CDATA[News]]></category><guid isPermaLink="false">http://design.sparklette.net/?p=53</guid> <description><![CDATA[In case you haven&#8217;t noticed, we have started preparing for the holidays. Our site header has been transformed from its usual colourful sunny landscape to a wintry one. Sunny landscape: [...]]]></description> <content:encoded><![CDATA[<p>In case you haven&#8217;t noticed, we have started preparing for the holidays. Our site header has been transformed from its usual colourful sunny landscape to a wintry one.</p><p><a href="http://design.sparklette.net/wp-content/blogs.dir/5/files/2011/12/landscape.jpg"><img src="http://design.sparklette.net/wp-content/blogs.dir/5/files/2011/12/landscape.jpg" alt="" title="Sparklette Studio landscape header" width="650" class="alignnone size-full wp-image-54" /></a><br /> <small>Sunny landscape: Click to enlarge</small></p><p>Let it snow, let it snow, let it snow!</p><p><a href="http://design.sparklette.net/wp-content/blogs.dir/5/files/2011/12/landscape-winter.jpg"><img src="http://design.sparklette.net/wp-content/blogs.dir/5/files/2011/12/landscape-winter.jpg" alt="" title="Sparklette Studio winter landscape header" width="650" class="alignnone size-full wp-image-55" /></a><br /> <small>Wintry landscape: Click to enlarge</small></p><p>Have you done anything to your site design lately? There&#8217;s never a better time to do this than at Christmas.</p><p>Happy holidays everyone!</p> ]]></content:encoded> <wfw:commentRss>http://design.sparklette.net/reports/our-site-has-been-christmasified/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>How to Change WordPress Multisite from Subdomains to Subfolders</title><link>http://design.sparklette.net/teaches/how-to-change-wordpress-multisite-from-subdomains-to-subfolders/</link> <comments>http://design.sparklette.net/teaches/how-to-change-wordpress-multisite-from-subdomains-to-subfolders/#comments</comments> <pubDate>Mon, 18 Apr 2011 08:51:19 +0000</pubDate> <dc:creator>Veron Ang</dc:creator> <category><![CDATA[Tutorial]]></category> <category><![CDATA[WordPress]]></category> <category><![CDATA[WordPress multisite]]></category><guid isPermaLink="false">http://design.sparklette.net/?p=48</guid> <description><![CDATA[Since version 3.0, WordPress supports multisite features, allowing you to run multiple websites on one single installation. If you have already enabled multisite functionality and would like to switch from [...]]]></description> <content:encoded><![CDATA[<p><img src="http://design.sparklette.net/wp-content/blogs.dir/5/files/2011/04/wordpress-multisite.png" alt="" title="wordpress-multisite" width="157" height="170" class="fr borderless alignright size-full wp-image-49" /></p><p>Since version 3.0, <strong>WordPress</strong> supports <strong>multisite</strong> features, allowing you to run multiple websites on one single installation.</p><p>If you have already enabled multisite functionality and would like to <strong>switch from subdomains to subfolders</strong>, here&#8217;s how.</p><ol><li>Open <em>wp-config.php</em> in a text editor.</li><li>Look for the line <code>define('SUBDOMAIN_INSTALL', true);</code>. Change <code>true</code> to <code>false</code>. Save the file and upload it back to your server.</li><li>With the structural change, you would need to update your <em>.htaccess</em> file with new rules. You can get these rules by going to <em>Network Admin > Settings > Network Setup</em></li></ol><p>Voila! You&#8217;re done. You should be able to create new sites in subfolders now. I am not sure if these steps work vice versa, ie. changing subfolders to subdomains. If anyone tries it, drop us a note in the comments section.</p> ]]></content:encoded> <wfw:commentRss>http://design.sparklette.net/teaches/how-to-change-wordpress-multisite-from-subdomains-to-subfolders/feed/</wfw:commentRss> <slash:comments>3</slash:comments> </item> <item><title>How to Solve &#8220;You do not have sufficient permissions to access this page&#8221; WordPress Error Message</title><link>http://design.sparklette.net/teaches/how-to-solve-you-do-not-have-sufficient-permissions-to-access-this-page-wordpress-error-message/</link> <comments>http://design.sparklette.net/teaches/how-to-solve-you-do-not-have-sufficient-permissions-to-access-this-page-wordpress-error-message/#comments</comments> <pubDate>Fri, 15 Apr 2011 09:07:52 +0000</pubDate> <dc:creator>Veron Ang</dc:creator> <category><![CDATA[Tutorial]]></category> <category><![CDATA[WordPress]]></category> <category><![CDATA[WordPress troubleshooting]]></category><guid isPermaLink="false">http://design.sparklette.net/?p=44</guid> <description><![CDATA[Last night, I updated a client&#8217;s site from WordPress 2.8 to the current WordPress 3.1.1. The 2.x to 3.x update is a major one and I was expecting to hit [...]]]></description> <content:encoded><![CDATA[<p><img src="http://design.sparklette.net/wp-content/blogs.dir/5/files/2011/04/wordpress-error.png" alt="How to Resolve 'You do not have sufficient permissions to access this page' WordPress Error Message" title="How to Resolve 'You do not have sufficient permissions to access this page' WordPress Error Message" width="128" height="128" class="fr borderless alignright size-full wp-image-46" /></p><p>Last night, I updated a client&#8217;s site from WordPress 2.8 to the current <strong>WordPress 3.1.1</strong>. The 2.x to 3.x update is a major one and I was expecting to hit some stumbling blocks, especially with the custom plugins written by their previous developer.</p><p>As expected, the custom plugins&#8217; settings pages yielded the dreaded blank screen with the &#8220;<strong>You do not have sufficient permissions to access this page</strong>&#8221; error message. The error occurs because it is looking for a page that doesn&#8217;t actually exist.</p><p><em>&#8230;/wp-admin/options-general.php?page=reallycoolplugin</em> instead of<br /> <em>&#8230;/wp-admin/options-general.php?page=really cool plugin</em>.</p><p>WordPress 3 strips out the spaces in the plugin slug name, hence resulting in the broken URL.</p><p>Thankfully, solving it is easy enough. If you encounter the same issue, this may fix it.</p><ol><li>Edit the problematic plugin file on a text editor. Look for the <em>add_options_page</em> function. It would look something like this:<pre class="brush: php;">
add_options_page('My Plugin Options', 'My Plugin', 'manage_options', 'my unique identifier', 'my_plugin_options');
</pre><li>Rename the menu slug, &#8220;my unique identifier&#8221; in this case, so that it does not have spaces in it. For example:<pre class="brush: php;">
add_options_page('My Plugin Options', 'My Plugin', 'manage_options', 'my-unique-identifier', 'my_plugin_options');
</pre></li></ol><p>There are many possible causes for the &#8220;You do not have sufficient permissions to access this page&#8221; error message and this is just one example. If you have encountered the same error and managed to solve it in a different way, leave a comment here to share with us.</p> ]]></content:encoded> <wfw:commentRss>http://design.sparklette.net/teaches/how-to-solve-you-do-not-have-sufficient-permissions-to-access-this-page-wordpress-error-message/feed/</wfw:commentRss> <slash:comments>3</slash:comments> </item> <item><title>How to Display Every User&#8217;s Comment Count in WordPress without a Plugin</title><link>http://design.sparklette.net/teaches/how-to-display-user-comment-count-in-wordpress-without-a-plugin/</link> <comments>http://design.sparklette.net/teaches/how-to-display-user-comment-count-in-wordpress-without-a-plugin/#comments</comments> <pubDate>Sun, 06 Mar 2011 07:09:32 +0000</pubDate> <dc:creator>Veron Ang</dc:creator> <category><![CDATA[Tutorial]]></category> <category><![CDATA[WordPress]]></category> <category><![CDATA[WordPress comments]]></category><guid isPermaLink="false">http://design.sparklette.net/?p=40</guid> <description><![CDATA[Whilst browsing the financial analysis website seekingalpha.com, I noticed that every time someone leaves a comment on any article, his total comment count would show up next to his name. [...]]]></description> <content:encoded><![CDATA[<p><img src="http://design.sparklette.net/wp-content/blogs.dir/5/files/2011/02/comments-150x150.png" alt="How to Display Most Commented Posts in WordPress Without a Plugin" title="How to Display Most Commented Posts in WordPress Without a Plugin" width="150" height="150" class="fr borderless size-thumbnail wp-image-34" /></p><p>Whilst browsing the financial analysis website <a href="http://seekingalpha.com" rel="nofollow" target="_blank" class="external">seekingalpha.com</a>, I noticed that every time someone leaves a comment on any article, his total comment count would show up next to his name. This is pretty neat as it gives a community vibe to the site. In fact most discussion forums already have such a feature built in, displaying each user&#8217;s total number of posts.</p><p><img src="http://design.sparklette.net/files/2011/03/comment-count.gif" alt="How to Display User/Visitor Comment Count in WordPress without a Plugin" title="How to Display User/Visitor Comment Count in WordPress without a Plugin" width="510" height="480" class="aligncenter size-full wp-image-42" /></p><p>In <strong>WordPress</strong>, you can do the exact same thing by adding the function below. It checks the commenter&#8217;s email address and displays the total number of comments that he has left on your website from past to present. It will work even if the person is not a registered user of the site.</p><p>Note: If you are using the <a href="http://wordpress.org/extend/plugins/akismet/" rel="nofollow" target="_blank" class="external">Akismet plugin</a>, you may have noticed the new option &#8220;<em>Show the number of comments you&#8217;ve approved beside each comment author</em>&#8221; available since version 2.5. Turning on this option displays the total comment count of each comment author as well, but only within the WordPress admin panel. In our case, we are going to make the comment count publicly viewable.</p><hr /><h4>Display User/Visitor Comment Count without a Plugin</h4><ol><li>Open your <em>functions.php</em> template file and add the following function.</p><pre class="brush: php;">
function commentCount() {
	global $wpdb;
	$count = $wpdb->get_var('SELECT COUNT(comment_ID) FROM ' . $wpdb->comments. ' WHERE comment_author_email = "' . get_comment_author_email() . '"');
	echo $count . ' comments';
}
</pre></li><li>Call the function in your comments template (usually <em>comments.php</em>) where you want it to appear, for eg. next to the nickname.<pre class="brush: php;">
&lt;?php commentCount(); ?&gt;
</pre></li></ol> ]]></content:encoded> <wfw:commentRss>http://design.sparklette.net/teaches/how-to-display-user-comment-count-in-wordpress-without-a-plugin/feed/</wfw:commentRss> <slash:comments>18</slash:comments> </item> <item><title>How to Hide the WordPress Toolbar</title><link>http://design.sparklette.net/teaches/how-to-remove-the-wordpress-admin-bar/</link> <comments>http://design.sparklette.net/teaches/how-to-remove-the-wordpress-admin-bar/#comments</comments> <pubDate>Tue, 01 Mar 2011 13:53:59 +0000</pubDate> <dc:creator>Veron Ang</dc:creator> <category><![CDATA[Tutorial]]></category> <category><![CDATA[WordPress]]></category><guid isPermaLink="false">http://design.sparklette.net/?p=32</guid> <description><![CDATA[Since the WordPress 3.1 update, there is a new Admin Bar (known as toolbar since WordPress 3.3) that gives you a one-click access to frequently used dashboard pages. When you [...]]]></description> <content:encoded><![CDATA[<p><img src="http://design.sparklette.net/wp-content/blogs.dir/5/files/2011/03/wordpress-3.1.png" alt="How to Disable &#038; Remove the WordPress 3.1 Admin Bar" title="How to Disable &#038; Remove the WordPress 3.1 Admin Bar" width="180" height="180" class="fr borderless size-full wp-image-33" /></p><p>Since the <strong>WordPress 3.1</strong> update, there is a new Admin Bar (known as <strong>toolbar</strong> since <a href="/reports/wordpress-3-3-is-out/">WordPress 3.3</a>) that gives you a one-click access to frequently used dashboard pages. When you are logged in, this bar shows up at the top of your website and in the dashboard by default. As nifty as it is, some of us prefer to do without it, especially when it doesn&#8217;t play nice with the theme.</p><p>There is a very easy way to <strong>disable and remove the Admin Bar</strong>. To hide the bar, go to your Profile page, typically <em>http://yourdomain.com/wp-admin/profile.php</em>. Under the <em>Toolbar</em> option, you can choose whether or not to <em>Show Toolbar when viewing site</em>.</p><p>Note that that this method would hide the admin bar only for your own user account. If you are the web developer and would like to hide the bar from all users, open your <em>functions.php</em> template file and add the following line.</p><pre class="brush: php;">
show_admin_bar(false);
</pre>]]></content:encoded> <wfw:commentRss>http://design.sparklette.net/teaches/how-to-remove-the-wordpress-admin-bar/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>How to Display Most Commented Posts in WordPress without a Plugin</title><link>http://design.sparklette.net/teaches/how-to-display-most-commented-posts-in-wordpress-without-a-plugin/</link> <comments>http://design.sparklette.net/teaches/how-to-display-most-commented-posts-in-wordpress-without-a-plugin/#comments</comments> <pubDate>Thu, 24 Feb 2011 11:03:16 +0000</pubDate> <dc:creator>Veron Ang</dc:creator> <category><![CDATA[Tutorial]]></category> <category><![CDATA[WordPress]]></category> <category><![CDATA[WordPress comments]]></category><guid isPermaLink="false">http://design.sparklette.net/?p=20</guid> <description><![CDATA[For those of you that run a WordPress site, you may wish to display a list of posts with the most number of comments. This is typically achieved by using [...]]]></description> <content:encoded><![CDATA[<p><img src="http://design.sparklette.net/wp-content/blogs.dir/5/files/2011/02/comments1.png" alt="How to Display Most Commented Posts in WordPress Without a Plugin" title="How to Display Most Commented Posts in WordPress Without a Plugin" width="128" height="128" class="fr borderless size-full wp-image-41" /></p><p>For those of you that run a <strong>WordPress</strong> site, you may wish to display a list of <strong>posts with the most number of comments</strong>. This is typically achieved by using a plugin/widget. But did you know that you can easily do this without a plugin too?</p><p>You can use the <a href="http://codex.wordpress.org/Function_Reference/query_posts" rel="nofollow" target="_blank" class="external">query_posts()</a> function to <strong>display your most commented posts without a plugin</strong>, thanks to the new <em>comment_count</em> orderby parameter available since WordPress version 2.9.</p><h4>Display Most Commented Posts in WordPress Without a Plugin</h4><pre class="brush: php;">&lt;ol&gt;
	&lt;?php $wp_query =
		new WP_Query('caller_get_posts=1&#038;orderby=comment_count&#038;posts_per_page=10');
		while ($wp_query-&gt;have_posts()) : $wp_query-&gt;the_post(); { ?&gt;
			&lt;li&gt;&lt;a href="&lt;?php the_permalink() ?&gt;"&gt;&lt;?php the_title(); ?&gt;&lt;/a&gt; (&lt;?php comments_number('0 comment', '1 comment', '% comments'); ?&gt;)&lt;/li&gt;
	&lt;?php } endwhile; ?&gt;
&lt;/ol&gt;</pre><p>Note: To change the number of posts to display, modify the <em>posts_per_page</em> parameter.</p> ]]></content:encoded> <wfw:commentRss>http://design.sparklette.net/teaches/how-to-display-most-commented-posts-in-wordpress-without-a-plugin/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>How to Link to a Facebook Status Update</title><link>http://design.sparklette.net/teaches/how-to-link-to-facebook-status-update/</link> <comments>http://design.sparklette.net/teaches/how-to-link-to-facebook-status-update/#comments</comments> <pubDate>Sun, 16 Jan 2011 08:39:30 +0000</pubDate> <dc:creator>Veron Ang</dc:creator> <category><![CDATA[Tutorial]]></category> <category><![CDATA[Facebook]]></category><guid isPermaLink="false">http://design.sparklette.net/?p=27</guid> <description><![CDATA[On my personal project Sparklette where I write restaurant reviews, I also run a Facebook Page where members can have conversations with one another. Every so often, interesting conversations would [...]]]></description> <content:encoded><![CDATA[<p><img src="http://design.sparklette.net/wp-content/blogs.dir/5/files/2011/01/latte-social-icon-fb_128.png" alt="How to Link to a Facebook Status Update" title="How to Link to a Facebook Status Update" width="128" height="128" class="fr borderless size-full wp-image-35" /></p><p>On my personal project <a href="http://sparklette.net">Sparklette</a> where I write restaurant reviews, I also run a <a href="http://www.facebook.com/sparklette">Facebook Page</a> where members can have conversations with one another. Every so often, interesting conversations would come up and I like to highlight these discussions on my website, Twitter, etc.</p><p>Now, finding the direct link for each status update may not be as immediately obvious as linking to photos, videos or albums, but the link is there all the same.</p><p>Here&#8217;s <strong>how to link to a Facebook status update</strong>:</p><ol><li>Look for the date when the status was posted. In this screen capture, the dates are boxed out in red:<p><img src="http://design.sparklette.net/wp-content/blogs.dir/5/files/2011/01/facebook-status-link.gif" alt="How to link to a Facebook Status Update" title="How to link to a Facebook Status Update" width="560" height="500" class="alignleft size-full wp-image-28" /></li><li>Click the date to go to the direct page dedicated to this status update. You can get the link from your browser&#8217;s address bar.<br /> Alternatively, right-click the date and select &#8220;Copy Link Location&#8221; or equivalent.</li></ol><p>You now have the link to the Facebook Status update!</p> ]]></content:encoded> <wfw:commentRss>http://design.sparklette.net/teaches/how-to-link-to-facebook-status-update/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>SCMP Christmas Shoppers&#8217; Guide 2010 has been launched!</title><link>http://design.sparklette.net/reports/scmp-christmas-shoppers-guide-2010-has-been-launched/</link> <comments>http://design.sparklette.net/reports/scmp-christmas-shoppers-guide-2010-has-been-launched/#comments</comments> <pubDate>Sun, 28 Nov 2010 06:18:31 +0000</pubDate> <dc:creator>Veron Ang</dc:creator> <category><![CDATA[News]]></category> <category><![CDATA[WordPress]]></category><guid isPermaLink="false">http://design.sparklette.net/?p=23</guid> <description><![CDATA[We have just completed a project for the South China Morning Post, one of Hong Kong&#8217;s main English-language newspapers. Every Christmas, they publish the SCMP Christmas Shoppers&#8217; Guide to aid [...]]]></description> <content:encoded><![CDATA[<p><img src="http://design.sparklette.net/wp-content/blogs.dir/5/files/2010/11/mistletoe.png" alt="SCMP Christmas Shoppers' Guide 2010 has been launched!" title="SCMP Christmas Shoppers' Guide 2010 has been launched!" width="128" height="128" class="fr borderless size-full wp-image-36" /></p><p>We have just completed a project for the <a href="http://www.scmp.com" rel="nofollow" target="_blank" class="external"><strong>South China Morning Post</strong></a>, one of Hong Kong&#8217;s main English-language newspapers. Every Christmas, they publish the <strong>SCMP Christmas Shoppers&#8217; Guide</strong> to aid consumers in browsing shopping offers during the holiday season. But this year, they decided to develop an online equivalent of the hard copy shopping guide, and they hired us to do it.</p><p>After 2 months, the site has gone live at <a href="http://deals.scmp.com" rel="nofollow" target="_blank" class="external">deals.scmp.com</a> where you can see it in action.</p><p><img src="http://design.sparklette.net/wp-content/blogs.dir/5/files/2010/11/scmp-christmas.jpg" alt="SCMP Christmas Shoppers' Guide web design" title="SCMP Christmas Shoppers' Guide web design" width="640" height="560" class="aligncenter size-full wp-image-24" /></p><p>You can easily browse the shopping offers in the gallery or by category (<em>beauty, restaurants, books, etc</em>) and location (<em>Causeway Way, Macau, etc</em>), and even view the hottest offers (<em>Christmas dinner, wine offers, etc</em>).</p><p>Specific functionality includes coupon downloads (with logging mechanism), an order form where merchants can book an ad spot, and a &#8220;My Favourites&#8221; list that lets you easily bookmark offers.</p><p>We built the entire website using <strong>WordPress</strong> as the CMS, with the theme custom-built from scratch along with some plugins and the usual suspects like the jQuery slider and the dropdown mega-menu that the client really likes from <a href="http://sparklette.net" target="_blank" class="external">Sparklette</a>.</p><p><img src="http://design.sparklette.net/wp-content/blogs.dir/5/files/2010/11/scmp-christmas-footer.jpg" alt="SCMP Christmas Shoppers&#039; Guide website footer" title="SCMP Christmas Shoppers&#039; Guide website footer" width="640" height="160" class="aligncenter size-full wp-image-25" /></p><p>To bring in that whole festive feel, we sprinkle in familiar Christmas icons such as using a snow globe with a house for the <em>Home</em> icon, the fir in the site footer, and a dash of Christmasy colors.</p><p>The whole process has been amazingly smooth-sailing, which is incredible considering that we were working exclusively from our office in Singapore the whole time, while the client is based in Hong Kong! O bless modern technologies and Skype.</p><p><img src="http://design.sparklette.net/wp-content/blogs.dir/5/files/2010/11/scmp-client-testimonial.jpg" alt="SCMP web design client testimonial" title="SCMP web design client testimonial" width="640" height="480" class="aligncenter size-full wp-image-26" /></p><p>At the conclusion of the project, the client sent us a few hard copies of the shopping guide which they have adapted the design from the website, along with a handwritten note of appreciation. You are welcome!</p> ]]></content:encoded> <wfw:commentRss>http://design.sparklette.net/reports/scmp-christmas-shoppers-guide-2010-has-been-launched/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced
Database Caching using disk: basic
Object Caching 505/566 objects using disk: basic

Served from: design.sparklette.net @ 2012-05-17 12:38:36 -->
