Now lets see how to apply this hack,
How To Add Image Just Next To Blogger Post Titles?
I have tried my best to keep this tutorial easy as easy as possible.For better understanding I am dividing this tutorial in three parts,but you just have to follow any one post because it depends upon the tag which you are using as post title.
- Part 1: Finding the tag which you are using as Post Title
- Part 2: For those who are using H3 tag as a Post Title
- Part 2: For those who are using H2 tag as a Post Title
Part 1: Finding the tag which you are using as Post Title
- First go to Blogger Dashboard > Template
- Download a copy of your template
- Click Edit HTML
- Hit Proceed
- Check Expand Widget Template checkbox
- Find below code in your template
1
| < h3 class = 'post-title entry-title' > |
Now if you found above code in your template then you are using H3 tag as a post title.Now only follow second part of this tutorial
If you can't find above code then find for this one
1
| < h2 class = 'post-title entry-title' > |
If you found above code in your template then you are using H2 tag as a post title.Now only follow third part of this tutorial.
Part 2: For those who are using H3 tag as a Post Title
- First go to Blogger Dashboard > Template
- Click Edit HTML
- Hit Proceed
- Check Expand Widget Template checkbox
- Find below piece of code in your template
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
| < b:includable id = 'post' var = 'post' > < div class = 'post hentry' > < a expr:name = 'data:post.id' /> < b:if cond = 'data:post.title' > < h3 class = 'post-title entry-title' > < b:if cond = 'data:post.link' > < a expr:href = 'data:post.link' >< data:post.title /></ a > < b:else /> < b:if cond = 'data:post.url' > < b:if cond = 'data:blog.url != data:post.url' > < a expr:href = 'data:post.url' >< data:post.title /></ a > < b:else /> < data:post.title /> </ b:if > < b:else /> < data:post.title /> </ b:if > </ b:if > </ h3 > </ b:if > |
replace it with below code, (be careful while deleting,only replace above exact code)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
| < b:includable id = 'post' var = 'post' > < div class = 'post hentry' > < a expr:name = 'data:post.id' /> < b:if cond = 'data:post.title' > < table >< tr > < td class = 'ssybyposttitle' > < img src = 'https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhcs9PUroUAk4pDg01SYe7zP3Zed4Fhgcq-QkDFOfe9nd7uWWE7nPPkx3T9xkedRHuMBXCKaCaBN_NWBK6ZnRIgm0gB4Nnr-pjfU2BJvwTc7hgxvwYnbUGzIxOJXje2UzdAtT35IUu14lw/s1600/helperblogger-pencil.png' /></ td > < td >< h3 class = 'post-title entry-title' > < b:if cond = 'data:post.link' > < a expr:href = 'data:post.link' >< data:post.title /></ a > < b:else /> < b:if cond = 'data:post.url' > < b:if cond = 'data:blog.url != data:post.url' > < a expr:href = 'data:post.url' >< data:post.title /></ a > < b:else /> < data:post.title /> </ b:if > < b:else /> < data:post.title /> </ b:if > </ b:if > </ h3 > </ td > </ tr ></ table > < style > h3.post-title { margin: 0px !important; } </ style > </ b:if > |
Now replace the image URL in above highlighted line with your own image URL (image should be less than 64X64 pixels)
Part 3: For those who are using H2 tag as a Post Title
- First go to Blogger Dashboard > Template
- Click Edit HTML
- Hit Proceed
- Check Expand Widget Template checkbox
- Find below piece of code in your template
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
| < b:includable id = 'post' var = 'post' > < div class = 'post hentry' > < a expr:name = 'data:post.id' /> < b:if cond = 'data:post.title' > < h2 class = 'post-title entry-title' > < b:if cond = 'data:post.link' > < a expr:href = 'data:post.link' >< data:post.title /></ a > < b:else /> < b:if cond = 'data:post.url' > < b:if cond = 'data:blog.url != data:post.url' > < a expr:href = 'data:post.url' >< data:post.title /></ a > < b:else /> < data:post.title /> </ b:if > < b:else /> < data:post.title /> </ b:if > </ b:if > </ h2 > </ b:if > |
replace it with below piece of code,
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
| < b:includable id = 'post' var = 'post' > < div class = 'post hentry' > < a expr:name = 'data:post.id' /> < b:if cond = 'data:post.title' > < table >< tr > < td class = 'ssybyposttitle' > < img src = 'https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhcs9PUroUAk4pDg01SYe7zP3Zed4Fhgcq-QkDFOfe9nd7uWWE7nPPkx3T9xkedRHuMBXCKaCaBN_NWBK6ZnRIgm0gB4Nnr-pjfU2BJvwTc7hgxvwYnbUGzIxOJXje2UzdAtT35IUu14lw/s1600/helperblogger-pencil.png' /></ td > < td >< h2 class = 'post-title entry-title' > < b:if cond = 'data:post.link' > < a expr:href = 'data:post.link' >< data:post.title /></ a > < b:else /> < b:if cond = 'data:post.url' > < b:if cond = 'data:blog.url != data:post.url' > < a expr:href = 'data:post.url' >< data:post.title /></ a > < b:else /> < data:post.title /> </ b:if > < b:else /> < data:post.title /> </ b:if > </ b:if > </ h2 > </ td > </ tr ></ table > < style > h2.post-title { margin: 0px !important; } </ style > </ b:if > |
Now replace the image URL in above highlighted line with your own image URL (image should be less than 64X64 pixels)
0 comments: