Gadgets and Blog-posts
But it’s fairly easy to make it appear like you have put a gadget into a post or page, supplied you’re prepared to accept the threats of modifying your template.
The method to do this is by putting the gadget below the blog-posts location, putting any further post-content into another HTML-gadget under this, and after that setting both of these approximately just show on the particular post or page that you want the gadget to be “in”.
While this is tedious, I do not anticipate the constraint of putting gadgets inside posts to be changed anytime soon. (Go on Blogger … show me wrong!).
Follow these actions to put a gadget into a post or page.
1) Make the post or page.
Offer it a title, and if there is any material that you want to put above the device, then add it now.
2) Publish the post/ page.
If you utilize a Post, keep in mind that it will head out in your RSS feed – and it might look odd for your subscribers to see a half-written post – ensure that what you ‘d done deserves any confusion that this might cause.
And if you utilize a Page, you might need to change the Pages gizmo to disappoint it, depending upon what how visitors will access the page.
Regardless of these side-effects you need to release the post/page now, prior to the gizmo is included, because you need its address later on. So bear in mind of the URL of your published post.
3) Add the gadget to your blog in the normal method.
Position it immediately beneath the Blog Posts gadget. Find out the gadget-ID, and keep a note of it.
4) If there is any content that you want displayed after the gizmo, then.
Utilize the post-editor (or any other tool) to create the HTML code for this material.
Note the ID of this device, too.
5) Set up which page/post your device is revealed on: .
Modify your design template.
For both of the gadget-IDs that you noted (the one that’s going “within” the post, and the one that contains the rest of the “post”), change the design template so that they are only displayed on the Page or Post that you developed in the initial step.
The method to do this is really similar to just revealing a gadget on your web page, except that instead of.
<b:if cond=’data:blog.canonicalUrl == data:blog.homepageUrl’>
< b: if cond=’ information: blog.canonicalUrl == data: blog.homepageUrl’ > the condition to utilize is.< b: if cond=’ information: blog.canonicalUrl=
=” URL-OF-THE-POST-YOU-MADE”‘ >> (If you do not have a customized domain, then make sure that the URL-OF-THE-POST-YOU-MAKE ends with.blogspot.com, not with a country-specific form- unless you desire the rule to just operate in the specific nation.). How well does it work? I’m
still testing to see how well this method works, and what gizmos it’s most appropriate for. Some, in the Labels and Followers gadget, are likely to broaden to fill the space readily available. So will Search -though if it does not then it might be as easy to just use a custom-search-engine, which will provide you the code. AdSense devices will take the space needed for the kind of gizmo you pick, but again it’s probably simpler to simply get the code from AdSense and put it into your post directly. One problem I’ve found is that the device is left-aligned, and there is no other way to make the “post” text flow around it if it does not take the entire post-width. It might be possible to centre the device within the post, by putting this code around in the design template: .< b: widget id =’ XXXn’ locked=’ false ‘title =’ YOUR-GADGET-TITLE’ type=’ Text’/ > That said, I have not tried this yet, and there may be some extra things