All posts by blogger323

Ajax support in SWE Accordion Widgets

In Standard Widget Extensions 1.7, Ajax support gets improved. Accordion Widgets continue to work after Ajax update of sidebars. But you may need following customization for better widget behavior. 1. Set the class for heading elements After Ajax update, heading elements lose classes added by the plugin. So you may need to set the class in your theme. Following is modification for Twenty Fourteen as an example, setting hm-swe-expanded class for headings. in functions.php register_sidebar( array( ‘name’ => __( ‘Content Sidebar’, ‘twentyfourteen’ ), ‘id’ => ‘sidebar-2’, ‘description’ => __( ‘Additional sidebar that appears on the right.’, ‘twentyfourteen’ ), ‘before_widget’ => ”, ‘after_widget’ => ”, ‘before_title’ => ”, ‘after_title’ => ”, … Continue reading Ajax support in SWE Accordion Widgets

Perfect git-svn for WordPress plugin development

WordPress plugin developers need to use subversion to commit their plugins to the repository. And because many developers are using GitHub in their development, it is needed to interwork between Git and Subversion. Though there is a way to make a script program including both git and svn commands, git-svn is a option I like to use because of its simplicity. After using git-svn and making some commits in plugin development, I learned key points for a happy workflow. I’ll introduce them in this entry and hope it will help you. Even if you are not a WordPress plugin developer, it might help you when you use git-svn. This … Continue reading Perfect git-svn for WordPress plugin development

AD FS 2.0 and Visual Studio 2013

There are many samples of Visual Studio 2013 which work with Windows Asure Active Directory (WAAD) authentication. But I can’t find any examples going with AD FS 2.0. That’s why I wrote this entry. I’ll introduce a way to build a web application in Visual Studio 2013 working with AD FS 2.0 step by step. Making a Visual Studio 2013 Program First, we will make a web program using authentication by ADFS. Select ‘File’ – ‘New’ – ‘Project’. Select a template, ‘Installed’ – ‘Templates’ – ‘Visual C#’ – ‘Web’ – ‘ASP.NET Web Application’. Click ‘Change Authentication’. In the ‘Change Authentication’ dialog, input as follows. Select ‘Organizational Accounts’ Select ‘On-Premises’ Input … Continue reading AD FS 2.0 and Visual Studio 2013