Forum Replies Created

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter steve0701

    (@steve0701)

    Any help at all would be appreciated….
    Does anyone else have a page that displays their most recent subject lines?

    Thread Starter steve0701

    (@steve0701)

    Success! When you mentioned the OPENING comment tag it tipped me off that there must be such a thing as a CLOSING comment tag. Yep, I never looked beyond the opening tag. Seems like I still think we are in the world of COBOL or BASIC. Thank you for all your help.

    Thread Starter steve0701

    (@steve0701)

    Commenting those 2 lines prevented the page from loading. Message: Parse error: parse error, unexpected $ in /home/content/d/e/l/delcospca/html/cms/wp-content/themes/mytheme/index.php on line 46

    No harm done. Any more ideas?

    Thread Starter steve0701

    (@steve0701)

    Thanks for the reply. I am going to paste the content from the index.php located in our custom theme/template. Pardon all the gibberish code, but this is a hopeless situation for me. Does any of this help?

    <?php get_header(); ?>

    <div class=”box”>

    <?php include(“../news/head_news.htm”) ?>

    <div class=”column_left”>
    <?php include(“../navigation.htm”) ?>

    <div> </div>
    <div align=”center”>
    <!–<script type=”text/javascript”><!–
    google_ad_client = “pub-8252063556694168”;
    google_ad_width = 120;
    google_ad_height = 240;
    google_ad_format = “120x240_as”;
    google_ad_type = “text_image”;
    google_ad_channel = “”;
    google_color_border = “336699”;
    google_color_bg = “FFFFFF”;
    google_color_link = “0000FF”;
    google_color_text = “000000”;
    google_color_url = “008000”;
    google_ui_features = “rc:0”;
    //–>
    </script>
    <script type=”text/javascript”
    src=”https://pagead2.googlesyndication.com/pagead/show_ads.js”&gt;
    </script> –>
    </div>

    </div>

    <div class=”column_full”>

    <div class=”block_top”>What’s Happening</div>

    <div class=”block”>

    <div id=”content” class=”narrowcolumn”>

    <?php if (have_posts()) : ?>

    <?php $offset = ($paged) ? (int) (get_option(‘posts_per_page’) * ($paged – 1)) : 0; ?>
    <?php query_posts(“orderby=menu_order&order=ASC&offset={$offset}”); ?>

    <?php while (have_posts()) : the_post(); ?>

    <div class=”post” id=”post-<?php the_ID(); ?>”>
    <h2>” rel=”bookmark” title=”Permanent Link to <?php the_title_attribute(); ?>”><?php the_title(); ?></h2>
    <small><?php the_time(‘F jS, Y’) ?> <!– by <?php the_author() ?> –></small>

    <div class=”entry”>
    <?php the_content(‘Read the rest of this entry »’); ?>
    </div>

    <p class=”postmetadata”><?php the_tags(‘Tags: ‘, ‘, ‘, ‘
    ‘); ?> Posted in <?php the_category(‘, ‘) ?> | <?php edit_post_link(‘Edit’, ”, ‘ | ‘); ?> <?php comments_popup_link(‘No Comments »’, ‘1 Comment »’, ‘% Comments »’); ?></p>
    </div>

    <hr />

    <?php endwhile; ?>

    <div class=”navigation”>
    <div class=”alignleft”><?php next_posts_link(‘« Older Entries’) ?></div>
    <div class=”alignright”><?php previous_posts_link(‘Newer Entries »’) ?></div>
    </div>

    <?php else : ?>

    <h2 class=”center”>Not Found</h2>
    <p class=”center”>Sorry, but you are looking for something that isn’t here.</p>
    <?php include (TEMPLATEPATH . “/searchform.php”); ?>

    <?php endif; ?>

    </div>

    <?php get_sidebar(); ?>

    <?php get_footer(); ?>

    <div class=”block_bottom”></div>

    </div>

    <?php include(“../foot.htm”) ?>

    </div>

    Thread Starter steve0701

    (@steve0701)

    Good try guys, but none of the posts were sticky, and every post already has the same category (news). I found that I can mark the newest post sticky and it shows up ahead of the 2 old posts. I even tried to sticky and unsticky the old, unwanted posts to no avail. Any other ideas? Is there any way I might be instructing WP to present the 2 OLDEST posts?

    Thread Starter steve0701

    (@steve0701)

    Thanks, but no luck. I also unchecked where it says to “Convert emoticons like ?? and ?? to graphics on display” under Settings> Writing.

    Thread Starter steve0701

    (@steve0701)

    Wow! Whoever you are, you just saved my ass. Everything is fine now. See my WordPress stuff under the What’s Happening header on the home page: delcospca.org

    Thread Starter steve0701

    (@steve0701)

    classic and default

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