Archive for February, 2010

FolioGrid WordPress Portfolio Theme absolutely FREE!

featured-foliogrid

WordPress Theme celebrates it’s launch in style by offering you this WordPress Portfolio Theme absolutely FREE!

FolioGrid comes in three beautifully crafted styles, Dark, Light and Yellow.

Download the file here. Demo here

How to wmode transparent html over Flash Css Menu Problem

Editing HTML code manually

To edit an existing HTML page, add the WMODE parameters to the HTML code.

  1. Add the following parameter to the OBJECT tag:
     <param name="wmode" value="transparent"> </param> 
  2. Add the following parameter to the EMBED tag:
     wmode="transparent" <br />

Example
<object width=”120″ height=”600″>
<param name=”movie” value=”SWF.swf“> <param name=”wmode” value=”transparent”>
<embed src=”SWF.swf” wmode=transparent pluginspage=”http://www.macromedia.com/go/getflashplayer&#8221; type=”application/x-shockwave-flash” width=”120″ height=”600″>
</embed>

Different Theme Design for Different Categories WordPress 2.9

Example: slugname:politic categoryname:politic
Put in your theme folder a new theme with the name your slug or id i prefer slug because its more acceptable
in these case
wp-content/themes/your-theme/category-politic.php

Dynamic Content Gallery Message #20: An error has occurred. Go back and try again.

Solution: Reset the plugin’s Settings to Default.

Moving WordPress Another Host Domain How to change Url adress Mysql Querys


UPDATE wp_posts SET post_content = REPLACE(post_content,
‘oldwebsite.com’, ‘newwebsite.com’);

UPDATE wp_posts SET guid = REPLACE(guid,
‘oldwebsite.com’, ‘newwebsite.com’);

UPDATE wp_postmeta SET meta_value = REPLACE(meta_value,
oldwebsite.com‘, ‘newwebsite.com’);

UPDATE wp_options SET option_value = REPLACE(option_value,
‘oldwebsite.com’, ‘newwebsite.com’);

UPDATE wp_links SET link_image = REPLACE(link_image,
‘oldwebsite.com’, ‘newwebsite.com’);

UPDATE wp_users SET user_email  = REPLACE(user_email,
‘oldwebsite.com’, ‘newwebsite.com’);

How to Mysql search and replace find Query Worpress Post

update [table_name] set [field_name] =
replace([field_name],’[string_to_find]‘,’[string_to_replace]‘);

if you are moving your website to another domain its very usefull to replace hard coded urls with one click

example
UPDATE wp_posts SET post_content = REPLACE(post_content,
'oldwebsite.com', 'newwebsite.com');

How to play flv file video on Facebook FBML

<fb:flv
src=’http://www.mediacollege.com/video-gallery/testclips/barsandtone.flv&#8217;
width=’400′ height=’300′ title=’my movie’ color=’#FFBB00′ salign=’r’
img=’http://www.example.com/test.jpg&#8217; scale=’showall’/>

Required Name Type Description
required src string The URL of the FLV file. The
URL must be absolute.
optional height int The height of the video container in pixels or percentage.
width int The width of the video container in pixels or percentage.

title string The name of the video. The
title appears on the movie’s control bar.
scale string A Flash attribute. How to
scale the movie within the container. Specify one of showall
(displays the whole movie, overriding container dimensions while
maintaining the original aspect ratio of the container), noborder
(movie fills the container, without distortion but possibly with some
cropping, while maintaining the original aspect ratio of the container),
or exactfit (movie dimensions match container dimensions,
which may result in distortion). (Default value is showall.)

img string The URL of the image
displayed behind the play button before the movie starts playing. The
URL must be absolute.
align string A Flash attribute. Determines
where the FLV file is aligned within the container. Specify l (left), r
(right), t (top), b (bottom).
salign string A Flash attribute. Specifies
where the scaled FLV file appears within the container based on its
width and height settings. Specify l (left), r (right), t (top), b
(bottom).
color string The hex value for background
color while the movie plays. (Default value is #000000.)

Open 2 two links with just one click Javascript Simple Solution Tiny Code

example

<SCRIPT LANGUAGE=”JavaScript”>

function birtasikikus(site1, site2) {
window.open(site1);
window.location = site2;
}
</script>
</head>

<body>
<a href=”javascript:birtasikikus(‘http://www.yoursite.com/&#8217;, ‘http://www.yoursite.com/&#8217;);”>Click Here</a>
</body>

FBML TEST

http://developers.facebook.com/tools.php?fbml

Facebook Share/Specifying Meta Tags FBML Audio Flash Video Action Bar

Continue reading »

Follow

Get every new post delivered to your Inbox.

Join 108 other followers