WordPress.org

Ready to get started?Download WordPress

Forums

Boldy Theme - Home Box showing all page info not just teaser (7 posts)

  1. samb0005
    Member
    Posted 3 years ago #

    Hi

    I am hoping that someone might be able to help me! Am trying to use the Boldy theme for a website and in the home boxes section, instead of just showing the first few lines and then a read more link, it actually shows all the text from the featured page as well as full sized images. If anyone knows how to sort this out I would appreciate it!

    Thanks
    Sam

  2. Nerx
    Member
    Posted 3 years ago #

    Have you changed the PHP in the Theme editor?

  3. samb0005
    Member
    Posted 3 years ago #

    Thanks for your reply. No I hadn't made any major changes and have just reloaded all the original files incase something I had done had made the error, but it is still happening. Are there any settings or anything else I could maybe check?

  4. 123milliseconds
    Member
    Posted 3 years ago #

    >>>it actually shows all the text from the featured page as well as full sized images

    Thats how that theme is written

    you have to find the_content and replace it with the_excerpt in index.php in theme folder

  5. samb0005
    Member
    Posted 3 years ago #

    Hi
    Thanks for the reply. I've just tried changing that (see below) but unfortunately it hasnt made any difference. Is there anything else I needed to do as well as change the content to excerpt?

    <!-- Begin .postBox -->
    <div class="postItem">

    <h1>"><?php the_title(); ?></h1>
    <div class="meta">
    <?php the_time('M j, Y') ?>   //   by <span class="author"><?php the_author_link(); ?></span>   //   <?php the_category(', ') ?>  //  <?php comments_popup_link('No Comments', '1 Comment ', '% Comments'); ?>
    </div>
    <?php the_excerpt(__('Read more >>')); ?>

    </div>

    <!-- End .postBox -->

  6. oxygensmith
    Member
    Posted 3 years ago #

    Did anyone get this problem solved? I am having the identical issue with the boldy theme, and replacing the_content with the_excerpt doesn't change anything.

  7. illmikey
    Member
    Posted 3 years ago #

    Yeah, you have to create separate pages for your home boxes as mentioned in their documentation -- I failed to see it too:

    "HomeBoxes
    You need to first create pages for JUST the content visible on the homepage boxes, including images. Then go to Options page and select the page to be displayed for each box." -- doc

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.