• Hi,

    I wonder if there’s a way to position the button below the content instead of top. I could do it by swapping the following two lines in the index.php file of the plugin.

    $new_string = '<span><a onclick="read_toggle(' . $rnum . ', \'' . addslashes($more) . '\', \'' . addslashes($less) . '\'); return false;" class="read-link" id="readlink' . $rnum . '" style="readlink" href="#">' . addslashes($more) . '</a></span>' . "\n";
    
    $new_string .= '<div class="read_div" id="read' . $rnum . '" style="display: none;">' . do_shortcode($content) . '</div>';

    However, I don’t think it’s a good practice to directly editing a third party plugin… Any suggestions for me?

    Thank you for the awesome plugin

    • This topic was modified 8 years, 2 months ago by pluus.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author George Gkouvousis

    (@gkouvousisg)

    True, the only way would be to directly edit the code.
    This is not possible in an alternative way.

    Hey George I’d be interested in trying your plugin but as @pluus mentioned I too think it makes more sense to have the “Read Less” button appear at the end of the displayed hidden text. I see that you this issue was raised a month ago so before I install your plugin I’m wondering if you’ve now had a look at this and if it is possible to have the Read Less button at the end of the text.

    Thanks in advance.

    Plugin Author George Gkouvousis

    (@gkouvousisg)

    Hi. Thanks for your interest.
    There are a lot of needs out there. Depending on the nature of the website, on your scope etc.

    Unfortunately, I cannot support a modification for every webmaster, so my plugin is served as-in on its demo. Please give its demo a try. It always contain the latest version of WordPress + Read More without Refresh plugin.

    Like I said before, this is an opensource plugin, with a few lines of code, which means that you can easily edit its appearance/functionality.

    Thanks for replying George.
    I’ll have a play.
    All the best…

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Putting the button below the content’ is closed to new replies.