Archive for the ‘Wordpress’ Category.

Scrollable Box (div) in CSS

As you may notice I updated my blog theme to scrollable boxes to make the navigation easier. You might still go to the individual page for viewing. You can do this with CSS’ overflow property.You also have to give the width and height, so the browser can understand where to put the scrolls. To make scrollbars you need to set overflow property to “scroll”.

.box
{
 width:445px;
 height:250px;
 overflow: scroll;
}

There is another overflow code “auto”, this makes scrolls if needed, and leaves it if the contents fits to the div. I haven’t chosen that because I wanted to have symmetry.

Microsummary Generator plugin for Wordpress

Firefox 2.0 Beta 1 supports a new feature called microsummaries . It is a kind of smart bookmark feature added to firefox.
However because firefox 2 is beta,  I think they don’t support dynamic files. What it looks for an xml file is the extension xml. As a result it can’t use for the dynamic results as php for our case. I hope that this will be solved on the final product, I just mailed mozilla support team for this issue. Maybe this is by design, but it should support dynamic xml files.

Issues

It’s funny I know, but this plugin is not working :) This is because  firefox want static xml file. I made this plugin without knowing that, as a result waiting for them to support it.

Installation

To install it. Extract the generator file (microsummary-generator.php) to your plugin folder. And the xml file (microsummary.php) to your blog’s root folder. Then add MicroSummaryBookmark() function to your theme file. Actually this provides the link to be put on your page. So you can put this file wherever you want to see in your page.

Screenshots

Link to Microsummary Add to Microsummaries  Generated Error

Download

.

Wordpress Binary Blue Localization Problem Solved

I have the same localization problem with other guys that run binary blue theme. For details, you can read the post about Binary Blue Localization
I try and test from my home computer and the localization works perfect. However my server somehow doesn’t let me to do it. I tried every combination of the naming for the WPLANG and for the PO filename. My site was still displaying in german. So I decided to write a simple utility to convert the main files to the localized files. After 2 hours of hard coding I successed with localization using the PO text file.
Here is the tool to localize binary blue to your language using the PO file.

.

To use the program you need to have .Net Framework 2.0 installed. Also you need to download the desired PO file and the theme itself. After that you can run the program to rewrite the files for you.
I don’t know if anybody is interested with the source code, if you do please let me know.

How to use it

  • Run the program
  • Initial Screen of PO Integrator

  • Select folders desired, destination folder should be empty!
  • PO Integrator selected files and folders

  • Click Start, and you are done. Copy the files to the default themes location in the web server
  • PO Integrator Operation Complete

Meta Tag - Wordpress Plugin

Meta tags are the hidden info of your page. Most of the search engines use this info to crawl your page. You can view these fields from your page source between head tags. Wordpress does not have a configuration tool for meta tags. I wanted my meta tags to be configurable,so I made this plug in. You don’t have to edit each themes header.php file anymore. This plug in also sets the meta data details dynamically based on your post.

Installation

Just upload the file to wp-content/plugins directory, than configure it on the options page using Meta Tags tab. Enter your desired information and meta tags are inserted on every page.

Screenshots


Wordpress meta tag manager plugin

Download

.

Change Log

Version 0.1 : It allows you to customize two fields of the meta-tag, probably the most popular one. These fields are Description and Keywords. These are mostly used by search engines.