• Greetings!
    Currently re-designing this ‘Revolution Music 10’ theme…
    address @ http://www.fallreign.com

    I’m trying to get the main entrance page of the site to display posts from the news category in full, entirely removing the “Read More” option, as well as allowing for rich-text, css, hyper-links and images or embedded videos… I have seen this sort of full post done on other themes such as this: http://www.withinformation.org

    Currently I have figured out how to allow for unlimited characters to display from the post as a summary… with the ‘Read More’ always at the end, but it will not allow for paragraph structure to carry over, or images, videos or style sheet effects.

    I am new to PHP, although I can definitely edit… so if anyone has any thoughts illuminating the subject I am wide open! Thanks again!!!

Viewing 6 replies - 1 through 6 (of 6 total)
  • the_content('Read More'); and write quick tag ‘<!–more–>’ in your post.
    See Customizing the Read More

    Thread Starter dustycode

    (@dustycode)

    Well, thats fine and all.. except that I want to REMOVE the ‘Read More‘ entirely and allow for images, videos & hyper-links to be embedded in the summary as well as style sheet attributes.. right now they are just plain jane… not recognizing any embedded media or links and have the ‘Read More‘ tacked on at the end. Any thoughts on a work around ?

    this is not the normal ‘read more’ – there must be a custom function in the theme to generate the summary.

    have a look into index.php and see if you can locate the function; and then maybe post it here.

    or post the download link for the theme, that someone might have a look at it.

    For example: replacing text with image.
    <?php the_content('<span class="moretext">Read More</span>'); ?>
    style.css:

    a .moretext{
    display:block;
    text-indent:-9999px;
    overflow:hidden;
    background:url(images/readmore.png) left center no-repeat;
    }

    Thread Starter dustycode

    (@dustycode)

    <?php get_header(); ?>

    <div id=”content”>

    <div id=”contentleft”>

    <div class=”postarea”>

    <?php include(TEMPLATEPATH.”/breadcrumb.php”);?>

    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    <h1><?php the_title(); ?></h1>
    <!–
    <div class=”date”>

    <div class=”dateleft”>
    <p><span class=”time”><?php the_time(‘F j, Y’); ?></span> by <?php the_author_posts_link(); ?>  <?php edit_post_link(‘(Edit)’, ”, ”); ?>
    Filed under <?php the_category(‘, ‘) ?></p>
    </div>

    <div class=”dateright”>
    <p><span class=”comment”>#respond”>Leave a comment</span></p>
    </div>

    </div>
    –>

    <?php the_content(__(‘Read More’));?><div style=”clear:both;”></div>

    <!–
    <?php trackback_rdf(); ?>
    –>

    <?php endwhile; else: ?>

    <p><?php _e(‘Sorry, no posts matched your criteria.’); ?></p><?php endif; ?>

    </div>

    <div class=”adsense-post”>

    <!–To activate your Google AdSense ad, go to your WP dashboard and go to Presentation -> Revolution Music Options and enter your Google Adsense Code.–>

    <?php $adsense_468 = get_option(‘revmusic_adsense_468’); echo stripslashes($adsense_468); ?>

    </div>

    <div class=”comments”>

    </div>

    </div>

    <?php include(TEMPLATEPATH.”/sidebar.php”);?>

    </div>

    <!– The main column ends –>

    <?php get_footer(); ?>

    Thread Starter dustycode

    (@dustycode)

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

The topic ‘Custom Post Summary & Read More!’ is closed to new replies.