Delete un-used tags in WordPress

Open phpMyAdmin, make a backup of your database first Find all un-used tags SELECT * From wp_terms wt INNER JOIN wp_term_taxonomy wtt ON wt.term_id=wtt.term_id WHERE wtt.taxonomy=’post_tag’ AND wtt.count=0; Delete all un-used tags DELETE wt, wtt From wp_terms wt INNER JOIN wp_term_taxonomy wtt ON wt.term_id=wtt.term_id WHERE wtt.taxonomy=’post_tag’ AND wtt.count=0; Use ”’wtt.count< =1”’ to delete only tags […]

Read More…

WordPress Mandigo theme blockquote

To have the WordPress Mandigo theme display blockquotes like below, insert the following code in the header area of the theme: (Dashboard > Design > HTML Inserts > Right before </head>) <style type=”text/css”> body {font-family: Verdana, Arial, Sans-Serif;} h1,h2,h3,h4,h5 {margin-top: 0.5cm; margin-bottom: 0.5cm} blockquote {line-height:110%; background-color:#ffffcc; font-style:normal; font-size:small; font-family: Lucida Console, Monaco5, monospace; text-align:left;margin-bottom:0.5cm;} blockquote […]

Read More…

WordPress – disable AutoCorrect

WordPress has a feature similiar to the AutoCorrect in MS Word. For example, it replace double hyphen (–) to a single hyphen (-). It think it is a nice feature for most people, but It isĀ also the worst thing for people who blog about programming or linux commands. This is how to disable this feature: […]

Read More…