Forum Replies Created

Viewing 5 replies - 376 through 380 (of 380 total)
  • One cannot (or at least I have not been successful) add the slash in the options tab of the admin panel. I too would like URL will be displayed as

    http://www.domain.com/blog/

    rather than without the /

    Surely there is a better way to do this than to just edit index.php!

    Thread Starter ejm

    (@llizard)

    excuse me for replying to myself. After contacting Krischan Jodies (plugin author) I received the help I needed. Here is the fix:

    echo $comment_short;
    $post = get_postdata($comment->comment_post_ID);
    echo " <a href=\"".
    get_permalink($comment->comment_post_ID) .
    "#comment-$comment->comment_ID\">[$comment->comment_author in $post[Title]]";

    yourwordpressfolder/wp-includes/kses.php

    Find:

    $allowedtags = array

    and just below

    'i' => array(),

    add

    'img' => array(
    'src' => array(),
    'width' => array(),
    'height' => array(),
    'alt' => array(),
    ' /' => array()),

    I haven’t actually done this – I would be leary of allowing the image tag in the comments…. I’m not positive about the ' /' => array() part but I believe that will give you correct output.

    I hope that came out correctly and that it helps.

    Forum: Plugins
    In reply to: Recent Posts Error

    Sorry, I’m afraid I know next to nothing about this mustardnuts; I’m a rank beginner myself. Mtdewvirus’ recent posts plugin IS working for me. I have no idea why it is and yours isn’t. The only thing I can think of is to delete the file from your server, upload the file again and make sure it is being uploaded in ASCII. Enable it again. It might not work but it’s worth a try….

    Forum: Plugins
    In reply to: Recent Posts Error

    I don’t know if this will help. However, I had some difficulty initially with getting the ‘recent posts’ and ‘recent comments’ plugins from MtDewVirus to work as well. There is one small but important thing missing from the instructions. (It’s probably so basic that they didn’t think it was necessary to mention but for those of us brand new to php world, nothing is basic….)

    The recent-posts.php has to be uploaded to wordpress/wp-content/plugins Then, the plugin has to be activated by going to WordPress Plugin Management.

    It was after doing that that suddenly the errors I was generating stopped and the hack worked perfectly. Thanks to Krischan Jodies’ recent comments plugin for spelling it all out.

    Hope that helps!

Viewing 5 replies - 376 through 380 (of 380 total)