• 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

Viewing 14 replies - 1 through 14 (of 14 total)
  • Moderator keesiemeijer

    (@keesiemeijer)

    try it using the_content()

    Thread Starter jackmcnally

    (@jackmcnally)

    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?

    Thread Starter jackmcnally

    (@jackmcnally)

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

    Moderator keesiemeijer

    (@keesiemeijer)

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

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

    Thread Starter jackmcnally

    (@jackmcnally)

    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!

    Moderator keesiemeijer

    (@keesiemeijer)

    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)

    Thread Starter jackmcnally

    (@jackmcnally)

    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!

    Moderator keesiemeijer

    (@keesiemeijer)

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

    Thread Starter jackmcnally

    (@jackmcnally)

    Hi,

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

    Moderator keesiemeijer

    (@keesiemeijer)

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

    Thread Starter jackmcnally

    (@jackmcnally)

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

    Moderator keesiemeijer

    (@keesiemeijer)

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

    Thread Starter jackmcnally

    (@jackmcnally)

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

    Moderator keesiemeijer

    (@keesiemeijer)

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

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Show full post’ is closed to new replies.