WordPress.org

Ready to get started?Download WordPress

Forums

Show full post (15 posts)

  1. jackmcnally
    Member
    Posted 2 years ago #

    Hi,

    Thanks for reading this and helping, it means a lot! I am using the boulevard theme and would like to show the full post on the index page instead of just an excerpt. I tried fiddling around with the index.php , upping the word limit of the exceprt (or at least I think I did!) to 10000, and changing get_the_excerpt to the_post , but it dosen't seem to have done anything! I would have at least though my index would be a little messed up! I cleared my cache and all too... hmmm.. Anyway, I have attached my index.php file here (the default one), and hopefully you can tell me what to change!

    [code moderated - please follow the forum guidelines for posting code]

    Thanks,
    Jack

  2. keesiemeijer
    moderator
    Posted 2 years ago #

    try it using the_content()

  3. jackmcnally
    Member
    Posted 2 years ago #

    Thanks for your reply. I did some testing, and I removed every scrap of code from the index.php document, and yet, the website still displays flawlessly! Something's funny! I have these templates as part of the boulevard theme

    404 Template
    (404.php)
    Archives
    (archive.php)
    Comments
    (comments.php)
    Contact Form Page Template
    (contact.php)
    Footer
    (footer.php)
    Full Width Page Template
    (full-width.php)
    Header
    (header.php)
    Main Index Template
    (index.php)
    Page Template
    (page.php)
    Search Form
    (searchform.php)
    Search Results
    (search.php)
    Sidebar
    (sidebar.php)
    Single Post
    (single.php)
    Theme Functions
    (functions.php)
    bootstrap.php
    (bootstrap.php)
    metaboxes.php
    (metaboxes.php)
    profile.php
    (profile.php)
    shortcodes.php
    (shortcodes.php)
    style_switcher.php
    (style_switcher.php)
    theme_options.php
    (theme_options.php)
    update-notifier.php
    (update-notifier.php)
    Styles
    Stylesheet
    (style.css)

    and no child themes. What should I edit?

  4. jackmcnally
    Member
    Posted 2 years ago #

    Oh, and here is the default index.php on pastebin. Apologies!
    http://pastebin.com/VSPsQYkq

  5. keesiemeijer
    moderator
    Posted 2 years ago #

    Normally index.php displays your front page, unless you have a static front page.

    Try it with this index.php: http://pastebin.com/E5vhpJf3

  6. jackmcnally
    Member
    Posted 2 years ago #

    Hi,

    That didn't seem to work, I think because as I said above, when I get rid of all the php script on my index.php page, it still comes up perfectly! Any help anyone could give would be much appreciated!

    Thanks!

  7. keesiemeijer
    moderator
    Posted 2 years ago #

    Because this is a paid for theme it's difficult to offer much in the way of assistance. Try and edit full-width.php (just guessing here)

  8. jackmcnally
    Member
    Posted 2 years ago #

    Huzzah! Turns out my WP editor wasn't working properly! I manually edited the index.php through filezilla and it worked with your pastebin! One extra question, as always, the posts are in columns. Eg:

    Post One | Post Two
    Post One | Post Two
    Post One | Post Two
    Post One | Post Two
    Post One | Post Two
    -------------------
    Post Three | Post Four

    .. and so on. Is there a way I can get the post to assume the full width of the available area?

    Eg.

    Post One.............................................................................................................................................................................................

    Post Two .............................................................................................................................................................................................

    .. and so on?

    Thanks!

  9. keesiemeijer
    moderator
    Posted 2 years ago #

    This can probably be done be editing your theme's stylesheet (style.css?). Can you provide a link to your website?

  10. jackmcnally
    Member
    Posted 2 years ago #

    Hi,

    Stylesheet and link here: http://pastebin.com/hJ8HTsbB

  11. keesiemeijer
    moderator
    Posted 2 years ago #

    We need a link to the website to know what to change in the stylesheet.

  12. jackmcnally
    Member
    Posted 2 years ago #

    It's at the very top of the pastebin (:

  13. keesiemeijer
    moderator
    Posted 2 years ago #

    Try it with this stylesheet: http://pastebin.com/4hUemAWq
    and test this in different browsers.

  14. jackmcnally
    Member
    Posted 2 years ago #

    You are a lifesaver, you know that, right? Thank you so much, your help has been so valuable!

  15. keesiemeijer
    moderator
    Posted 2 years ago #

    You're welcome, I'm glad you got it resolved

Topic Closed

This topic has been closed to new replies.

About this Topic