Comment on WordPress Image Slideshow by SEO Dave.

WordPress Slideshow Hmm, thought I’d added a full width widget area there, apparently not have added a full width area for AdSense ads.

You could add your own, edit the file /stallion-seo-theme/layout/header-ads.php

And at the bottom or top (depending on where you want it) add:

<?php if (is_active_sidebar('headerfull-widget-area')) : ?>
<div id="fifth" class="widget-area">
<div class="sidebar-box">
<?php dynamic_sidebar('headerfull-widget-area'); ?>
</div></div>
<?php endif; ?>

Edit the file /stallion-seo-theme/widgets/general-widgets.php

And ABOVE (not the bracket) :

}
add_action( 'widgets_init', 'stallion_widgets_init' );
?>
<?php global $st_op_main; $user = $st_op_main->option['themeID'];?>

Add

register_sidebar( array(
'name' => __( 'Header Full Ad Widget', 'stallion' ),
'id' => 'headerfull-widget-area',
'description' => __( 'Header Full ad area, for custom ads/content : Add a Text Widget', 'stallion' ),
'before_widget' => '<div id="%1$s" class="widget-container %2$s">',
'after_widget' => '</div>',
'before_title' => '<span class="gat_widget">',
'after_title' => '</span>',
) );

Tested this and it works, reused the fifth footer widget CSS ID fifth which you aren’t supposed to do (CSS IDs are only meant to be used once), you shouldn’t have any issues with this as browsers take it into account. If you want to give it a different ID make a copy of #fifth ID CSS code in the relevant layout file and call it something else.

What do you mean by the widget display isn’t working? If I want something on the front I select “Show on Checked” and tick “Front Page” and “Blog Page”. Note this will show on all home page archives, there’s no setting to not show on paged archives (so not show on page 2, page 3 etc…. only show on the first page: I should see if I can add that as an option to Widget Display).

If you want only show on the first page of an archive set I suggest using a custom hard coded widget. There’s code in /stallion-seo-theme/widgets/custom-widgets.php for this (had the same need myself and it’s in the Stallion Responsive code that will be released soon :-)).

Copy this over the Cool Links example widget and edit to your needs.

<?php /* Widget start */

function st_Coollinks() {
?>
<?php if (is_front_page() && !is_paged()) { /* Note: this line and the line later makes the widget load on the home page only */ ?>
<div class="widget-container">
<span class="gat_widget"><?php _e('Cool Links', 'stallion'); ?></span>

<ul>
<li><a href="http://www.stallion-theme.com/wordpress-seo-plugins">WordPress SEO Plugins</a></li>
</ul>
</div>
<?php } /* Note: this line and the earlier line makes the widget load on the home page only */ ?>

<?php
}

wp_register_sidebar_widget(
'9gat-awesome-links', 'Stallion Awesome Links Widget', 'st_Coollinks', array(
'description' => 'Example Custom Widget with SEO Links, found within the file /' . get_option('template') . '/widgets/custom-widgets.php. If a Text widget does not work edit this file. This example only loads on the home page of a site.'
)
);
/* Widget end */ ?>

David

Code updated, better solution.
Update: the above full width widget area is part of Stallion Responsive 8