Forum Replies Created

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter blmate

    (@blmate)

    Closed.

    Thread Starter blmate

    (@blmate)

    Solved, Added some code in too generate sidebars / footer in single.php

    Thanking myself, seen as I got no help here :/

    Thread Starter blmate

    (@blmate)

    Incase it may come in handy I’am posting the sidebar.php here aswell.

    Sidebar.php:

    <?php
    /**
    * The Sidebar containing the main widget areas.
    *
    * @package Generate
    */
    $generate_settings = wp_parse_args(
    get_option( ‘generate_settings’, array() ),
    generate_get_defaults()
    );

    $navigation_active = false;

    // If the navigation is set in the sidebar, set variable to true
    if ( ‘nav-right-sidebar’ == $generate_settings[‘nav_position_setting’] )
    $navigation_active = true;

    // If the secondary navigation is set in the sidebar, set variable to true
    if ( function_exists( ‘generate_secondary_nav_get_defaults’ ) ) :
    $secondary_nav = wp_parse_args(
    get_option( ‘generate_secondary_nav_settings’, array() ),
    generate_secondary_nav_get_defaults()
    );
    if ( ‘secondary-nav-right-sidebar’ == $secondary_nav[‘secondary_nav_position_setting’] )
    $navigation_active = true;
    endif;
    ?>
    <div id=”right-sidebar” itemtype=”http://schema.org/WPSideBar&#8221; itemscope=”itemscope” role=”complementary” <?php generate_right_sidebar_class(); ?>>
    <div class=”inside-right-sidebar”>
    <?php do_action( ‘generate_before_right_sidebar_content’ ); ?>
    <?php if ( ! dynamic_sidebar( ‘sidebar-1’ ) ) : ?>
    <?php if ( false == $navigation_active ) : ?>
    <aside id=”search” class=”widget widget_search”>
    <?php get_search_form(); ?>
    </aside>

    <aside id=”archives” class=”widget”>
    <h3 class=”widget-title”><?php _e( ‘Archives’, ‘generate’ ); ?></h3>

      <?php wp_get_archives( array( ‘type’ => ‘monthly’ ) ); ?>

    </aside>

    <aside id=”meta” class=”widget”>
    <h3 class=”widget-title”><?php _e( ‘Meta’, ‘generate’ ); ?></h3>

      <?php wp_register(); ?>

    • <?php wp_loginout(); ?>
    • <?php wp_meta(); ?>

    </aside>
    <?php endif; ?>
    <?php endif; // end sidebar widget area ?>
    <?php do_action( ‘generate_after_right_sidebar_content’ ); ?>
    </div><!– .inside-right-sidebar –>
    </div><!– #secondary –>

    Thread Starter blmate

    (@blmate)

    Wrong section sorry, Closed.

    Thread Starter blmate

    (@blmate)

    Thank you sir, this worked 🙂

    Thread Starter blmate

    (@blmate)

    I may simply just use another theme if there is no solution, Just wondering if anyone is able to see the problem and tell me a quick fix for it.

    Thread Starter blmate

    (@blmate)

    Hi there, Here is a link to the website: http://d3a.7a2.myftpupload.com/

    I tried changing it too position: fixed but that still won’t work. Please see if you can find the problem after having a look at the website, your help is much appreciated.

Viewing 7 replies - 1 through 7 (of 7 total)