Support » Themes and Templates » [Theme: Delphi] Changing summaries to full posts

  • LeClair

    (@joshaleclairgmailcom)


    Hello all!

    I’m working on Delphi, but the dealbreaker with this theme is that it only displayed a short summary of my posts on the main page instead of the full post. I’ve managed to get rid of the excerpt but is there an easy way to remove the featured image and expand the post to fill the post area?

    Site: artspace.joshualeclair.ca
    Pass: artspaceblog

    Thanks for your time!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hey LeClair I just downloaded the current Delphi Theme to my test server and had a look at it. You are correct, your theme designer has disabled the ability for the user to easily change this option.

    Normally, you should just need to go to the back-end:
    Settings -> Reading -> “For each article in a feed show” -> Full text or Summary.

    But… this won’t work on Delphi so let’s fix it!

    1. Back up your site!
    2. Go to your Dashboard and click on the Appearance tab.
    3. Click on Editor
    4. On the right hand side under Templates click on Main Index Template
    5. Scroll down until you find this:

    <div class="entry">
    <?php the_entry(); ?>
    <div class="clear"></div>
    </div>

    6. Change ‘the_entry();’ to ‘the_content();’
    7. Click Update File

    This worked for me. Depending on your version of WordPress, your version of the Delphi Theme, various Plug-ins, and post formatting – your results may differ. Make sure your posts aren’t using any “Insert More Tags.”

    Let me know if it works!

    UPDATE:
    You should really create a Child Theme first (http://codex.wordpress.org/Child_Themes):
    Create a Delphi-child folder in your server’s themes folder. You’ll need a style.css file that imports the Delphi stylesheet like this:

    /*
    Theme Name:     Delphi Child<br />
    Theme URI:      http://example.com/<br />
    Description:    Child theme for the Delphi Theme<br />
    Author:         Your name here<br />
    Author URI:     http://example.com/about/<br />
    Template:       delphi<br />
    Version:        0.1.0<br />
    */
    
    @import url('../Delphi/style.css');

    Then, you can copy the index.php file from your Delphi folder into the new Delphi-child folder and make the change listed above regarding the_entry(); changed to the_content();.

    You can also copy the screenshot from Delphi folder or add your own screenshot.jpg to the Delphi-child folder so a picture will show up in your Themes admin panel instead of a grey box.

    Finally, go to the WP Admin and under Themes you will activate Delphi-child.

    Thread Starter LeClair

    (@joshaleclairgmailcom)

    Awesome thanks for all the help! =)

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Theme: Delphi] Changing summaries to full posts’ is closed to new replies.