Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #4878
    shaneonabike
    Participant

    Hey.

    So at first I couldn’t get this working on a normal page. I noticed that you are restricting your code to check !is_singular() and not injecting the JS if this results in true. In my case, this means that the JS is never loaded properly… if I disable this action it works just fine.

    Second point: I also noticed that you restrict the post type to just post. I think it could be interesting to add an option in the configuration to select any type of content post type. In our case, we are using a custom type, and after adjusting that in the code everything works properly.

    I could propose to create a patch if you explain the singluar bit a little bit more.

    #4893
    Skandha
    Keymaster

    @shaneonabike: Hello there,
    Currently the plugin works only on archive pages with posts.

    I will forward your suggestion to the development team and see what can be done about it.
    Kind Regards,
    Skandha

    #4901
    shaneonabike
    Participant

    Fair enough! For the record if I queue up your javascript (basically copying the code and placing in functions.php) it works just fine on //any// page. So I don’t see why you couldn’t expand this to any page really.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.