• Resolved Grendelica

    (@grendelica)


    Hi, great plugin!
    I need to insert a chart of the “most read” books in my website; I am actually doing so at the moment posting 10 books in a page via their shortcode. It would be wonderful if I can be able to add a position number as a :before content just before the title, and not as an external number as I am actually doing now.

    I do not need it to increment dynamically, it’s just 10 numbers and I can do it manually.
    Is there a simple way to do this?
    thanks!

    https://ww.wp.xz.cn/plugins/mybooktable/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author zookatron

    (@zookatron)

    Hi Grendelica,

    I’m a little confused as to what exactly you are asking for. If you’re looking for the CSS selector to add a :before content to the book title, you would probably want something like “#post-123 .mbt-book-title:before” where “123” was the post ID of the book.

    If that’s not what you’re looking for, please give me a few more details about what exactly you want.

    ~Tim

    Thread Starter Grendelica

    (@grendelica)

    Hi, thanks for the answer. That’s what I meant. That should work, but the chart will change about every week so it’ll be quite difficult to change the ids everytime.
    I’ve used an ordered list for now, even if it places the number outside and not near the book title it looks ok.
    http://www.radiolibri.it/la-classifica-di-radiolibri/

    Plugin Author zookatron

    (@zookatron)

    Hi Grendelica,

    The way you are currently doing it with the ordered list is probably the easiest way to implement this. We do not have any built-in system for this so if you need anything more complex than what you have, you will need to implement it yourself with custom development.

    Please let me know if you have any further questions or comments!

    ~Tim

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Book "chart" with shortcodes’ is closed to new replies.