Alphabetized listing in Wordpress
Posted by admin in wordpress
With WP-Snap you can organize your posts alphabeticaly in each category.For example: if you are browsing through category 3, WP-Snap organizes posts from that category only.
- Download the plugin: wp-snap.zip
- Unzip and upload the file to your plugin folder (usually: /wp-content/plugins/).
- Activate the plugin.
- Insert the following code to your theme files where you want the alphabetical list to apear (index.php, archive.php):
<?php if (function_exists(’wp_snap’)) { echo wp_snap(); } ?>
Check out plugin’s homepage for additional tips and settings.
Stick footer to bottom with CSS
Posted by admin in html / css
Here is some usefull code how to stick footer to the bottom of browser with CSS.
HTML code:
<html>
<title>Stick Footer</title>
<body>
<div id=”container”>
<div id=”content”>
<p>Content text …</p>
</div>
<div class=”push”></div>
</div>
<div id=”footer”>
<p>Footer text …</p>
</div>
</body>
</html>
CSS code:
* {
margin: 0;
}
html, body {
height: 100%;
}
#container {
width:700px;
min-height: 100%;
height: auto !important;
height: 100%;
margin: 0px auto -40px; /* the bottom margin is the negative
value of the footer’s height */}
.push {
height: 40px; /* .push must be the same height as #footer */
}
#content {
padding:20px;
}
#footer {
width:700px;
margin:0px auto;
height: 40px;
}
Here is example.
Stick post in Wordpress
Posted by admin in wordpress
I found nice Wordpress plugin to stick one of your posts to the top of the page.
- Download the plugin: wp_stickpost.zip
- Unzip and upload the folder to your plugin folder (usually: /wp-content/plugins/).
- Go to Admin site under ‘Manage’ -> ‘Stick post’ and select the post that will be sticked at the top of your page.
Plugin’s homepage.
Lightbox/ThickBox/GreyBox under Flash object
Posted by admin in tips
Are you using LightBox and Flash object on your site? The problem appears when you open LightBox and your Flash object appears above the pop up.
There is a simple solution to your problem!
Place the following code in your object parameters:
<param name=”wmode” value=”transparent”></param>
Also add this code to <embed> tag:
wmode=”transparent”
That’s it! Flash should now be hidden under LightBox with the rest of the page.
Find what you need
Posted by admin in uncategorized
Welcome to my Code blog. Here you can find all kind of usefull code, plugins, component, modules, links and more.


