Adding content in Meteor Slider

Adding content in Meteor Slider Meteor Slider is an awesome slider plugin by Josh. But only one lacks was there with this plugin I think which has been resolved now. You can add content to meteor slider in the following way. First Copy meteor-slideshow.php from /meteor-slides/includes/ to your theme’s directory to replace the plugin’s default […]

Maximum Execution time 30 Second at wordpress

Maximum Execution time 30 Second at wordpress You can Do it By following 1. By Wp-config.php Changes set_time_limit(60); Important – If you are making changes in wp-config.php, then add this line above “/* That’s all, stop editing! Happy blogging. */” comment. 2. In htaccess php_value max_execution_time 60 <stro

Custom lof Slider for wordpress

Custom lof Slider for wordpress Put this at header ======================================================================= <link href=”http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css” rel=”stylesheet” type=”text/css”/> <link rel=”stylesheet” type=”text/css” href=”https://ahsanurrahman.com/jqslider/css/layout.css” /> <link rel=”stylesheet” type=”text/css” href=”https://ahsanurrahman.com/jqslider/css/style2.css” /> <style> ul.lof-main-wapper li { position:relative; } </style> <?php /* We add some JavaScript to pages with the comment form * to support sites with threaded comments (when in use). */ if […]

Scroll text or Image without Jquery?

Scroll text or Image without Jquery? It is really easy to scrolling text (up, down, left, right) to any direction. Someone may think that it need obviously jquery to do so. Even I also thought like that way. But I got a easy solution for that by <marque> tag of HTML. Here is the code […]

Specific category post to a certain place of theme in WordPress ?

Specific category post to a certain place of theme   <h2><a href=”http://mydomain.com/?cat=XXX”>TITLE OF CATEGORY</a></h2> <?php query_posts(‘category_name=xxxxxxxxxxxx&order=dsc&showposts=12’); ?> <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?> <a href=”<?php the_permalink() ?>” rel=”bookmark” title=”Permanent Link to <?php the_title_attribute(); ?>”><?php the_title(); ?></a> <br clear=”all”><br /> <?php endwhile; ?> <?php endif; ?>

Contact Form 7 Thank you page

Contact Form 7 Thank you page The one limitation for Contact Form 7 plugin is that after submitting the form it just shows a text says “your message sent” or something like that. But if we want to redirect visitor to a different page that has a full  content with some more text with thank you confirmation. […]

Adding subtitle to your wordpress post

Adding subtitle to your wordpress post For adding post subtitle simple place the below code in your theme template or wherever you like. <?php { $subtitle = get_post_meta ($post->ID, ‘subtitle’, $single = true); if($subtitle !== ”) echo $subtitle;} ?> After this you have to go to your post then create a custom field named “subtitle” […]

Display a Widget in WordPress Theme

Display a Widget in WordPress Theme It’s really a simple process. For doing so Just follow the process bellow First Declayer it in the theme function like bellow ====================================== <?php if  ( function_exists (‘register_sidebar’)) register_sidebar (array( ‘name’ => __( ‘widget name’, ‘theme name ), ‘before_widget’  => ‘ ‘ , ‘after_widget’  => ‘ ‘ ‘before_title’  => […]

CSS 3 Web fonts

CSS 3 Web fonts Now here is simple font replacement alternative for cuffon. You can use CSS3 fontface property. It’s easy to use. At first you have to put the original font in to a folder. Then delayer the @font-face property at the css like bellow @font-face { font-family: ab; src: url(‘fonts/Oswald.ttf’)} Here you have to name the […]

Removing default domain index page

Sometimes it happens that you uploaded your web site to your server but it still getting the default page that was assigned by the hosting company. To achieve your actual index page you have to change the nameserver for that domain if you have bought the domain from a company and hosting to other company. Anyway, […]