• Resolved Mark

    (@encryptdesigns)


    I am having a tad bit of trouble with showing the FULL ARTICLE on this main page:

    https://www.foxvalleyshows.com/new/index.php

    Here is the snidbit of code that I am using:

    <?php $posts = get_posts(‘numberposts=10&offset=0&category=3’); foreach($posts as $post){ ?>
    <?php the_time(‘F jS, Y’) ?>
    <h3><?php the_title(); ?></h3>
    <?php the_excerpt(); ?>
    <?php the_content();} ?>

    I have tried removing the <?php the_excerpt(); ?> code but then only the title shows. So I am assuming that I have something wrong with the code or my settings in WP. But I can’t find anything relevant to this situation.

    Maybe there is a setting about a limit of text per posts in a “.php” file??

    Any help would be fantastic…

    -Mark

Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter Mark

    (@encryptdesigns)

    I just changed the link to:

    https://www.foxvalleyshows.com/new/index2.php so you can see what I am talking about…

    You cannot have both… pick one ??
    <?php the_excerpt(); ?>
    <?php the_content(); ?>

    Thread Starter Mark

    (@encryptdesigns)

    i did, like i said before when i take the excerpt one out then i only get the title to display, any ideas?

    Why do you have “}” in the_content tag?

    Insert this bit after the foreach:

    foreach($posts as $post){
    setup_postdata($post); ?>

    Thread Starter Mark

    (@encryptdesigns)

    Thanks everyone! Kaf that worked out great:) The “}” was just a type-o on my part, but now that works great ??

    Do any of you know how to CHANGE the TIMESTAMP function? I noticed that when I added a bunch of entries and changed the timestamp that now those posts will only show on that DATE and TIME. But I wanted to use the time stamp as a way of organizing my posts. Would this be a plugin issue or is there a file I need to alter?

    Thanks again!

    Thread Starter Mark

    (@encryptdesigns)

    Ok here is what I WANT to do:

    I post a show Today for NEXT WEEKEND. I want that show to get organized by date to fit in with the other current listings. Is there a way to sort by DATE or by CATEGORY ID?

    My thing is that I have a lot of SHOWS listed here:

    https://www.foxvalleyshows.com/new/shows.php

    I want to show visitors these shows AHEAD of time so they can plan on going to them. But say if someone wants another show posted between 2 existing shows? That makes me think that sorting by category ID is NOT going to work.

    So is there any way of sorting by the TIMESTAMP? I mean the data is there, as I will change the timestamp for each new post, so there has to be a way of using that data to organize the POSTS right??

    Maybe there is a simpler fix to this, any help from you guys/gals would be wonderful:)

    -Mark

    Thread Starter Mark

    (@encryptdesigns)

    I did find this post:

    https://wiki.www.ads-software.com/?pagename=HowToChangeSortOrder

    But that only sorts the actual WP index.php page and not any other page. So you guys can see that I am definately trying to figure this out on my own, but nothing is working.

    I even took this code:

    $orderby=”date”; $order=’ASC’;

    and placed it on my shows.php page on top like this:

    <?php $orderby=”date”; $order=’ASC’; require(‘./news/wp-blog-header.php’); ?>

    But that didn’t work either.

    I using this code under the Upcoming Shows section on all of my pages:

    <?php $posts = get_posts(‘numberposts=40&offset=0&category=1’); foreach($posts as $post){ ?>
    <?php the_title(); ?>
    <?php the_excerpt(); ?>
    <?php the_content();} ?>

    I am using this code under the main section of my shows page:

    <?php $posts = get_posts(‘numberposts=40&offset=0&category=1’); foreach($posts as $post){ ?>

    <?php the_date(”,'<h2>’,'</h2>’); ?>

    <h3>
    <?php the_title(); ?>
    <br>
    <span class=”upcoming”>
    <?php the_excerpt(); ?>
    </span> </h3>
    <?php the_content();} ?>

    You can view the actual page here:

    https://www.foxvalleyshows.com/new/shows.php

    I am just trying to sort the listings better…

    -Mark

    Thread Starter Mark

    (@encryptdesigns)

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Want Full Article on page being pulled, not summary…’ is closed to new replies.