Tag Archives: WordPress

SEO Learning

Testing Keywords with Google AdWords Test Before You Build Here’s a simple tip that could easily save you 12 months of work: Setting up an effective SEO campaign in a competitive market can be a long drawn out and expensive

Installing Magento on Localhost

This is tested on both XAMPP (http://www.apachefriends.org) and WAMP (http://www.wampserver.com): Note: on XAMPP the apache directory is just apache while on WAMP the directory is apache2 (please change the instructions below accordingly) Note: check version of PHP, which you will

Get Category or Page Depth or level

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

Code for custom field Image in recent post List

<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;

Select Fix Category Post With New Custom Query Code

<?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; ?> Muhammad Faridul IslamMuhammad Faridul Islam is an entrepreneur, web developer, and IT Consultant. Besides his profession, he also writes a blog here.