Posts Tagged ‘Post’

How to prevent wordpress from messing up my code snippets

Everyone of you who has tried to add a code snippet to a wordpress post or page will know how frustrating it is to set it up with wordpress auto formatting the snippet and messing up all the formatting.

Those of you who have experienced this will be interested in the code syntax highlighting feature of  Wp-Insert.

Check these pages to know how to tackle the problem :

http://www.wp-insert.blogolb.net/tutorials/syntax-highlighting/

Be the first to comment - What do you think?  Posted by smartlogix - May 30, 2010 at 2:03 pm

Categories: Syntax Highlighting   Tags: , , , ,

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: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,

How to prevent ads from showing up on a particular Page(s)

“I don’t want to show ads on my Contact Page”, “How can I prevent ads from showing up on my About us page”

I have been asked these questions several times since I began working on WordPress Projects.

Wp-Insert has an easy way to accomplish just this.

Suppose I don’t want to show the ad above my page/post content on my Contact Us Page.

I head over to Wp-Insert – Manage Ads (Posts and Sidebars) page and expand the “Ad – Above Post Content” Section.

ad above post content filled

Now in the “Exclude on Posts/Page” section you can either directly enter the page/post ids of the pages/post you want to prevent the particular ad from showing up or you can click the tiny search button on the right to bring up the Post/Page picker Popup.

(If the pop-up stopped appearing after an upgrade just clear your browser cache and it should reappear. If it still doesn’t appear try deleting and then reinstalling the plugin)

ad_above_post_search_icon

page_picker_popup

Now you can pick the posts/pages using the buttons or by double clicking the page titles in the left box. Similarly to remove posts/pages from the selection you can use the icons or double click them in the right box.

page_picker_popup_selected

Click OK. and Save the Entire page.

Preventing ads from showing op on particular pages is a feature that’s missing in many other plugins.

Some plugins which impliment them does not have the provision to control the ads indivigually.

On most occasions we would want the ads embedded inside the post only to be eliminated from a particular page or post and would want to continue showing them on other parts of the site.

Some sites have even used this feature to include page specific tracking codes.

Share your experience about this feature below.

17 comments - What do you think?  Posted by smartlogix - December 8, 2009 at 1:06 pm

Categories: Manage Ads   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 prevent ads from showing up on my Home or Archive Pages

Lets check how to prevent a particular ad block from showing up on the home or archive pages.

By archive pages I mean monthly/yearly archives, category archives and tag archives.

If you don’t know how to insert ads into your blog yet..follow the tutorials given here.

We can try eliminating ads above posts on home page and archive pages. Most of us dont want to show the ads on home and archives pages as it will resilt in a lot  of ad blocks on the same page which will look uninviting to many users.

Lets open the “Manage ads (Posts and Sidebars)” menu in wp-insert. Now expand the “Ad – Above Post Content” block.

ad above post content filled

You can see the options “Exclude on Home Page” and “Exclude on Archives Pages” towards the bottom of the block.

Check the oned you want. I am going to exclude ads from both Home and Archives pages, so I will click both.

ad_above_post_exclude_on_home_and_archives

Now click the save button at the bottom of the page and you are done excluding the top ads from your Home and Archive pages.

You can follow the same procedure for all ad types.

That was easy! Wasn’t  it?

Be the first to comment - What do you think?  Posted by smartlogix - at 8:32 am

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

Next Page »