• Hello All,

    I’d like to know if anyone knows how I might modify the “minimalist” theme to automatically show all of the contents of a post(s) without having to click on it. Right now how it works is when I go to my url, there is a post and then when I click on it it drops down showing the contents of the post. I would like to know if there’s some code that will allow the entire post to appear, sort of like this website >>> https://viewerslikeu.com/

    My website is https://instantrecords.com/

    Thanks in advance for any help!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter morgenstary

    (@morgenstary)

    More Specifically I’m looking for the code that would allow me to have “default expanded” posts as opposed to the posts being hidden until they’re clicked. Here’s the code for the index.php

    <?php get_header(); ?>
    <?php get_sidebar(); ?>

    <div id=”wrapper” class=”clearfix” >
    <div id=”maincol” >

    <?php if (have_posts()) : ?><?php while (have_posts()) : the_post(); ?>

    <h2 class=”contentheader”><?php the_title(); ?></h2>
    <div class=”content”>
    <div class=”permalink”>” rel=”bookmark” title=”Permanent Link to <?php the_title_attribute(); ?>”>Permanent Link</div>
    <?php the_content(‘Read more »’); ?>

    <?php link_pages(‘<p>Pages: ‘, ‘</p>’, ‘number’); ?>
    <div id=”postinfotext”>
    Posted: <?php the_time(‘F jS, Y’) ?>
    Categories: <?php the_category(‘, ‘) ?>
    Tags: <?php the_tags(”); ?>
    Comments: “><?php comments_number(‘No Comments’,’1 Comment’,’% Comments’); ?>.
    </div>

    </div>
    <?php endwhile; ?>

    <div class=”navigation”>
    <span class=”prevlink”><?php next_posts_link(‘Previous entries’) ?></span>
    <span class=”nextlink”><?php previous_posts_link(‘Next entries’) ?></span>
    </div>

    <?php else : ?>
    <h2 class=”contentheader”>Not found!</h2>
    <p>Could not find the requested page. Use the navigation menu to find your target, or use the search box below:</p>
    <?php include (TEMPLATEPATH . “/searchform.php”); ?>
    <?php endif; ?>

    </div>
    </div>

    <?php get_footer(); ?>

    Thread Starter morgenstary

    (@morgenstary)

    bump

    You’re looking in the wrong place! You need to go into the /scripts folder, and edit script.js

    In that is the alwaysHide: true command. Just change true to false and you should be set.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Minimalist Theme Modification Question’ is closed to new replies.