Converting HTML to WordPress Theme
-
Trying to convert my html theme to a wordpress theme and I am having an issue getting the sidebar to line up on the right like my original theme. Any ideas what I have missed? I also at one point had all the links showing up with the correct post and pages, select About Us, etc…and page is blank and I also did something to mess most of that up.
Also, messed up my footer, should line up with the top menu in width.
Here is the link. You will see the sidebar at the bottom of the page, instead of in the right sidebar.
Sidebar.php Code
‘
<?php if ( is_active_sidebar( ‘right-sidebar’ ) ) : ?>
<?php dynamic_sidebar( ‘right-sidebar’ ); ?>
<?php endif; ?>
‘
Funtions.php Code
‘
<?php add_theme_support( ‘post-thumbnails’ ); ?><?php add_theme_support( ‘menus’ ); ?>
<?php
register_sidebar( array(
‘name’ => __( ‘Right Hand Sidebar’ ),
‘id’ => ‘right-sidebar’,
‘description’ => __( ‘Appears in the footer section of the site.’, ‘WordPress Theme’ ),
‘before_widget’ => ‘<aside id=”%1$s” class=”widget %2$s”>’,
‘after_widget’ => ‘</aside>’,
‘before_title’ => ‘<h3 class=”widget-title”>’,
‘after_title’ => ‘</h3>’,
) );?>
‘
Just trying a simple theme to convert for a beginner. I was so close at one point and then got confused ??Thanks for your help
- The topic ‘Converting HTML to WordPress Theme’ is closed to new replies.