ALWAYS ON TOP - WordPress 1.2 Plugin -------- By Lucas Zallio: http://ele-zeta.com.ar desarrollo@gmail.com Original Idea: Placebo: http://placebo.f2o.org BCloud: http://Blackclouds.com.ar ---------------------------------------------- --------------------------------------------------- WHAT? This plugin allows you locate any post that contains the string ; and put it on the top (like lasts artcles). Today the post's life has been reduced considerly, this plug-in is an attempt to make those important post always up to date. It has 3 functions: First one print all post marked with : aot(); Second one show all titles linked to the posts marked with : aot_title(); Third one show only one random post of the marked with : aot_random("false") to show only the header of the post (category, title, date, time) aot_random("true") to show all the post ---------------------------------------------- --------------------------------------------------- HOW ? 1_ Copy aot.php into your pluginīs dir and activate it. 2_ Call the function aot(); where ever you want before the posts loop (it's important to be OUTSIDE the loop); I suggest locate it before the line "". Example: * you can use aot(); (only recommended in just one post) * the aot_title("",""); is perfect for the menu. and are by default "" "" 3_ Add into the body of the post you wanna be always on top. 4_ Personalize the style of the AOT posts. The AOT plugins write the same basic html than WP 1.2 between a
under "aot" id. So if you wanna personalize the style of aot post you only have to modiffy the CSS. (It's important that aot post be remarked as "old" one, because could be interpreted like a malfunction of the blog) ------------------------------------------------------------------------- -------------------------------------------------------------------------