How to show gadget for certain categories labels in blogger and not for other posts? - html

Is this possible to show gadget for specific post..
Suppose there are 100 posts in my blog and i want 1 gadget to display only when specific 20 posts are open.
And that gadgets should not appear for remaining post which don't have the said label.

Related

Display 2 featured items per page within 10 results of pagination

I am creating a property listing website in Codeigniter. On the listing page, I displayed 10 results with pagination, but on top of each page, I wanted to show 2 featured property listing and 8 normal listings.
I mean to say that on 1st page 2 featured listings on top and then 8 normal listings. Then again on the 2nd page, other 2 featured listings on top and 8 normal listings.
Thanks in advance!
First, I think you should include your code to get a better understanding on how you have done things.
What I got from your question, I can think of the following solution:
You should differentiate between your listings (say 0 for normal 1 for featured) with a field in your database. Then get them in two different arrays and loop through them. For normal 8 per page and for featured 2 per page.

Max. Number of Search Results at Typefocus Blogger Template

One of blogger template Typefocus and maybe some others has an important problem about max. search results they "found" in your site/blog.
When we make a search inside our blog like this (for example for word 'tanrı'):
www.sonahit.com/search/?q=tanrı
we only see 20 results even if we have more posts in our blog that contains word "tanrı"...
even if we change max-result limit to more than 20, something like 40:
www.sonahit.com/search/?q=tanrı&max-results=40
it already shows us 20 result
but if we make max-result limit lower than 20(for example to '1') it damn works!
www.sonahit.com/search/?q=tanrı&max-results=1
it only shows us 1 result!
It's not limitiations about max. posts per page because if we want to see results start from 19th result:
www.sonahit.com/search/?q=tanrı&max-results=40&start=19
it shows us only 2 result: (19th result) and (20th result) instead of showing 20 result per page...
I want to be able to find and see "all" -not max. 20- relevant results into my results page.
And some blogs(nearly all of them) shows us more than 20 results (posts) at multiple pages.
I want to remind you again, my problem isn't about showing results, it is about finding results...
Standard search results in Blogger deliver at most 20 results and that's a behavior that is not possible to change, it's a server side constraint.
Consider using and customizing the inline "Search blog" widget or a Custom Search Engine provided by Google (you will have to include an extra piece of code in your template):
https://cse.google.com/cse/all

Display results of a google image search

I want to know if it's possible to display the first n images of a google image search (with a pre-defined search keyword) on my page.
For instance, I have this link
https://www.google.com/search?tbm=isch&q=red+apple
I want to display the first 5 result on my website on page load.
I would like to solve this without a server, on client side when the visitor visits the page.
Is this possible?

my adsense ads not displaying for my active adsense account but previously it got cancelled

( http://bloggerbandwidth.blogspot.com ) On my blog I had previously it associated with some other adsesne account but that adsense account got disapproved
so my adsesne ads are not showing but one month before I got approved on other adsense account and move my side to adsense associated account and i paste my code on my side but blank space is came but ads are not come so what to do any one knows about this?
simply you change your blogspot name than adsense ads are showing automatically . But another important thing is. If you rename the blog that is affect your page traffic.you definitely lose your page visitors.

Using Google Analytics to make a Poll based on link clicks

So I know google analytics can track my page links, but how can I get the number of clicks as raw data and reincoorporate it into the HTML?
I have two images in anchor tags, the user can "vote" for either image a or image b. Each image leads to its own separate html page. How can I use the pageview data from each of these two links and display them underneath the images on the main page, essentially creating a poll.