Support » Fixing WordPress » Minimalist Theme – Don’t want most recent post content to be hidden

  • I’m using the Minimalist Theme by Joey Robinson.

    I love the accordion style of the blog but I want to find a way to make the most recent blog post content completely visible by default and just have all the others hidden like normal, where you have to click on the header to see it.

    Can anyone help?

Viewing 6 replies - 1 through 6 (of 6 total)
  • I am looking for the same answer. Please help.

    I would be thrilled with the same ANSWER.

    If anyone finds it please post a link or code here in order to make the alteration the to the site. Would be very appreciated!


    You need to edit the script.js file in the scripts folder.

    find the code:

    window.addEvent('domready', function() {
    var myAccordion = new Accordion($('maincol'), 'h2.contentheader', 'div.content', {
    display: -1,
    duration: 300,
    alwaysHide: true,
    		onActive: function(contentheader, content){
    			contentheader.setStyle('font-weight', 'bold');
    		onBackground: function(contentheader, content){
    			contentheader.setStyle('font-weight', 'bold');

    and change the display: -1, to display: 0,

    I was also wondering how to do this and klovesj suggestion works perfectly. Thanks!

    Sorry, I noted that at the opening of that theme, first voice is showned for a while and then closed.
    Is that problem fixable, without using fixing right above?


    @klovesj Great solution, thanks so much, that works.

    The first time I got it wrong and screwed up my menu in the side bar. I advise anyone applying this change to look very carefully at the js code, because there are two parts of the code which look very similiar. Make sure you apply this code to the part that applies to the content rather than the menu 🙂

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Minimalist Theme – Don’t want most recent post content to be hidden’ is closed to new replies.