blmate
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Footer wont stay at bottom of pageClosed.
Forum: Fixing WordPress
In reply to: Sidebar Widgets / Plugins not displaying on postsSolved, Added some code in too generate sidebars / footer in single.php
Thanking myself, seen as I got no help here :/
Forum: Fixing WordPress
In reply to: Sidebar Widgets / Plugins not displaying on postsIncase 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” 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 –>Forum: Themes and Templates
In reply to: Sidebar Widgets / Plugins not displaying on posts!Wrong section sorry, Closed.
Forum: Themes and Templates
In reply to: Footer wont stay at bottom of pageThank you sir, this worked 🙂
Forum: Themes and Templates
In reply to: Footer wont stay at bottom of pageI 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.
Forum: Themes and Templates
In reply to: Footer wont stay at bottom of pageHi 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.