• Hi,

    I am publishing a novel online using wordpress.

    You’ll probably laugh at my web design skills. But you might be interested to see how I’ve used pages for the text of the novel.

    The 2080s

    Anyway, any feedback will be interesting.

    Cheers

    Jeff

Viewing 3 replies - 1 through 3 (of 3 total)
  • nice design i might start reading it after my current book :)!!!

    Neat idea. It would be even cooler if there was some kind of page-turning animation. On the other hand what you have works and has simplicity on its side.

    Thread Starter jeffhannan

    (@jeffhannan)

    Hi,

    Thanks for the positive comments!

    I should just say more about how I’ve done this, in case it is useful to anyone. Though I’m sure there is a better way of doing it.

    I have divided it all up into pages (to go with the pdfs), and have created a WordPress Page for each one. All these are child pages of the contents page, use my own textpage template, and have a page order of the book ‘page number’ plus 1000.

    To each WordPress Page, I have copied in exported html (minus all the formatting except paragraph and emphasis). The textpage template uses CSS classes to get the book style formatting.

    So far, it is a little bit hacky and cumbersome. It would be nice if I didn’t have to actually create the pages in WordPress, but just supply text files. I’m sure that can be done if you know how.

    The page navigation is done using some simple php functions that I’ve written, plus the use of if() and else() in the templates. I’ve put the functions in a separate .php file. In there, I update the last chapter number, and set the number of pages in each chapter. The text pages and the contents page work using those functions. This is much better – well I am a programmer by trade.

    If anyone has any questions or suggestions, feel free to put them.

    Cheers
    Jeff

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘A novel, using wordpress’ is closed to new replies.