Viewing 1 replies (of 1 total)
  • Plugin Author spgandhi

    (@spgandhi)

    Hi,

    Firstly I am very sorry for replying so late. I did not see this and neither received any email notification about this.

    Anyways, here is the fix to your problem:

    1. The condition checked to display the button as per my code is this: if( is_single() && ( get_post_type() == "post" || get_post_type() == "page" ) ).
    2. The problem is, is_single() does not work for page. So the solution is to replace these conditions to as below: if( ( is_single() || is_page() ) && ( get_post_type() == "post" || get_post_type() == "page" ) )
    3. There are 4 instances of this conditional code in class.erm-widget.php file. Change them all.

    Let me know if this works.

    Thanks and sorry again for the delay.

    Shreyans

Viewing 1 replies (of 1 total)
  • The topic ‘Easy Reading Mod for pages’ is closed to new replies.