WordPress Turn On-Off Comments and Pings for Multiple Previous Posts


When I started the paktutorial, the idea was short tips and I had disabled comments and trackbacks for all posts via the default wordpress settings. Hundreds of posts later, I decided to open up comments, but it was a difficult task to turn on comments in existing posts as you had to do it manually for each article… then I found a simpler way!
Under the WordPress Options > Discussion page, you can switch the default global setting for trackbacks and comments on or off, but that only applies to posts you make from that point forward. Individual existing posts have their own settings and need to be edited manually.
Then I found this powerful wordpress plugin called Extended Comment Optionsthat lets you quickly and easily switch comments (and trackbacks/pingbacks) on or off with a single click. And indeed I could activate comments on hundreds of posts in one click. Amazing!
Powered by a set of ‘Simple Settings’ and ‘Advanced Settings’, it is a must have plugin if you want to power turn on or off comments and trackback settings on a bunch of existing posts.

HTML Tags

HTML Tags

Informally, HTML elements are sometimes referred to as “tags”, though many prefer the term tag strictly in reference to the semantic structures delimiting the start and end of an element.

  • HTML tags are used to mark-up HTML elements
  • HTML tags are surrounded by the two characters < and >
  • The surrounding characters are called angle brackets
  • HTML tags normally come in pairs like <i> and </i>
  • The first tag in a pair is the start tag(<i>), the second tag is the end tag(</i>)
  • The element content is the text between the start and end tags
  • HTML tags are not case sensitive, <b> means the same as <B>

Why do We Use Lowercase Tags?

Start using lowercase tags, if you want to prepare yourself for the next generations of HTML. The World Wide Web Consortium (W3C) recommends lowercase tags in their HTML 4 recommendation, and XHTML – the next generation HTML – demands lowercase tags.

HTML Basic Tags

  • The basic tags include <HTML>, <title>, <meta>, and <body>.

<HTML>

This tag is used to indicate that this is an HTML document.

This tag is used to indicate the header section of the HTML document, which typically includes the <title> and <meta> tags, and is not displayed in the main window of the browser.

<title>

This tag indicates the title of this HTML page. The title is what is displayed on the upper left corner of the browser when you view a web page. For example, right now you can see there “Basic Tags: HTML, head, title, meta, body”. That is the title of this page.

The title tag is important when it comes to search engine ranking. Many of the search engines pay special attention to the text in the <title> tag. This is because (logically) that words in the <title> tag indicate what the page content is.

<meta>

The <meta> tag information is not directly displayed when the page is rendered on the browser. Rather, this is used for the author of the HTML page to record information related to this page. Two common attributes are name and content. The <meta> tag used to hold great importance in search engine optimization, with authors carefully drafting what’s inside the tag to gain better search engine ranking, but recently its importance has been decreasing steadily.

<body>

The <body> tag includes the HTML body of the document. Everything inside the <body> tag (other than those within the <script> tag) is displayed on the browser inside the main browser window.
The <body> tag may contain several attributes. The most commonly used ones are listed below:
  • bgcolor: This is the background color of the entire HTML document, and may be specified either by the color name directly or by the six-digit hex code.
  • alink: The color of the links.
  • vlink: The color of the visited links.
  • topmargin: The margin from the top of the browser window.
  • leftmargin: The margin from the left of the browser window.

Headings

Headings are defined with the <h1> to <h6> tags. <h1> defines the largest heading. <h6> defines the smallest heading.
<h1>This is a heading</h1>
<h2>This is a heading</h2>
<h3>This is a heading</h3>
<h4>This is a heading</h4>
<h5>This is a heading</h5>
<h6>This is a heading</h6>
HTML automatically adds an extra blank line before and after a heading.

Line Breaks

The <br> tag is used when you want to end a line, but don’t want to start a new paragraph. The <br> tag forces a line break wherever you place it.
<p>This <br> is a para<br>graph with line breaks</p>
The <br> tag is an empty tag. It has no closing tag.

Comments in HTML

The comment tag is used to insert a comment in the HTML source code. A comment will be ignored by the browser. You can use comments to explain your code, which can help you when you edit the source code at a later date.
<!– This is a comment –>
Note that you need an exclamation point after the opening bracket, but not before the closing bracket.

<font>

The <font> tag is used to change the format of the text on the web page.
The most important attributes are as follows:
face: The type of font. Common ones include “Time New Roman”, “Verdana”, and “Helvetica.”
size: This indicates the size of the text. This can be absolute (0 .. 6), or relative (“+1”, … or “-1”,…)
color: This attribute indicates the color of the text. Either the color name or the six-character color code may be used to specify color.
<font size=2 face=”Helvetica” color=red>This illustrates the attributes of the font tag.</font>

HTML Text Formatting Tags

HTML defines a lot of elements for formatting output, like bold or underline text.

<b>

The <b> tag will bold the text inside the tag.

<i>

The <i> tag will italicize the text inside the tag.

<u>

The <u> tag will underline the text inside the tag.

<center>

The <center> tag causes all the text within the tag to be centered.

<p>

The <p> tag indicates a new paragraph. It is the same as <br><br>. This tag is most often used by itself, without a corresponding closing tag.

<big>

Defines big text

<em>

Defines emphasized text

<small>

Defines small text

<strong>

Defines strong text

<sub>

Defines subscripted text

<sup>

Defines superscripted text

<ins>

Defines inserted text

<del>

Defines deleted text

“Computer Output” Tags

<code>

Defines computer code text

<kbd>

Defines keyboard text

<samp>

Defines sample computer code

<tt>

Defines teletype text

<var>

Defines a variable

<pre>

Defines preformatted text
Why do We Use Lowercase Tags?
Start using lowercase tags, if you want to prepare yourself for the next generations of HTML. The World Wide Web Consortium (W3C) recommends lowercase tags in their HTML 4 recommendation, and XHTML – the next generation HTML – demands lowercase tags.