How the widget can be run by shortcode

I think you are out of luck as wordpress core doesn’t have this kind of functionality. Quick googling shows that there are plugins to do that like this one http://wordpress.org/extend/plugins/amr-shortcode-any-widget/, but if you have programming skills you should probably write a shortcode handler with/instead of the widget.

Trying to wrap around first word of multiple word strings with a widget_title() filter, only works on two word strings and not more than two

You should check out the filters assigned to widget_title add_action(‘wp_footer’,function(){ global $wp_filter; printf(‘<h2>Debug:</h2><pre>%s</pre>’,print_r( $wp_filter[‘widget_title’],true)); }); to see if there is anything unusual. Also try the Twenty Twelve theme (I don’t see this behaviour there) and deactive all plugins.

Full width layout for custom post type pages

Since you are using Genesis, why don’t you just use the Layout that doesn’t contain Primary Sidebar? The layout option should be available right below the editor (as a meta box). If you still need code, use plain CSS to remove the sidebar area. function remove_primary_sidebar() { //Only if Pages with the following IDs if … Read more

Insert Widget option into mark-up with register_sidebar

First you will replace this line <div id=”%1$s” class=”widget %2$s” data-custom-title=””> with <div id=”%1$s” class=”widget %2$s” data-custom-title=”DCT”> Now add the filter in your functions.php file. add_filter( ‘widget_display_callback’, ‘add_custom_data_to_before_widget’, 10, 3 ); function add_custom_data_to_before_widget( $instance, $widget_class, $args ) { if ( ! empty( $instance[‘title’] ) && ! empty( $instance[‘custom-title’] )) { $args[‘before_widget’] = str_replace(‘DCT’, sanitize_text_field ( … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)