Forum Replies Created

Viewing 10 replies - 1 through 10 (of 10 total)
  • Thread Starter hyojeon

    (@hyojeon)

    Massive thanks Tony! I did as you suggested and it worked. much appreciated!
    Hyo

    Thread Starter hyojeon

    (@hyojeon)

    http://www.kobeproject.info/d/

    This is the link to the page, if helps.

    Thread Starter hyojeon

    (@hyojeon)

    Awesome. You are a star! 🙂 Thanks a trillion!

    Thread Starter hyojeon

    (@hyojeon)

    it is perfectly fixed! Thanks so much, Jos.SnchZ.

    But it caused another problem. The access bar went into two lines.
    Any idea please?

    Thread Starter hyojeon

    (@hyojeon)

    Yes!!! worked!!!! massive thanks, Jos.SnchZ !!

    Thread Starter hyojeon

    (@hyojeon)

    But then I am trying to create a ‘pageofposts.php’ with the code below. (using Twenty Eleven child theme fyi)

    <?php
        /*
        Template Name: PageOfPosts
        *
        * for Twenty Eleven
        * adapted by alchymyth
        */
        get_header(); ?>
    
                        <div id="primary">
    
                                <div id="content" role="main">
    
        <?php
    
          $paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
    
          $do_not_show_stickies = 1; // 0 to show stickies
          $args=array(
            'category_name' => 'fabrica-vitae',
            'orderby' => 'date',
            'order' => 'DESC',
            'paged' => $paged,
            'caller_get_posts' => $do_not_show_stickies
          );
        query_posts( $args ); ?>
    
        <?php /* Run the loop to output the posts. */ ?>
    
        <?php /* Display navigation to next/previous pages when applicable */ ?>
    
        <?php /* If there are no posts to display, such as an empty archive page */ ?>
        <?php if ( ! have_posts() ) : ?>
                <div id="post-0" class="post error404 not-found">
                        <h1 class="entry-title"><?php _e( 'Not Found', 'twentyeleven' ); ?></h1>
                        <div class="entry-content">
                                <p><?php _e( 'Apologies, but no results were found for the requested archive. Perhaps searching will help find a related post.', 'twentyeleven' ); ?></p>
                                <?php get_search_form(); ?>
                        </div><!-- .entry-content -->
                </div><!-- #post-0 -->
        <?php endif; ?>
    
        <?php /* Start the Loop; copied from loop.php; redundand sections removed. */ ?>
        <?php while ( have_posts() ) : the_post(); ?>
    
                        <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
                                <h2 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
    
                                <div class="entry-meta">
                                        <?php twentyeleven_posted_on(); ?>
                                </div><!-- .entry-meta -->
    
                                <div class="entry-content">
        <?php the_excerpt(); ?>
        <?php wp_link_pages( array( 'before' => '<div class="page-link">' . __( 'Pages:', 'twentyeleven' ), 'after' => '</div>' ) ); ?>
                                </div><!-- .entry-content -->
    
                                <div class="entry-utility">
                                        <?php if ( count( get_the_category() ) ) : ?>
                                                <span class="cat-links">
                                                        <?php printf( __( '<span class="%1$s">Posted in</span> %2$s', 'twentyeleven' ), 'entry-utility-prep entry-utility-prep-cat-links', get_the_category_list( ', ' ) ); ?>
                                                </span>
    
                                        <?php endif; ?>
                                        <?php
                                                $tags_list = get_the_tag_list( '', ', ' );
                                                if ( $tags_list ):
                                        ?>
                                                <span class="tag-links">
                                                        <?php printf( __( '<span class="meta-sep">|</span> <span class="%1$s">Tagged</span> %2$s', 'twentyeleven' ), 'entry-utility-prep entry-utility-prep-tag-links', $tags_list ); ?>
                                                </span>
    
                                        <?php endif; ?>
                                        <span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'twentyeleven' ), __( '1 Comment', 'twentyeleven' ), __( '% Comments', 'twentyeleven' ) ); ?></span>
                                        <?php edit_post_link( __( 'Edit', 'twentyeleven' ), '<span class="edit-link">', '</span>' ); ?>
                                </div><!-- .entry-utility -->
                        </div><!-- #post-## -->
    
                        <?php comments_template( '', true ); ?>
    
        <?php endwhile; // End the loop. Whew. ?>
    
        <?php /* Display navigation to next/previous pages when applicable */ ?>
        <?php if (  $wp_query->max_num_pages > 1 ) : ?>
                                        <div id="nav-below" class="navigation">
                                                <div class="nav-previous"><?php next_posts_link( __( '<span class="meta-nav">&larr;</span> Older posts', 'twentyeleven' ) ); ?></div>
                                                <div class="nav-next"><?php previous_posts_link( __( 'Newer posts <span class="meta-nav">&rarr;</span>', 'twentyeleven' ) ); ?></div>
                                        </div><!-- #nav-below -->
        <?php endif; ?>
    
        <?php wp_reset_query(); ?>
    
                                </div><!-- #content -->
                        </div><!-- #primary -->
    
        <?php get_sidebar(); ?>
        <?php get_footer(); ?>

    Then how i am supposed to assign this particular file to the new front page?
    Sorry if my question is too obvious.

    Massive thanks in advance!

    Thread Starter hyojeon

    (@hyojeon)

    Thanks so much!

    Thread Starter hyojeon

    (@hyojeon)

    Thanks a lot for trying it out and for the proof!

    This is why the child theme needs to be linked and activated..

    Thread Starter hyojeon

    (@hyojeon)

    Many things, including the font, the size of the wrapper, menus, etc..

    Thread Starter hyojeon

    (@hyojeon)

    Hi Cais, thanks for the answer.

    But still doens’t work unfortunately!

    I found from the firebug the property is inherited from .pic element..
    and I wanted to remove the borders on the back/next buttons.

    Any other comments please? Thanks!

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