Codex

Interested in functions, hooks, classes, or methods? Check out the new WordPress Code Reference!

Talk:Adding Asides

Indranil: did you see this article on Podz site: http://www.tamba2.org.uk/wordpress/asides2/ ? Just wanted to give you some reference info if it helps.

Let me know if this is ready to go and I'll move it out. Thanks!!!! Lorelle 02:21, 20 Jun 2005 (UTC)

Fail in 1.5?

some trobules has poped up.

I have tried to add the code of Part2 of Asides at the top of sidebar.php and it fails: "Parse error: parse error, unexpected T_ENDFOREACH in"

I have looked on The_Loop and am wondering if it is due to the loop "foreach:", however, it couldn't help.

We've passed this information on to people to test to code. We should have an answer in the next day or so. It is some confusion with the loop. Try the alternative suggestions while awaiting an answer. Thanks. Lorelle 20:34, 1 Jul 2005 (UTC)

We found the problem and it is fixed. Thanks for bringing this to our attention. Lorelle 22:19, 1 Jul 2005 (UTC)

Sorry

I'm so very sorry for that! :|

indranil 10:42, 2 Jul 2005 (UTC)

Too many asides

I created a section for asides in the right sidebar, for a particular category ("Notizie dalla rete"), in www.cronache-egovernment.it

This feature is wonderful, but the asides absorb most of the total amount of posts allowed in the main page .

Even if I increase the maximum nuber of articles per page, I obtain in the central section only 3 articles.

How can I limit the number of asides?

Paolosub

2.1 Recipe?

Can anyone add or update this for WP 2.1? Looks like it should be simple, but I don't have a test installation at the moment to try figuring it out...