Support » Themes and Templates » Removing "Read More" on Accounting Theme

  • Here’s a sample page from my theme:

    I am trying to remove the “Read More” option on all of the posts on my blog. Can anyone help me?

    Here is the index.php file:

    <?php global $theme; get_header(); ?>
        <div id="main">
            <?php $theme->hook('main_before'); ?>
            <div id="content">
                <?php $theme->hook('content_before'); ?>
                    if (have_posts()) : while (have_posts()) : the_post();
                         * The default post formatting from the post.php template file will be used.
                         * If you want to customize the post formatting for your homepage:
                         *   - Create a new file: post-homepage.php
                         *   - Copy/Paste the content of post.php to post-homepage.php
                         *   - Edit and customize the post-homepage.php file for your needs.
                         * Learn more about the get_template_part() function:
                        get_template_part('post', 'homepage');
                    else :
                        get_template_part('post', 'noresults');
                <?php $theme->hook('content_after'); ?>
            </div><!-- #content -->
            <?php get_sidebars(); ?>
            <?php $theme->hook('main_after'); ?>
        </div><!-- #main -->
    <?php get_footer(); ?>

    [Moderator Note: Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum’s parser.]

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Removing "Read More" on Accounting Theme’ is closed to new replies.