Emerald

Home/Yumna Tatheer

About Yumna Tatheer

Yamna Tatheer is a Wordpress Plugin developer and a Top-Rated Upwork professional. She is a part-time blogger from Lahore and loves to write about wordpress and freelance industry.
22 02, 2013

Adding Google Adsense Vbulletin Mobile Style

If you want to put google adsense in Vbulletin Mobile Theme, go to your adsense account and choose ads for content. After that go to Styles and Templates, choose edit template from dropdown, choose 'Ad Location Templates'. Vbulletin 3.7 has 7 locations for  ads. The 7 locations are called: ad_footer_end ad_footer_start ad_forumdisplay_afterthreads ad_forumhome_afterforums ad_header_end ad_header_logo ad_navbar_below ad_showthread_beforeqr ad_showthread_firstpost Click to see the various ad locations available, find the one which is relavant to your ad and paste the google code in that template. You will see header template. Now you can put adsense code in it and wait for sometime for tha ads to become active. The ads do not show for some time usually. It might take 48hours max for the ads to show, so don't worry and wait. When ads are visible you can change their postion or color scheme as you wish.

18 02, 2013

Stylish Showcase WordPress Theme

A  stylish theme by Smart Magazine to showcase cars or any other products you want to show. Its a simple blog theme which can be used for many purposes. A brand new design for 2013. Demo   Dowload

18 02, 2013

Website RSS to Twitter (Posting to Twitter)

A lot of people would want to post  to twitter from their website. This means that the rss feed is tweeted to your twitter timeline. I will share a wonderful php script that can do it for you. Connecting your website with twitter is too easy now, using php you can post rss feed of your website to twitter. Check out the php code snippet given below and replace the values for your site and see how it works. // Set username and password $username = 'username'; $password = 'password'; // The message you want to send $message = 'is twittering from php using curl'; // The twitter API address $url = 'http://twitter.com/statuses/update.xml'; // Alternative JSON version // $url = 'http://twitter.com/statuses/update.json'; // Set up and execute the curl process $curl_handle = curl_init(); curl_setopt($curl_handle, CURLOPT_URL, "$url"); curl_setopt($curl_handle, CURLOPT_CONNECTTIMEOUT, 2); curl_setopt($curl_handle, CURLOPT_RETURNTRANSFER, 1); curl_setopt($curl_handle, CURLOPT_POST, 1); curl_setopt($curl_handle, CURLOPT_POSTFIELDS, "status=$message"); curl_setopt($curl_handle, CURLOPT_USERPWD, "$username:$password"); $buffer = curl_exec($curl_handle); curl_close($curl_handle); // check for success or failure if (empty($buffer)) { echo 'message'; } else { echo 'success'; } source: Posting to Twitter

9 02, 2013

Skrill Asking For IBAN

Recently skrill (moneybookers.com) modified the withdrawl process for wire transfer to banks. When withdrawing money, they  ask for your  IBAN . Now <h3>what is IBAN?</h3> IBAN is international Bank Account Number, which can be generated from your local bank account number and swift code easily. IBAN its not a new information, it is generated by your bank account number and swift code after doing some calculations on it. I faced a lot of trouble when i called Bank Alfalah, Lahore and asked them my IBAN. They told me Alafalah does not have an IBAN. I called them again and same reply. Then i decided to so something on my own. I used a tool to generate the IBAN and also followed the steps given by State Bank Of Pakistan to verify that my IBAN was correct. Luckily I was able to generate the correct number and received my money from skrill in my account 2 days back. Use this tool to calculate IBAN.

5 02, 2013
  • Responsive free wordpress theme

Responsive Theme

Free Responsive theme created by Theme ID. The features of the theme are responsive web design, grid layout, wigitized area (9 widgets), custom menu support and much more. Download  Demo

10 11, 2012

Display Category Names in Multiple Columns

