Basic tags for wordpress comments.

This question of how to format comments comes up periodically, and it is difficult to respond to in the comments section because if you don’t escape the tags wordpress just processes them and doesn’t show them. This isn’t intended to be a comprehensive tutorial, but to give a bit of a primer on the tags you might most often use.

I’ll show the effect first, and then I’ll show a snapshot of the text used to get the effect:

This is quoted text.

This is bold.

This is italic.

This is a hyperlink.

This is strikethrough.

Here is what the code for the above looks like:

comment_codes

Advertisements
This entry was posted in Uncategorized. Bookmark the permalink.

67 Responses to Basic tags for wordpress comments.

  1. Pingback: Basic tags for wordpress comments. | @the_arv

  2. feministhater says:

    Thanks. Very helpful.

  3. Minesweeper says:

    great ! been waiting to see this for years 🙂

  4. Minesweeper says:

    tbh if you could condense that to a small image just listing the commands and have it above the comment box every time, would be swell !

  5. Anonymous Reader says:

    I ran a quick search on “HTML tag list” and got this site:

    https://www.w3schools.com/TAGs/ref_byfunc.asp

    The formatting instructions are about one page down.

  6. Anonymous Reader says:

    Minesweeper, it might be easier for everyone if people just did a copy/paste of the ASCII then retained it for their own use. When I was hacking web pages for a while, I kept a list on a 3×5 card next to my keyboard until I had memorized it via daily use.

  7. Dalrock says:

    Good link Anon Reader. In the past I’ve used their html link generator when writing comments: https://www.w3schools.com/html/tryit.asp?filename=tryhtml_links

    But usually I create the comment and then edit it to add the link (if on my own site), or I use a dummy post to both create and preview the effects. This second option is one that anyone can do. You can create a free wordpress blog and never make it public, and never publish anything. All you need is an email address.

  8. Cane Caldo says:

    Heresy! The Bible doesn’t use hashtags. I DEMAND you show me one instance of Jesus speaking in italics. Everyone knows he spoke only in red!

    I thought this was a Christian blog…

  9. Gunner Q says:

    Red letter Christians are Communists, that’s why they like red!

  10. Dalrock says:

    @Cane Caldo

    Heresy! The Bible doesn’t use hashtags. I DEMAND you show me one instance of Jesus speaking in italics. Everyone knows he spoke only in red!

    I thought this was a Christian blog…

    As I keep telling you, if you start at Genesis 2:24 and follow my 37 step deductive process, you would understand.

  11. Anonymous Reader says:

    Gunner Q
    Red letter Christians areCommunists, that’s why they like red!

    Let me see if I fixed that for you…

    Or maybe this way works better:
    Red letter Christians are Communists that’s why they like red!

  12. squid_hunt says:

    Red letter Christians are Communists, that’s why they like red!

    That’s pretty epic.

  13. Anonymous Reader says:

    Huh. Well, as I said in the other thread: not all HTML tags are supported in WordPress comments.

  14. podethelesser says:

    Gracias, both for the tag guide and the lolz.

  15. Cane Caldo – Heresy! The Bible doesn’t use hashtags. I DEMAND you show me one instance of Jesus speaking in italics. Everyone knows he spoke only in red!

    That’s the font color red tag at work.

  16. Stupid wordpress didn’t read my sneaky HTML in there.

  17. Anonymous Reader says:

    Stupid wordpress didn’t read my sneaky HTML in there.

    Repeat after me: not all HTML tags are supported in WordPress comments.

    Or to put it another way, “Not All Tags Are Like That” (NATALT).

  18. squid_hunt says:

    #yesalltags

  19. Cane Caldo says:

    @NSR &

    That’s the font color red tag at work.

    Stupid wordpress didn’t read my sneaky HTML in there.

    Repeat after me: not all HTML tags are supported in WordPress comments.

    See? Told you it’s not a Christian blog! WordPress is a Romish construct.

    And did you notice that there is punctuation here? Real Hebrew texts lack punctuation.

  20. Casey says:

    Very helpful

    Always wondered why I couldn’t use bold/italics etc.

  21. Casey says:

    @ Dalrock

    Hey Dalrock, I had the greatest of letdowns this past weekend by watching (for the 1st time) the 1961 (so-called) classic ‘Breakfast at Tiffany’s’.

    My red-pill eyes couldn’t believe what I was seeing……..it stands out as a 1961 harbinger of things to come.

    I was expecting to see a cinema classic, and instead got a misandric/solipsistic movie that has no redeeming features whatsoever.

    I’ve never read the book and had never even discussed it with anyone beforehand.
    The story was, in a word, terrible.

    We had the white knight Paul Varjek (George Peppard)
    We had the Beta Oribiters (too numerous to count)
    We had the misandry of Audrey Hepburn’s character (I believe in the book she’s a call-girl)

    I guess a woman’s misandry predates 1961 cinema, and this movie speaks volumes to women young and old even today.

  22. Pingback: Basic tags for wordpress comments. | Reaction Times

  23. earlthomas786 says:

    Heresy! The Bible doesn’t use hashtags. I DEMAND you show me one instance of Jesus speaking in italics. Everyone knows he spoke only in red!

    I thought this was a Christian blog…

    I’ll have to look where in the Catechism says using hashtags was an apostolic tradition.

  24. 8 in the Gate says:

    In our church only the men speak in Italics. The women can speak in Italics, but only if they are speaking to other women.

  25. Minesweeper says:

    @Ar, yes thats the issue, WP can really get its knickers in a twist when using HTML tags outside the limited amount that it supports in comments, youd think it would be easy to drop 4 buttons that would add tags in.

  26. Dalrock says:

    #8 in the gate

    In our church only the men speak in Italics. The women can speak in Italics, but only if they are speaking to other women.

    In our tradition women must only speak in strikethrough.

  27. patriarchal landmine says:

    how do I embed a video?

  28. patriarchal landmine says:

    oh I guess the embed code is good enough.

    but what about embedding an image? I assume it’s an html tag.

  29. patriarchal landmine says:

    what about quote instead of blockquote? wow it’s been a long time, I forgot how to add the title to the quote.
    but what about embedding an image? I assume it’s an html tag.

    note: the image embed didn’t work in the last post, but there was some site in a related search that claims it can do that.

    nullnull

    //cdn.embedly.com/widgets/platform.js

  30. patriarchal landmine says:

    ok that didn’t work either. 😦

    videos will have to do for now.

  31. BillyS says:

    Embedding a video is tricky. I have found putting it on a line by itself usually works, but even that is spotty at times.

    Great post Dalrock. You should add it to the links at the top of each page under the blog’s name.

  32. Red Pill Latecomer says:

    Thanks. But how do I embed a jpeg image?

  33. Red Pill Latecomer says:

    I’ve never read or saw Breakfast at Tiffany‘s, but its author, Truman Capote, was a homosexual. So his view of proper male/female relationships was obviously distorted.

  34. Bart says:

    I remember watching that movie a number of years ago, and being profoundly disappointed. I wasn’t even red pill. I just thought the movie sucked, and had no redeeming qualities.

    I don’t know why Colonel Hannibal Smith would even make such a movie (Face-man maybe, BA Baracus no way). I pity the fool!

    I’ve been disappointed with pretty much as very Audrey Hepburn movie I’ve seen. She was a pleasure to look at, but her movies generally sucked.

    Also Capote was a messed up dude.

  35. Mark says:

    @Dalrock

    Mister “D”. Does this mean that I am required to use HTML in my posts?….such as when I am quoting someone? This is a lot to ask of someone like myself….who is possibly the laziest typer on your blog?…Just inquiring.Thanks.

  36. earlthomas786 says:

    OT…was reading there to get married by Bishop Fulton Sheen and this stood out…the paradox of love. Made a lot of sense.

    ‘The paradox of love is that the human heart, which wants an eternal and ecstatic love, can also reach a moment when it has too much love and wishes to be loved no longer. Francis Thompson, in a poem, tells how he picked up a child to hold and held him in his arms, and how the child cried and kicked to get down. On reflecting, he wondered if that is not the way some souls are before God. They are not ready to be loved by Him. Certainly some such moment comes in the human order when there is a tug of war between wanting love and not wanting it. What is this mysterious alchemy inside the human heart that makes it swing between a feeling that it is not loved enough and the feeling that it is loved too much? Torn between longing and satiety, between craving and disgust, between desire and satisfaction, the human heart queries: Why should I be this way? When satiety comes, the Thou disappears, in the sense that it is no longer wanted. When longing reappears, the Thou becomes a necessity. Loved too much, there is discontent; loved too little, there is an emptiness. The answer to this tension is evident. The human heart was made for the Sacred Heart of Love, and no one but God can satisfy it.’

  37. OKRickety says:

    Testing to see if the HTML “code” tag works.

    "This text is inside a code tag"

  38. Novaseeker says:

    I think what Breakfast at Tiffany’s reminds us is that these issues didn’t begin in 1965. Have they progressed to a worse place since then? Sure. But you have to go back to the early 20th at least, and perhaps even the latter 19th, to see the proximate roots of where we are today. Things didn’t turn on a dime in 1965, even though a lot of tangible change happened in that period — it was more a case of things that had been bubbling under since at least the 1920s finally frothing over the brim.

  39. OKRickety says:

    Italics: <i>Test text<&sol;i>   results in:    Test text
    Bold: <b>Test text<&sol;b>    results in:    Test text
    Bold Italics: <b><i>Test text<&sol;i><&sol;b>    results in:    Test text
    Hyperlink: <a href=”https://dalrock.wordpress.com/2017/08/15/righteous-prostitutes-spreading-their-legs-free-of-sin/”>HYPERLINK<&sol;a>    results in:   HYPERLINK
    Strikethrough: <del>strikethrough<&sol;del>    results in:    strikethrough
    Quoting blocks of text: <blockquote>Quoted text<&sol;blockquote>    results in:   

    Quoted text

  40. OKRickety says:

    How to use HTML tags (text version instead of an image)
    Italics: <i>Test text</i> results in:    Test text
    Bold: <b>Test text</b>    results in:    Test text
    Bold Italics: <b><i>Test text</i></b>    results in:    Test text
    Hyperlink: <a href=”https://dalrock.wordpress.com/2017/08/15/righteous-prostitutes-spreading-their-legs-free-of-sin/”>HYPERLINK</a>    results in:   HYPERLINK
    Strikethrough: <del>strikethrough</del>    results in:    strikethrough
    Quoting blocks of text: <blockquote>Quoted text</blockquote>    results in:   

    Quoted text

  41. Dalrock says:

    @Mark

    Mister “D”. Does this mean that I am required to use HTML in my posts?….such as when I am quoting someone? This is a lot to ask of someone like myself….who is possibly the laziest typer on your blog?…Just inquiring.Thanks.

    Ha. Not at all. I just thought it was easy to take a snapshot of the common code and post it, since the question comes up periodically.

    @Minesweeper

    tbh if you could condense that to a small image just listing the commands and have it above the comment box every time, would be swell !

    I checked, and there isn’t a way to insert such an image. However, if we are only talking about bold, italic, and quoting, once you understand the pattern all you need to remember is b, i, and blockquote. The hardest part is making sure you don’t accidentally try to close one of these tags with a tag to open them (by omitting the /). But that is mostly a matter of paying attention, as it is easy enough to miss.

    Links are a different format, but you shouldn’t need to do them as often. For those your best bet is to use a link generator like the one I posted above, as this lets you test the code before hand.

    And if you really want to make it foolproof, get a free wordpress blog and use a draft post to type your comment and use the WYSIWYG markup tools to create the features you want and then go to the html tab to get the text you need. No coding required, and you can preview the results ahead of time.

  42. Baker says:

    @ Dalrock

    I’d like to email you, would that be ok?

  43. Red Pill Latecomer says:

    I just came across this cartoon called Marriage in the 21st Century: https://i.imgur.com/TO9rDbJ.jpg

    It might be old, but it’s new to me. It contains a lot of manosphere wisdom.

  44. earlthomas786 says:

    I just came across this cartoon called Marriage in the 21st Century:

    That’s the (woman) discontent that comes from ‘being loved too much’ pointed out in my previous post.

  45. dhanu says:

    @Dalrock

    A number of Javascript plugins are available that can add the Rich Text Editing feature on any HTML page. For example, NicEdit (“http://www.nicedit.com/”) is a free one that you can use. Here are the steps for using this one (it will add buttons for rich text editing – such as Bold, Italic, Hyperlink, etc – over all the textarea elements of the page):

    1. In the WordPress editor (where you type the content for your posts), choose the “Text” view, and paste the following code (preferably at the bottom of your post so that it loads in the end, thereby not making the page to wait before showing the post):

    ^script src=”http://js.nicedit.com/nicEdit-latest.js” type=”text/javascript”~^/script~
    ^script type=”text/javascript”~bkLib.onDomLoaded(nicEditors.allTextAreas);^/script~

    2. In the above code, change the carets ^ to the left angle brackets (less-than symbols), and the tlides ~ to the right angle brackets (greater-than symbols). I used the carets and tlides in order to avoid any unintentional changes to the text by WordPress in this comment.
    Tip: The NicEdit home page (link above) has the desired code on the right hand side column.

    3. That should do it! (I did not test it on WordPress, but it does work fine on a locally created HTML page.)

    Tip (optional, and subject to NicEdit terms/license allowing this): The above code loads a Javascript file and the images for the buttons from “nicedit.com” sub-domains. In order to reduce load (and dependency) on these external servers, you may download the Javascript and image files, and then upload them locally (on your own server). You’ll need to make small changes to the Javascript file so it would point to the new location of the image file.

  46. Cane Caldo – See? Told you it’s not a Christian blog! WordPress is a Romish construct.

    Yeah, whatever, dude. Next you’ll be saying Rogue One was crap or something.

  47. Minesweeper says:

    for shits and giggles, lets see how this gets mangled


    bkLib.onDomLoaded(nicEditors.allTextAreas);

  48. Minesweeper says:

    dhanu, download a copy of this webpage and add it, still wont work.

  49. dhanu says:

    @Minesweeper

    I did as you told. It is working for me. Here’s what I did.

    I created an HTML page from the source (HTML) code of this post. Below is the portion of the source code near where Dalrock’s post ends.

    ^p~This is ^del~strikethrough^/del~.^/p~
    ^p~Here is what the code for the above looks like:^/p~
    ^p~^img data-attachment-id=”50052″ … LOTS OF OTHER ATTRIBUTES … /~^/p~
    ^style type=”text/css”~
    3 CSS STYLE RULES
    ^/style~

    (In the above code-snippet, I have changed the opening and closing angle brackets to carets ^ and tlides ~. Additionally, I have omitted lots of code that was irrelevant and have replaced it with the text in all-caps. All we really need to see is the start of the CSS style block, which is where the code for the post ends.)

    I inserted the two script lines (for NicEdit, as given in my previous comment) just before the opening style tag (^style type=”text/css”~), which is where they would presumably end up if Dalrock inserts them at the bottom of his post (in the “Text” view of the WordPress editor). The resultant code looked like this after the change:

    ^p~This is ^del~strikethrough^/del~.^/p~
    ^p~Here is what the code for the above looks like:^/p~
    ^p~^img data-attachment-id=”50052″ … LOTS OF OTHER ATTRIBUTES … /~^/p~
    ^script src=”http://js.nicedit.com/nicEdit-latest.js” type=”text/javascript”~^/script~
    ^script type=”text/javascript”~bkLib.onDomLoaded(nicEditors.allTextAreas);^/script~
    ^style type=”text/css”~
    3 CSS STYLE RULES
    ^/style~

    I then saved the page and opened it in Firefox. The comment box had the nice, rich text editing buttons on top of it, they were working too.

  50. UK Fred says:

    A Californian woman is suing her own parents for 2 million dollars because she blames her parents for her “ugly genes”.

    Annabelle Jefferson, 44, believes her parents are fully responsible for her unpleasant physical features which have led to her three divorces and a succession of depressions and psychological troubles.

    « Both of my parents are so damn ugly, it is simply cruel to have had kids. There is no way they should have been allowed to reproduce themselves .»

    « There should be government programs to sterilize ugly people or at least make it impossible for them to have kids, » she adds.

    Jefferson blames her parents for her succession of unsuccessful marriages which led to a series of psychological problems.

    « During my first divorce, my ex-husband told the judge that every morning he saw my face, he felt nauseous and often had to run to the bathroom and puke, » she remembers painfully.

    « My last husband was technically blind but regained 40% of his sight after a successful eye surgery. He divorced me the next week, » she recalls.

    The 44-year-old plans on starting an association for people who have had similar problems and who wish to sue their « ugly parents .»

    She also hopes to lobby the state department in the near future to pass legislation on banning people who don’t meet decent beauty or aesthetic criteria to be sterilized or not to be allowed to give birth so as to prevent others from suffering as much as she did.

    I needed a little practice and I thought that this passage, from Ilovenative.us wiould be ideal for the practice and would also add some light amusement to the post.

  51. Donegoner says:

    italics

  52. BillyS says:

    Her “pleasant attitude” had nothing to do with her divorce I am sure….

  53. Anonymous Reader says:

    New tag is needed, something like text text to simplify some comments.

  54. Anonymous Reader says:

    Hmm. The new tag should be “” text text “” to simplify comments.
    Let’s see if I cleaned that up.

  55. Anonymous Reader says:

    Heh. How about this: “[loopholel]” text “[/loophole]” to simplify.
    Of course now there’s no humor left in the comment.

  56. Where is an “introduction” to gaming women? Preferably one that is geared towards men who want LTRs and not screwing every whore one can get.

  57. James says:

    Off-topic–Dalrock, I’d be interested in hearing your take on this story:

    From Trump Aide to Single Mom

    It’s a lot like the Sarah Lenti case you wrote about a few months ago.

  58. TechEbook says:

    )
    Tip (optional, and subject to NicEdit terms/license allowing this): The above code loads a Javascript file and the images for the buttons from “nicedit.
    Tip: The NicEdit home page (link above) has the desired code on the right hand side column.

  59. Minesweeper says:

    @TechEd – 😀

    good luck with that, I’d think if it was easy, then wordpress\dalrock would have added it by now. It aint.

  60. Minesweeper says:

    if anyone who claim’s to get it working, can load it onto their OWN WP site, so we can all see. I suspect, it has alot to do with previous downloading of content. But would be delighted to be proved wrong. If it can be shown to be an easy implant, I think we would all be delighted if we could reedit our commentz or see the output before posting, without having to fire up our own WP site.

    As we are all just too damm lazy.

  61. dhanu says:

    I created a new WordPress blog and tried to use the Javascript code. Sadly, it does not work.

    Previously, I had only searched for ways to add Javascript to a WordPress post, and simply commented what I found. I did not hava a WordPress blog at that time. Now, I did a bit more searching on the Web, and found this from the link “https://en.support.wordpress.com/code/”:

    Users on the Premium Plan and below are also not allowed to post JavaScript.

    So trying this would likely be an exercise in frustration, in case anyone wishes to experiment further. Apologies for any pointless hassle I might have caused with my first comment.

  62. leroyjhunt says:

    There is no way they should have been allowed to reproduce themselves . I created a new WordPress blog and tried to use the Javascript code.

  63. thehaproject says:

    Doesn’t WordPress have a built-in advanced editor that allows for easier tagging and preview?

  64. There is no means they should stimulate been allowed to reproduce themselves .
    Previously, I had only searched for meanss to add Javascript to a WordPress position, and simply commented what I found.

Please see the comment policy linked from the top menu.

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s