Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #200396

    Hello,
    I’d like to have only 1 featured post shown in the homepage’s main news element.
    Currently, through the Theme Options area, I can choose an amount of posts between 3 and 99: how can I choose to show only the very last post?

    Thank you!

    #200437

    Hi matteora!

    Can you post the link to your website?

    Best regards,
    Yigit

    #200471

    Of course I can, it’s always wildlifechronicles.com
    But my question is not related with my website but, more generally, with your template.
    Is there a way to make appear only the very last post of the category chosen to be shown in the Main news section?

    Thank you

    #201382

    Hey!

    Please go to wp-content\themes\shoutbox\includes\admin folder and open register-admin-options.php file and find

    $itemcountMed = array('none' => "");
    for($i = 3; $i<30; $i++) $itemcountMed[$i] = $i;	
    
    $itemcountBig = array();
    for($i = 3; $i<100; $i++) $itemcountBig[$i] = $i;	

    and change it to

    $itemcountMed = array('none' => "");
    for($i = 1; $i<30; $i++) $itemcountMed[$i] = $i;	
    
    $itemcountBig = array();
    for($i = 1; $i<100; $i++) $itemcountBig[$i] = $i;	

    then change “Number of featured Posts” in Shoutbox theme options under Main news page tab to 1

    Regards,
    Yigit

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

You must be logged in to reply to this topic.