WordPress.org

Support

Support » Themes and Templates » [Resolved] GamePress PRO – Header Widget

[Resolved] GamePress PRO – Header Widget

  • How to add a Header Widget? I would like to place a banner in the header. (left: custom image logo and next, right the header widget)

    I found that functions.php and header.php to be edited, and style.css.
    But, the banner appears under the logo.

Viewing 9 replies - 1 through 9 (of 9 total)
  • Because the developers have not helped, i just noted, maybe somebody else will need it…

    functions.php:

    register_sidebar(array(
    'name' => 'Header Widget',
    'id' => 'header-widget',
    'before_widget' => '<div class="widget-header">',
    'after_widget' => '</div>',
    'before_title' => '',
    'after_title' => '',
    ));

    header.php:

    <div class="header-ad-section">
    <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Header Widget') ) : ?>
    <?php endif; ?></div>

    style.css:
    (this code is included by default)

    .header-ad-section {
    }

    Then, works the header widget, and with a text widget can be here insert the banner code.

    However, the inserted images are not responsive.

    How to solve it to be responsive?

    Text widget example code:
    <a href="http://example.com" target="_blank"><img src="/wp-content/uploads/ad.png" width="468" height="60"/></a>

    Have a link to your site?

    Moderator Andrew Nevins

    @anevins

    Forum moderator

    Sorry, we don’t support commercial themes here. You can contact your theme’s vendors regarding this issue.

    I think I would be great feature to have banner on that empty place. Top menu feature also and It could be really one of the greatest themes for wp.

    I don’t understand, why there is no discussion about this. ESSZ did great job to explain how to do it, and instead of getting help he gets Sorry, contact your vendor. GREAT, this is the way, spam your theme’s vendor over and over with the same issue istead of have it here for all. 🙁

    Moderator Andrew Nevins

    @anevins

    Forum moderator

    Sorry, we do not support commercial themes.

    WordPress.org forums are here to support the core application and themes and plugins that are distributed on WordPress.org.

    If you need a repository of information, ask your theme’s vendors.
    Do not post on these forums regarding support for commercial products.

    Contact Alex (theme author) directly regarding the Pro version of the theme.

    Is it possible to change title of this post and get rid of the PRO? It could be great feature for free theme http://wordpress.org/extend/themes/gamepress

    Anyway I understand there is not support for commercial themes.

    Moderator Andrew Nevins

    @anevins

    Forum moderator

    You do not have the authority to change other people’s thread titles.
    Create your own thread.

    Theme Author alex27

    @alex27

    This feature is already done, just waiting for update to be pushed to the official repository. I don’t recommend doing it on your own, and if you do only via child theme.

    Great, thanks guys 😉

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘[Resolved] GamePress PRO – Header Widget’ is closed to new replies.