Quote:
I seem to remember to have once read about a counter in the loop that allows you to decide how many posts Wordpress should display as full posts (or whatever) but I don't know how to handle that with the bfa_loop. Is it even an option with bfa_loop or would I have to implement a counter into the template it is calling, which is postformat.php?
|
The problem is that the virtual PHP pages (Main Templates & Sub Templates) only allow a limited set of PHP function calls & code. I'm not sure if what you want to do can be accomplished through the virtual templates. You might have to create a physical template, and unfortunately, my knowledge of the WP or BFA functions isn't that great, so I can't offer any suggestions along those lines.
If I had to do it for myself, I'd kludge up something using JavaScript, since that's what I know. I'd set postformat.php to display both the excerpt and the entire post content in their own separate DIVs, and insert some CSS to hide the content DIV so they won't show up by default.
Once the document is loaded (ready), I'd save the sticky posts to an object and delete them temporarily from the document. Then select the first of the remaining posts (which should be the latest), and remove the excerpt DIV and unhide the content DIV. Finally, reinsert the stickies back at the beginning. As I said, not very elegant, kind of kludgy, and it will increase the load time slightly depending upon how how big the posts are, since both the excerpt and the entire post content are loaded. Someone else could probably come up with a much better PHP solution using a template.