Sometimes you have a lot of categories, you cannot simply list them down as one column. In such a case you would like to have it displayed in multiple columns. We will use wordpress built-in functions to list categories, so that any new ones are automatically added to the list. You can display the category names in footer in 2 or columns in your theme. This can be done by using wp_list_categories() and playing with some mathematics. Normally you can find code that displays category names in two columns but this snippet will do it in as many columns as you want. Have a look at this tip and you will love it!! <?php // Grab top level categories (depth=1) $get_cats = explode("<br />",wp_list_categories('title_li=&echo=0&show_count=1&depth=1&style=none&hierarchical=0&feed=RSS')); $results_total = count($get_cats); $results_total= $results_total-1; // How many categories to show per list (round up total divided by 5) $cats_per_list = ceil($results_total / 4); // Counter number for tagging onto each list $list_number = 1; // Set the category result counter to zero $result_number = 0;?> <ul class="category_footer_post" id="cat-col-<?php echo $list_number; ?>"> <?php foreach($get_cats as

9 07, 2012

Top HTML Form Generators

I was trying to design a form, i came across a lot of form generators. Using these generators is an easy way to generate html for form. The markup might not be standard compliant, but for newbies, it makes form designing an easy task. Below are some form generators 1- pForm In pForm, you are provided with a form template in many colors. You can choose any color for template and then add fields in next screen. Link 2- Wufo Form Gallery Here you have a lot of templates for example, employment application, event calendar, wedding invitation, mailing lists etc. Link 3- Zoho Creator At zoho creator you have multiple templates like event planner, customer feedback etc. Its a drag and drop interface , very easy to use. Link 4- Free HTML Form Generator This is a downloadable file which can be put on webserver or locally, it generates the html for the form you require. You can put it up on your server too, since its free and open source. It can be a good attraction for people trying to generate

3 07, 2012

Adding Category Images To posts

Sometimes you would like to add a specific featured image to post if it belongs to a specific category. You would like the posts from one category to display an image when it does not have an image attachment with itself, so if an author leaves out or forgets a to put a featured image, you don't have a blank image for that post and a category image is displayed automatically. This can be done very easily in wordpress. Here are the steps 1-First save images or icons for each category with their name. For example for news category save a picture news.png, for economy category save economy.png and so on. Save all of them in images folder of your active theme. 2-Then in your template files where ever you want to show featured images write this code. <?php if ( (function_exists('has_post_thumbnail')) && (has_post_thumbnail()) ) { the_post_thumbnail('thumbnail'); } else { ?> <img src="<?php bloginfo('url')/images/<?php $category = get_the_category(); echo $category[0]->cat_name; ?>.jpg" /> <?php } endif; } ?> and you are done! Another way to add images to category posts

14 06, 2012

Disable or Disallow Comments in WordPress

You can disable comments in wordpress easily. The trick is to go to Settings -> Discussion -> then uncheck option "Allow people to post comments on new articles" This setting applies to all new posts that will be published from now onwards. To disable comments from posts that have been published. Posts -> select all then click "Edit" under bulk actions and click apply >> choose "do not allow" next to comments and hit update posts. If you don't want the comment form to show on any post or pages then locate all occurrences of the code below and remove it. <?php comments_popup_link(__('Comments (0)'), __('Comments (1)'), __('Comments (%)')); ?> I you don't want the text "Comments off" to be displayed then look for wp-icludes/comment-template.php and open it in a notepad. Change the line function comments_popup_link( $zero = 'No Comments', $one = '1 Comment', $more = '% Comments', $css_class = '', $none = 'Comments Off' ) to //change $none = 'Comments Off' to $none = '' function comments_popup_link( $zero = 'No Comments', $one = '1 Comment',

5 06, 2012

NINTENDO LAUNCHES WII U!

So Nintendo freaks, Nintendo is really here with a bang. The Electronic Entertainment Expo which is here from 5 June till 7 June shows a lot from Nintendo! On Tuesday, the company launched its Wii U- a video game console. Moreover, this console has come in combination with the GamePad ready to change the gaming world in a go! No doubt Nintendo is aimed at changing the usual gaming style these days. According to Nintendo, Wii U is pretty much different from those which are already on the current Wii. And that ‘it changes the way you enjoy TV ’. Nintendo has definitely showed that a little console can do wonders! It comes in white and black colour. The new controller allows the user to view multiple screens, one of them is on your TV and one of them is on your Wii U Gamepad. The company gave a demo of PikMin3 in which the Wii U Gamepad displayed a three-dimensional map. You can easily control the creatures in the game on the displayed map as these creatures move around