Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6193485
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T03:07:42+00:00 2026-05-24T03:07:42+00:00

Ok so I am just starting to write the basics of a wordpress theme

  • 0

Ok so I am just starting to write the basics of a wordpress theme and I’m getting issues with my loop. It’s basically just saying blog as the title of the post, it’s saying the date of the day I installed wordpress as the date of the post and there’s 2 posts but it’s only showing one. it’s so odd. It’s probably just a dumb mistake I can’t see but any ideas?

link http://creativerxawards.com/dudnyk/blog/

and code…

<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>                  
<div class = "blog_post_left">
<div class = "blog_date_head">
<span class = "b_date"><?php the_date(); ?></span> <span class = "b_author"><?php the_author(); ?></span>   
</div>
<div class = "img_hold_blog">
<div class = "img_hold_m">
</div>
<div class = "img_hold_r">
</div>
<div class = "img_hold_b">
</div>

</div>
<div class = "blog_content">
<h2 class = "blog_title"><?php the_title(); ?></h2>
<?php the_excerpt(); ?>
<div class = "button_contain"><a href="javascript:;"><img src="<?php bloginfo('template_url'); ?>/images/b_mail.png"></a><a href="javascript:;"><img src="<?php bloginfo('template_url'); ?>/images/b_fbook.png"></a><a href="javascript:;"><img src="<?php bloginfo('template_url'); ?>/images/b_twitter.png"></a><a href="javascript:;"><img src="<?php bloginfo('template_url'); ?>/images/b_lin.png"></a>
<a href="javascript:;"><img src="<?php bloginfo('template_url'); ?>/images/b_nl.png" class = "n_buttons"></a>
<a href="javascript:;"><img src="<?php bloginfo('template_url'); ?>/images/b_fs.png" class = "n_buttons"></a>
<a href="javascript:;"><img src="<?php bloginfo('template_url'); ?>/images/b_pp.png" class = "n_buttons"></a>
</div>

</div>
</div>
   <?php endwhile; ?>
     <?php endif; ?>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T03:07:43+00:00Added an answer on May 24, 2026 at 3:07 am

    This could be 1 of 2 things. Either you don’t actually have any posts, or, if it isn’t a standard page such as index.php, it means the query isn’t set up correctly. If that’s the case then you need to look into setting up the query before attempting to loop through the posts. A very basic one would be:

    query_posts('posts_per_page=10');
    

    To find out more about the function take a look at the codex here: http://codex.wordpress.org/Function_Reference/query_posts

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am just starting to write ruby rails. I wrote a controller but is
I'm just starting out writing trying to write a simple program in C and
I'm just starting out learning javascript, and tried to write a little script that
I'm just starting to learn Xpath, I'm trying to write a line of code
I'm starting to write a very simple OS right now, just the boot sector,
I am just starting to write some documents with Sweave/R and I like the
I'm learning the basics of Ruby (just starting out), and I came across the
I just starting out trying to write a federated claims provider I'm using the
Let's say I just wrote the following class and I am starting to write
Just starting out in asp.net. Have just created a login.aspx page in my site

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.