Warning: Please do not give out any FTP or ssh credentials to anyone, unless you trust them completely. Giving out login details is dangerous.
If the asker does not get an answer then they have 10 days to request a refund.
$8
Autofocus+ Pro Theme | Posts on front page limited to 55
I currently have the Autofocus+ Pro theme installed on my website and currently the front page is restricting the number of visible posts to 55. I'd like to expand this number if possible.
daniel-marsden.com
Username: test
password: testes
Currently there are 57 posts that should be visible on the front page image grid but only 55 of them appear. It seems that no matter how many new posts I create only 55 will appear on the front page.
I can give out admin info to my site as needed.
Any help would be appreciated.
Thank you!
This question has been answered.
Daniel Marsden | 06/08/11 at 11:42am
Edit
(2) Possible Answers Submitted...
See a chronological view of answers?
Warning: Please do not give out any FTP or ssh credentials to anyone, unless you trust them completely. Giving out login details is dangerous.
-

Last edited:
06/08/11
11:49amPeter Michael says:Check Settings -> Reading -> Blog pages show at most
- 06/08/11 11:52am
Daniel Marsden says:I already tried to change this number.
It's stuck at 50. No matter what number I put in there (75, 100, etc.) and "save", it reverts back to 50.
Thanks the input though. - 06/08/11 11:55am
Peter Michael says:Can't help further as I'm not familiar with Thematic & Autofocus+ Pro. Good luck!
- 06/08/11 11:52am
-

Last edited:
06/08/11
12:32pmChristianto says:Hi Daniel,
If I'm not wrong the top of the image grid is a sticky posts that I code.. :D
The sticky image grid is showing 5 posts, that means the rest of the grid only 50 posts .
If you haven't change the code since I modify it, you can try this file attach.
Please backup the thematic-functions.php before you replace it..
If this does not work then there are other setting from thematic/autofocuspro that block front page grid number goes beyond 50,- 06/08/11 1:02pm
Daniel Marsden says:Christianto,
I haven't touched the thematic-functions.php file since you modified it so I used your new attached version of the file and it solved my issue perfectly.
What exactly did you do? Did you increase the number of visible posts on the front page numerically, if so what new number did you use? I'd like to have 75-100 posts on the front page max if possible.
I'm curious to see what code you put into the thematic-functions.php file to make this work.
I will award you the winner shortly after I test the new code a little more.
I should have just asked you in the first place Christianto!
Thanks!
- 06/08/11 1:17pm
Daniel Marsden says:Christianto,
Your new file is interfering with something I recently had altered using my thematic-functions.php file so I was mistaken. Can you please apply your tweak to my latest thematic-functions.php file which should alleviate the issue?
I have attached it below.
Thank you.
- 06/08/11 1:17pm
Daniel Marsden says: - 06/08/11 1:19pm
Daniel Marsden says:Those attachements don't seem to be working.
Here is the file:
http://www.daniel-marsden.com/FTP/thematic-functions-Backup_from_Extensions_05.28.11.php.zip - 06/08/11 7:57pm
Christianto says:Daniel,
I only alter the query of wordpress on line 316 to 333, maybe if you have another issue with your grid post, you can modify this area by applying parameter from wordpress query documentation, so you don't have to comeback here spend your money :D
its pretty easy to tweak, for example if you need all post grid from specific year, just add
'year' => '2010',
where 'year' is parameter of the query and '2010' are value referring to post publish on 2010.
Hope this help
- 06/08/11 8:58pm
Daniel Marsden says:Christianto,
This works perfectly, thanks for your help.
I will award you the winner once I test it a little more and make sure everything works OK.
Can you please tell me the code you added / altered between lines 316 - 333?
I understand what these parameters mean I just never learned PHP so I am learning slowly.
Understanding what you added and what the previous code was will help me understand what the problem was so in the future I won't have to come back here. ;)
Thanks again! - 06/08/11 9:06pm
Christianto says:Daniel,
I add other parameter on Line 320,
'posts_per_page' => -1,
It means show all post on the page, If you need only certain number of posts, just alter value '-1' to number desired.
Thanks
- 06/08/11 1:02pm
This question has expired.
Daniel Marsden voted on this question.
Current status of this question: Completed
Warning: Please do not give out any FTP or ssh credentials to anyone, unless you trust them completely. Giving out login details is dangerous.
If the asker does not get an answer then they have 10 days to request a refund.
