Forum Replies Created

  • In reply to: Crawl across the top of the page

    #33378

    I do not know how to work this on the back end. I need a plug in. I can only do simply things.

    In reply to: Need help formatting a page

    #33173

    Okay hope this helps….

    This is exactly what I want to do….only the code that was listed was for a twentyeleven theme. What do I need to do in order to accomplish this on your theme?

    A Page of Posts

    The following custom Page Template file displays posts from two specific categories (specified by their category slugs). It is designed to work within a child Theme of the Twenty Eleven theme. If you are using another theme, you need to replicate the HTML structure of your own theme within the template.

    Save this to pageofposts.php and then assign the Page of Posts Template to your new Page:

    Here is the code that it gave me: By the way I don’t know which part is the HTML Structure?

    <?php
    /*
    Template Name: Page Of Posts
    */

    // if you are not using this in a child of Twenty Eleven, you need to replicate the html structure of your own theme.

    get_header(); ?>
    <div id="primary">
    <div id="content" role="main">
    <?php
    $paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
    $args= array(
    'category_name' => 'antiquarianism, championship', // Change these category SLUGS to suit your use.
    'paged' => $paged
    );
    query_posts($args);
    if( have_posts() ) :?>

    <?php twentyeleven_content_nav( 'nav-above' );?>
    <?php while ( have_posts() ) : the_post(); ?>
    <?php get_template_part( 'content', get_post_format() ); ?>
    <?php endwhile; ?>
    <?php twentyeleven_content_nav( 'nav-below' ); ?>

    <?php else : ?>
    <article id="post-0" class="post no-results not-found">
    <header class="entry-header">
    <h1 class="entry-title"><?php _e( 'Nothing Found', 'twentyeleven' ); ?></h1>
    </header><!-- .entry-header -->

    <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>
    <?php endif; ?>
    </div>
    </div>
    <?php get_footer();

    In reply to: Need help formatting a page

    #33172

    I read that post and that is exactly what want to accomplish…

    I am a newbie….worse that a newbie. I have learned your theme but I cannot do much more than that.

    Can you direct me how I can set up a page to show post? I have been racking my brain trying to figure out how I can make a page show post? My home page already shows my posts and a slider but I would like to have other pages show posts?

    Thanks.

    In reply to: Need help formatting a page

    #33170

    Okay maybe I was a little all over the place….

    What I need help with is the following……

    1st question

    Can I have a website that has more than one webpage that contains post on it that only show certain categories?

    2nd Questions

    I know how to add pages…and how to pick a template. How do I get post to show up on that page?

    In reply to: Need help formatting a page

    #33168

    Can anyone help?

Viewing 5 posts - 1 through 5 (of 5 total)