teasing a post on a page
-
The plugin is working great on the home page. I have set up an article by subject pages that the posts associate with. Here the post prints in full. Would like to tease this page also. The plug in mentioned working with achieve and catagory pages yet I have been unable to figure out how to build ome.
-
jmech,
What do you mean by building achieve and category pages? You should not need to build those pages unless you want it to be visually different then the homepage.
–Han.
Goal is to have the post be teased except for it’s actual page. Post currently are three tier. Each article/post can be accessed on
– Home Page, 10 most recent posts (teaser working great)
– An article catagory page (archive of all articles in specific catagory (this is where ‘teaser’ is not teasing))
– Then the article’s permalink page (do not want it teased and of course that is working)
So the goal is to get the middle page above to tease.
What you describe works on my test env and my own blog. Do you know if your theme is doing something different in the category template?
Please send me your settings for Post Teaser via my contact page [contact moderated per forum rules;
please try to solve the problem within the forum]I am not using a catagory template. Using theme 909 a web page.
settings,
This is a preview of <q>%title%</q>. Read the full post
below are the single post and page template php’s
PAGE TEMPLATE
<?php get_header(); ?>
<?php get_sidebar(1); ?><?php get_sidebar(2); ?><?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div id=”post-<?php the_ID(); ?>” class=”top”><div class=”indent”>
<div class=”title-page”>
<h2><?php the_title(); ?></h2>
</div><div class=”text-box”>
<?php the_content(‘<p class=”serif”>Read the rest of this page</p>’); ?>
</div>
<?php wp_link_pages(array(‘before’ => ‘<p>Pages: ‘, ‘after’ => ‘</p>’, ‘next_or_number’ => ‘number’)); ?>
<!– <div class=”link-edit”>
<?php edit_post_link(‘Edit Post’, ”); ?>
</div>–></div>
</div>
<?php endwhile; endif; ?><?php get_footer(); ?>
SINGLE POST
<?php get_header(); ?>
<?php get_sidebar(1); ?><?php get_sidebar(2); ?><?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div class=”navigation”>
<div class=”alignright”><?php previous_post_link(‘ %link’) ?></div>
<div class=”alignright”><?php next_post_link(‘%link’) ?></div>
<div class=”clear”></div>
</div><div <?php post_class() ?> id=”post-<?php the_ID(); ?>”>
<div class=”indent”>
<div class=”title”>
<h2><?php the_title(); ?></h2>
</div>
<div class=”date”>
<?php the_time(‘F j, Y’) ?>
</div><div class=”text-box”>
<?php the_content(”); ?>
</div>
<div class=”postmetadata”><?php the_tags(‘Tags: ‘, ‘, ‘, ‘
‘); ?></div><div class=”postmetadata alt”>
<small>
This entry was posted
<?php /* This is commented, because it requires a little adjusting sometimes.
You’ll need to download this plugin, and follow the instructions:
https://binarybonsai.com/archives/2004/08/17/time-since-plugin/ */
/* $entry_datetime = abs(strtotime($post->post_date) – (60*120)); echo time_since($entry_datetime); echo ‘ ago’; */ ?>
on <?php the_time(‘l, F jS, Y’) ?> at <?php the_time() ?>
and is filed under <?php the_category(‘, ‘) ?>.
You can follow any responses to this entry through the <?php post_comments_feed_link(‘RSS 2.0’); ?> feed.
<?php if ((‘open’ == $post-> comment_status) && (‘open’ == $post->ping_status)) {
// Both Comments and Pings are open ?>
You can leave a response, or ” rel=”trackback”>trackback from your own site.
<?php } elseif (!(‘open’ == $post-> comment_status) && (‘open’ == $post->ping_status)) {
// Only Pings are Open ?>
Responses are currently closed, but you can ” rel=”trackback”>trackback from your own site.
<?php } elseif ((‘open’ == $post-> comment_status) && !(‘open’ == $post->ping_status)) {
// Comments are open, Pings are not ?>
You can skip to the end and leave a response. Pinging is currently not allowed.
<?php } elseif (!(‘open’ == $post-> comment_status) && !(‘open’ == $post->ping_status)) {
// Neither Comments, nor Pings are open ?>
Both comments and pings are currently closed.
<?php } edit_post_link(‘Edit this entry’,”,’.’); ?>
</small>
</div>
<div class=”clear”></div><?php comments_template(); ?>
</div>
</div>
<?php endwhile; else: ?>
<h2 class=”pagetitle”>Sorry, no posts matched your criteria.</h2>
<?php endif; ?><?php get_footer(); ?>
jmech,
From the above, I can’t see what is wrong. Can you post the settings for Post Teaser? Specifically the settings under “Tease message control” and “Advance tease control“
–Han.
I have put an X infront of checked items.
Tease message control
Show read more link at the end of teased post (immediately following post text with no line-breaks)X Show post statistics as block (original style teaser massage with paragraph break after post text)
Show post statistic block before post (by default post statistic block appears after post)
Omit post statistics for fullpost (suppress post statistic if fullpost is showned)
Advance tease control (all of these are unchecked)
Fine tuning
Show seconds like this: 54Show minutes like this: 3:343.343-34
Show word and image counts like this: 462 words, 3 images462 words and 3 images462 words & 3 images462 words + 3 images
Show the count of images or words, even if it’s zero
So far, I can not see any issue with your settings. The theme you use, is it paid or free? if free can you point me to where to get it. I’ll have a look at the theme in my test env.
- The topic ‘teasing a post on a page’ is closed to new replies.