Support » Plugin: Read More Without Refresh » I have a request (!!!) Nothing More (Groan!)

  • Resolved MrsJessicaSimpson


    Hello developer (George), .. for a start, nothing wrong with the plugin.

    I merely have a request for a future update.

    Your Code, ..

    /* do magic */
    function read_main($atts, $content = null) {
    		'more' => 'READ MORE',
    		'less' => 'READ LESS'
    	), $atts));
    	mt_srand((double)microtime() * 1000000);
    	$rnum = mt_rand();
    	$new_string = '<span><a onclick="read_toggle(' . $rnum . ', \'' . get_option('rm_text') . '\', \'' . get_option('rl_text') . '\'); return false;" class="read-link" id="readlink' . $rnum . '" style="readlink" href="#">' . get_option('rm_text') . '</a></span>' . "\n";
    	$new_string .= '<div class="read_div my_new_div_span" id="read' . $rnum . '" style="display: none;">' . do_shortcode($content) . '</div>';
    	return $new_string;

    As can be seen, I’ve inserted a new class called ‘my_new_div_span‘, I have also discovered that I and can access it in my style.css with the following identification and CSS instructions.

        padding: 6px 12px 12px 18px;
        margin: -10px 2px 2px 0px;
        background: #02003e;
        color: darkgray;
        border-radius: 20px 0 20px 20px;
        border-style: solid;
        border-color: darkgray;

    When both parts are in place, the expanded text between the [read more] and [/read] has a rather neat differentiator between the text styles shown on the page. My example CSS creates a curved box round the text, and box that favours the [read more] tag being placed on the right hand side of the page.

    My requests, ..
    1.) Can you permanently include an expansion class inside the *magic* section.
    2.) In the RMWR command screen, can you also include a small window to add the new CSS code, that would then tie in with the new class declared in option 1.)

    ** I’ve tried looking at that section, but feel it beyond my programming skills at present to create such a text window, and then tie it all back into the new class div.

    In general – I do feel that it would be a rather innovative addition to an already brilliantly simple to use, (and operate), plugin.

    Many thanks for reading thus far, .. Jessica.

    • This topic was modified 3 months ago by MrsJessicaSimpson. Reason: spotted spelling mistakes
Viewing 1 replies (of 1 total)
  • Plugin Author George Gkouvousis


    Thank you for your valuable feature suggestion Jessica – In case a high number of identical requests arise, I’ll consider expanding the functionality of this plugin.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.