Put this code in to your function.php (Note: Fix php tag!)- < ?php function the_title2($before = ”, $after = ”, $echo = true, $length = false) { $title = get_the_title(); if ( $length && is_numeric($length) ) { $title = substr( $title, 0, $length ); } if ( strlen($title)> 0 ) { $title = apply_filters(‘the_title2′, $before […]
Author Archives: Muhammad Faridul Islam
get_depth() As far as I know there is no function in WordPress that return the page or category depth. I created a function that returns the depth of a page or category. The depth is how many levels from the root the page or category in its hierarchy. The root level number is 0. <? […]
<h3>Recent Post</h3> <div> <!– use a custom field for image , Here the custom field name is = “newReleaseThumb” –> <?php $myposts = get_posts(‘numberposts=5&offset=1′);foreach($myposts as $post) > <div style=” width:100%; float:left; border:#FF0000 0px solid; padding: 5px; margin-bottom:2px; background:#0000FF;”> <div style=”width:95px; float:left;”> <?php $thumbnail = get_post_meta($post->ID, ‘newReleaseThumb’, true); ?> <a href=”<?php the_permalink() ?>” title=”<?php the_title_attribute(); ?>”> […]
<?php $my_query = new WP_Query(‘category_name= Trailer&showposts=4′); ?> <?php while ($my_query->have_posts()) : $my_query->the_post(); { ?> YOUR DATA <?php } endwhile; ?>
All of us use the keyboard to create symbols daily. Look at the thumbnail. That’s a simple symbol created with just four keys. Symbols existed even before the alphabets. Over the years they have been part of folklore, myths and legends. Some have stayed on as indelible marks. Some, like the swastika, are better forgotten. […]
Developed this site for renowned Distribution company Healthcare Distribution Co.
The site developed web 2.0 style. Use latest web technology.
The site is developed to gather information on FIFA World Cup. Here we use jQuery, JavaScript, PHP, MySQL, HTML.
PHP: Hypertext Preprocessor is a widely used, general-purpose scripting language that was originally designed for web development to produce dynamic web pages. For this purpose, PHP code is embedded into the HTML source document and interpreted by a web server with a PHP processor module, which generates the web page document. As a general-purpose programming […]
WordPress is an open source CMS, often used as a blog publishing application powered by PHP and MySQL. It has many features including a plugin architecture and a templating system. Used by over 2% of the 10,000 biggest websites, WordPress is the most popular blog software in use today. It was first released in May […]
