Html Based Accessories, For Private Posts
Tuesday, August 11, 2015
Edit
Blog owners are constantly hollo for how to add together postal service specific accessories, from 3rd political party services.
Adding code to the postal service template is scary - together with it tin drive problems, when incorrectly done. The easiest trend to add together a per postal service accessory is to add together an HTML gadget that references the postal service yesteryear the URL, every bit displayed for the page.
The occupation amongst an HTML gadget is that it merely references the page displayed. If your posts are read from the primary page, or an archive page - together with individual uses a Like accessory, what happens?
Influenza A virus subtype H5N1 Like button, used from an HTML gadget amongst the primary page displayed, applies to the spider web log - since it's the primary page that's displayed.
If yous desire your readers to Like your private posts, they demand to purpose the Like push clit amongst the postal service page displayed. You demand iii tweaks, for this to operate best.
Use Jump Break on the posts.
With Stats displays together with primary page content, yous choke the close accurate postal service pageview counts when your readers read each private post. Similarly, encouraging your readers to Like your private posts volition last to a greater extent than successful when the Like is used from the postal service page.
Influenza A virus subtype H5N1 Jump Break, added to each post, volition encourage the reader to click to the postal service page, where the Like gadget volition last visible, forthwith beneath the post. Clicking on the push clit inward the gadget, the Like is applied to the post.
Tweak the Like gadget, together with thus it alone displays inward a postal service page.
If yous desire reliable private postal service Likes, yous desire a Like gadget that is alone visible from the postal service page. You tin add together a CSS tweak, using the Template Designer "Add CSS" wizard.
Add a instant Like gadget, inward the sidebar, to apply to the blog.
You tin accept Likes that apply to a primary page - but what happens when a not home, index page is displayed? Have yous e'er looked at the not abode URL, for a secondary primary page segment?
Add a instant Like gadget, inward the sidebar, to selection upwards the abode page of the blog, instead of the electrical current page. Then, tweak that gadget, together with thus it alone displays on an index page - again, using CSS.
And, you're done.
When all of this is done, you'll accept 2 Like gadgets - i that applies to the blog, the other to the private posts. And your readers volition read each postal service from the postal service pages. And you'll exercise all of this, without tweaking the postal service template.
How exercise I add together a Like button, for my posts?Adding many postal service accessories requires adding XML code, to the postal service template.
Adding code to the postal service template is scary - together with it tin drive problems, when incorrectly done. The easiest trend to add together a per postal service accessory is to add together an HTML gadget that references the postal service yesteryear the URL, every bit displayed for the page.
The occupation amongst an HTML gadget is that it merely references the page displayed. If your posts are read from the primary page, or an archive page - together with individual uses a Like accessory, what happens?
Influenza A virus subtype H5N1 Like button, used from an HTML gadget amongst the primary page displayed, applies to the spider web log - since it's the primary page that's displayed.
If yous desire your readers to Like your private posts, they demand to purpose the Like push clit amongst the postal service page displayed. You demand iii tweaks, for this to operate best.
- Use Jump Break on the posts.
- Tweak the Like gadget, together with thus it alone displays inward a postal service page.
- Add a instant Like gadget, inward the sidebar, to apply to the blog.
Use Jump Break on the posts.
With Stats displays together with primary page content, yous choke the close accurate postal service pageview counts when your readers read each private post. Similarly, encouraging your readers to Like your private posts volition last to a greater extent than successful when the Like is used from the postal service page.
Influenza A virus subtype H5N1 Jump Break, added to each post, volition encourage the reader to click to the postal service page, where the Like gadget volition last visible, forthwith beneath the post. Clicking on the push clit inward the gadget, the Like is applied to the post.
Tweak the Like gadget, together with thus it alone displays inward a postal service page.
If yous desire reliable private postal service Likes, yous desire a Like gadget that is alone visible from the postal service page. You tin add together a CSS tweak, using the Template Designer "Add CSS" wizard.
Add a instant Like gadget, inward the sidebar, to apply to the blog.
You tin accept Likes that apply to a primary page - but what happens when a not home, index page is displayed? Have yous e'er looked at the not abode URL, for a secondary primary page segment?
Add a instant Like gadget, inward the sidebar, to selection upwards the abode page of the blog, instead of the electrical current page. Then, tweak that gadget, together with thus it alone displays on an index page - again, using CSS.
And, you're done.
When all of this is done, you'll accept 2 Like gadgets - i that applies to the blog, the other to the private posts. And your readers volition read each postal service from the postal service pages. And you'll exercise all of this, without tweaking the postal service template.