Coder Social home page Coder Social logo

split-blogger-post's Introduction

split-blogger-post

split-blogger-post is compatible with almost all blogger templates and it can be implemented in easy ways. For user friendliness, this solution code come up with a button “Split Page '⏩' ” and easy usage within the text editor. It is light weight and comparatively optimized so it will not interrupt your scripts uselessly.



Demo : https://nextprev-preview.blogspot.com/2018/11/test-post.html

BASIC FEATURES

  • Posts and Pages can be divided into parts with page-breaks.

  • Navigation captions can be edited.

  • Slides counter can be displayed.

  • Custom HTML and CSS can be added above and below post slides.

How to Install split-blogger-post on a Blogger template.

Installing split-blogger-post on your Blogger website is simple! In this article, we will walk you through each step. If you prefer visual instructions, check out our video tutorial below:

...

These are Following Steps:

Add CSS code to your template
  1. Go to Blogger Theme and Click the Edit HTML Button.

  2. Click around the Code and Press Ctrl+F and Search for: ]]></b:skin>

  3. then paste the code in the style.css file above: ]]></b:skin>

  4. click the Save Template button.

Add html code to your template
  1. Go to Blogger Theme and Click the Edit HTML Button.

  2. Click around the Code and Press Ctrl+F and Search for: <data:post.body/>

In the most blogger templates, this tag exists at least twice, or more than once. But how can we find the right tag that we need.

If you have multiple <data:post.body/> in your template then, before each of those <data:post.body/> tag write this <h1>First place</h1> , here ‘First’ is for the first <data:post.body/> , write ‘Second’ for the second <data:post.body/> and so on. Now save your template.

After saving is complete, go to your blog and notice which <h1 /> tag is appearing before your post body. If ‘First’ is appearing then the first <data:post.body/> is the actual <data:post.body/> .

That’s it, you just debugged your code to find out which <data:post.body/> is the actual one working. Now go back to your template code editor and again find all those <data:post.body/> and remove the <h1></h1> tag you added to debug, but only before the actual <data:post.body/> , write something like <!– POST BODY HERE –> , a comment, so that to use it the next step.

  1. Remove the tag <data:post.body/> and replace it with the code in the body.html file.

Just don’t forget to remove all the <h1></h1> tags you used for debugging.

Add the javascripte code to your template
  1. Click around the Code and Press Ctrl+F and Search for the close tag </body>.

  2. Paste the code in the script.js file just befor the closing tag </body>.

split-blogger-post's People

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

split-blogger-post's Issues

Needs help

Hey please what should I add in between my blog post for the blogger split to work

It screws the static pages

This code is a very good idea but something in the conditional part is screwing with the static pages making those posts not showing at all.

Reverting it back to only <data:post.body/> will fix the issue but also removes what makes your code work, I guess...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.