Read Full Post

WordPress – Add target=”_blank” to content

Add the following code to your functions.php file:

 

Cristi Draghici
Read Full Post

WordPress menu in a shortcode

Source: Call a navigation menu using a shortcode

Cristi Draghici
Read Full Post

WordPress – db_term_taxonomy reset count

Reset the term count:

Cristi Draghici
Read Full Post

php – preg_replace make links out of http text

To make links inside a text, use the following code:

Cristi Draghici