Notice: start_wp is deprecated since version 1.5! Use new WordPress Loop instead
-
I’m getting the above error script on my website. This is my theme index.php script – does anything look glaringly obviously wrong?
<?php get_header(); ?> <?php if ($posts) : foreach ($posts as $post) : start_wp(); ?><h1><?php the_time('jS F, Y') ?>: <a>"> <?php the_title(); ?></a></h1><p class="posted">Spat by <?php the_author(); ?> at <?php the_time('g:i a'); ?> | Comment here! <image src=https://www.thesoulgirl.com/wp-content/themes/soulgirl/images/comment.jpg /> <?php comments_popup_link(__('Comment (0)'), __('Comment (1)'), __('Comments (%)')); ?> <?php edit_post_link(__(' | Edit this post?'),'',''); ?></p><?php the_content(); ?><img src="https://www.thesoulgirl.com/wp-content/uploads/2009/03/karenx.gif" align="left" /> <script src="https://feeds2.feedburner.com/~s/BlogOfABarbedBimbo?i=<?php the_permalink() ?>" type="text/javascript" charset="utf-8"></script> <?php wp_link_pages(); ?><div class="navigation"><div class="alignleft"><?php previous_posts_link('? Newer Entries') ?></div> <div class="alignright"><?php next_posts_link('Older Entries ?') ?></div> </div> <?php comments_template(); // Get wp-comments.php template ?><?php endforeach; else: ?><p><?php _e('Sorry, no posts matched your criteria.'); ?></p><?php endif; ?></div> <?php get_footer(); ?>
[Please use the code buttons when posting code – as is, your code may have been corrupted]
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘Notice: start_wp is deprecated since version 1.5! Use new WordPress Loop instead’ is closed to new replies.