Forum Replies Created

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

    (@lulubell138)

    maybe that is not a good example since that is not a slider

    Forum: Your WordPress
    In reply to: Black Sabbath Site

    NICE!!!

    Thread Starter lulubell138

    (@lulubell138)

    Oh BTW the developer of the theme DID tell me this much, he said the other guy must have edited the index.php file (if this helps)

    thank you again in advance

    index.php:

    <?php get_header(); ?>

    <?php
    $pages = get_pages( array ( ‘sort_order’ => ‘asc’, ‘sort_column’ => ‘menu_order’, ‘depth’ => 1 ));

    foreach ( $pages as $pag ) {
    setup_postdata( $pag );
    $new_title = str_replace( ” “, “”, strtolower( $pag->post_name ) );
    echo ‘<div class=”clearfix scrol-page” id=”‘ . $new_title . ‘”>’;
    echo ‘<div class=”wrapper”>’;
    $page_type = str_replace( ‘ ‘, ”, strtolower( get_post_meta( $pag->ID, ‘page_type’, true ) ) );

    if ( $page_type == ‘home’ ) {
    get_template_part( ‘template/home’ );
    }

    elseif ( $page_type == ‘portfolio’ ) {
    echo ‘<div class=”page-title clearfix”><h1>’;
    echo get_post_meta( $pag->ID, ‘page_title’, true );
    echo ‘</h1><p>’ . get_post_meta( $pag->ID, ‘page_sub_title’, true ) . ‘</p></div>’;
    get_template_part( ‘template/portfolio’ );
    }

    elseif ( $page_type == ‘regular’ ) {
    echo ‘<div class=”page-title clearfix”><h1>’;
    echo get_post_meta( $pag->ID, ‘page_title’, true );
    echo ‘</h1><p>’ . get_post_meta( $pag->ID, ‘page_sub_title’, true ) . ‘</p></div>’;
    the_content();
    }

    echo ‘</div>’;
    echo ‘</div>’;
    } ?>

    <?php get_footer(); ?>

    have you installed wordpress on your server (hosting)? once you do that you can log into wordpress, go to appearance> then themes > then upload your them (still in it’s zip folder) and then activate it..wa-la

    i wish i could help you but how did you get the margin so small between header and content? https://cheaptshirtsfast.com/

    Forum: Themes and Templates
    In reply to: Header problem

    I don’t know how to help you but i don’t think the white line looks bad… in my humble opinion ??

    Hi, I have a margin question as well for twenty eleven theme that i hope all can help with: under the header, there is a huge gap of space before the content begins… how do i narrow that space? here is my site so you can check it out… thank you sooo much in advance!!!! https://cheaptshirtsfast.com/

    Lee Ann

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