Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #13315

    Hi, I bought your template, it’s great!! Can you tell me how to remove the small sized post from the homepage?

    I mean the 4 posts on home page bottom

    I don’t need it. Regards.

    #78737

    May be I didn’t explain well, in the Article Appearance on frontpage and category overview pages Articles can either take the full width of the content column or can be displayed as small articles, always 2 besides each other. How many full sized articles do you want to display before articles are shown half sized? I wrote 3

    but

    Is it possible to remove the articles displayed as small like ” always 2 besides each other”? I need just three full width posts.

    Can you help me?

    #78738

    Hey!

    In index.php replace:

    if ($fullsized > 0) :

    with:

    if (1 > 0) :

    Best regards,

    Peter

    #78739

    Hello Dude,

    Very good reply. I only have one more question. Which part of code can we remove? I refer the part of code related with small sized post. Overall to clear code. I tried to remove this part: http://codepad.org/4uyZgaNH

    But it didn´t work.

    #78740

    Hi,

    It will work please try it again.

    Open index.php and find this code

    // ############################# FULL SIZED POSTS #############################
    if ($fullsized > 0) :

    Replace it with this code like Dude said

    // ############################# FULL SIZED POSTS #############################
    if (1 > 0) :

    And to avoid errors go to Newscast > General Options > Article Appearance on following pages, select Use the same scheme for subpages that was defined for frontpages.

    Regards,

    Ismael

    #78741

    Hello Ismael,

    Yes, I did it and it´s fantastic. Now I don´t have small posts. But my problem now is that I cannot define the number of posts in the Index. I tried to change it in the WP place (General Options). I changed the `Article Appearance on following pages´ as you told: Use the same scheme for subpages that was defined for frontpages.

    But I have still 20 posts in the Index, in spite of I wrote 10 in: `Article Appearance on frontpage and category overview pages´.

    Do you know how can I change it in the code directly?

    And my previous question was about other issue. Like I won´t use the small posts, I would like to erase the code for them. To clean code. This is the part from the code that I erased http://codepad.org/4uyZgaNH but it didn´t work.

    #78742

    Hi antoniocansinos,

    I don’t know what you mean by cleaning up the code and removing some of it. To do what this topic is about, you just need to follow the steps above. No other steps are required unless you are trying to do something else.

    To change the output of blog posts on overview pages, try going to the main wordpress Settings>Reading and changing the option for “Blog pages show at most “.

    Regards,

    Devin

    #78743

    Hello Devin,

    Perfect. It works. I changed the number of posts to show at the Main Page in Settings> Reading> “Blog pages show at most “.

    And about the code, I was referring to the code of Small posts at the Index.php. I thought that if you don´t use Small posts maybe would be interesting remove this code´s part. But maybe it doesn´t have importance.

    Thanks,

    Antonio

    #78744

    Glad its working for you and no, there is no need to remove any code.

    Regards,

    Devin

Viewing 9 posts - 1 through 9 (of 9 total)

The topic ‘Remove Small Sized Post’ is closed to new replies.