learn android programming

Posts Tagged ‘code’

How to create a blank space around ads in my blog

One of the first things we notice after inserting ads into our site content is that it is appearing too close to the site text and is making the site look bad.

This was one of the main concern from me while inserting ad above the post content or in the middle of it.

What I use to do was insert the ad manually into the template and enclose the ad code in a DIV and then style the DIV using CSS from the theme style sheet.

I often experiments with ad position and this was proving a highly time consuming and inefficient method.

With Wp-Insert you can style each individual ad block the way you want it.

I shall now create a margin of 10 pixels around the ad at the top of my post.  This process can be repeated for sidebar ads, template ads and other in post ad types too.

Towards the bottom of the box you can see the “Ad Box CSS Styler” section which simply lets you add CSS style to the ad.

Here Wp-Insert automatically assign the style values “margin: 5px;padding: 0px;” and these values are perfect fit with most themes out there. but you never know when you need to do that tiny bit of tweaking!

So I am going to assing a margin of 10px around the ad to make more space between the post and the ad content.

Click save and you have successfully increased the margin around the ads. In case you want a border around the ad type “border: 1px solid #000;” after the “margin: 10px;” part, Essentially the styles accepts all css styles so its pretty much your imagination at work here.

Thats it. Share your views and ideas on how to improve this feature with us.

2 comments - What do you think?  Posted by smartlogix - December 25, 2009 at 12:01 pm

Categories: Manage Ads   Tags: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,

Find location using mobile number

Have you ever got a missed call or a call you couldnt attend and wonder where it came from?

I have..and I turned to technology for help and the result is this amazing widget which I want to share with you


You can place this widget on your site for free..

Just paste the following code where you wish to insert the widget.

Provide me feedback on what you think.

2 comments - What do you think?  Posted by smartlogix - December 22, 2009 at 10:39 pm

Categories: Miscellaneous   Tags: , , , , , , , , , , , , , ,

Celebrate X-mas on your website with a cool Snow Fall

Share the spirit of X-mas right on your website.

Insert this cool snow fall script on your website to entertain your website visitors this X-mas..

To insert the snow effect onto your wordpress blog without editing any files you can use Wp-Insert “Tracking Codes” section.

Copy the code in the box below into the “Insert Code in Footer” section in the Tracking Codes admin page in Wp-insert

inserting the snow fall script into yuor blog using wp-insert

Based on Snowstorm script from http://www.schillmania.com/projects/snowstorm/

Be the first to comment - What do you think?  Posted by smartlogix - December 13, 2009 at 9:42 am

Categories: Miscellaneous   Tags: , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,

How to temporarily deactivate ads on my blog

On many occassions you might want to stop showing a particular ad block on your blog.

On one occassion I used to promote a particular product on one of my blogs. That product was giving me very little click throughs and I decided its high time I stop promoting this product as people doesn’t seem to be interested in it anymore. I wanted to stop the ad from showing up until I find another one which I can place in its place.

The product link was inserted above my posts using wp-insert. So I opened up the “Manage Ads (Posts and Sidebars)” menu and expanded the “Ads – Above Post Content” section

ad above post content filled

You can see the “Click to Deactivate” button on top of the block. Click it and then Click Save and the ad will stop showing up immediately.

ad_above_post_content_deactivated

When you are ready with your new ad code or if you decide to promote the same ad again you can come back later and Click the “Click to Activate” button followed by the “Save” button to begin serving the Ad again.

Be the first to comment - What do you think?  Posted by smartlogix - December 1, 2009 at 8:52 am

Categories: Manage Ads   Tags: , , , , , , , , , , , , , , , , , , , , , , , , ,

How to insert Ads below your Post Content

Lets insert an adsense ad below the post content on your blog.

First of all pick an ad size suite to your post content area. I have selected an 468 x 60 text or image ad in adsense.

2009-11-21_202000
You have to copy the highlighted code to insert into your blog.

Now you have to log in to your wordpress admin section and look towards the end of the big wordpress menu to find the Wp-Insert section.

wp-insert menu

Click on “Manage Ads (Posts and Sidebars)” and you will be led to the Wp-Insert Manage ads page for In Post Ads and Sidebar Ads.

manage ads page in post and sidebar

Now click on Ad – below post content to reveal the edit area.

ad below post content blank

Paste in the adsense code in the big box that says ad code and click “Click To Activate” button to activate the particular ad.

ad below post content filled

Then you have to click the Blue button at the bottom of the page which says “Save Changes”. Wait for the page to refresh.

Open your webpage and you will now be able to see the ads below above your post content.

Be the first to comment - What do you think?  Posted by smartlogix - November 21, 2009 at 10:07 am

Categories: Manage Ads   Tags: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,

« Previous PageNext Page »