Dynamic Web Lab

Create a css3 dropdown menu in wordpress

In this tutorial i will show you how to create a apple style css3 drop down menu in wordpress.Ok lets start, at  first i use this code to create navigation in wordpress. Paste this code in your header.php [php] <div id="navigation" > <ul id="nav"> <li><a href="<?php bloginfo(‘siteurl’); ?>">Home</a></li> <?php wp_list_pages(‘title_li=&sort_column=menu_order’); ?> </ul> </div><!– #navigation –> […]

Read More

How to Create Recent Posts with Thumbnails in WordPress

While there are many plugins available to display recent posts with thumbnails, I prefer using a clean, code-based approach. If you’re comfortable working with your theme files, follow the steps below to display a list of recent posts with featured images directly in your sidebar or any widgetized area. Step 1: Add This Code to […]

Read More

Add Adsence in your Thesis theme sidebar

This is a really easy to add Adsense into your Thesis blog sidebar without manually doing it or using a plugin. Just put this code in your custom_functions.php [php] function adsence_code() { ?> <div id="adsence"> //your adsence code is here </div> <?php } add_action(‘thesis_hook_after_multimedia_box’, ‘adsence_code’); [/php]

Read More

Create a popular post widget without plugin

In one of my wordpress project i need to create a wordpress popular post widget.Now i am giving the code to you.This code will show a list of most commented  post  without using a plugin.See the php code below. [php] <?php // POPULAR POST WIDGET class show_popular extends WP_Widget { function show_popular() { $widget_ops = […]

Read More