Web & Software Developer

Page 31 - Code Snippets and Tutorials

How To Add Placeholder Text Inside Any Search Box

So you want to add text inside your boring, old search form (a.k.a. search box). This javacsript will let you add a few words inside the search form. Those words are called “placeholder text.” The words will appear in the input field of the search form. When the input field of the search form is … Read more →

Change the Length of the Excerpt in WordPress

Here is the easiest and quickest way to change the length of the excerpt without a plugin in WordPress. The post excerpt is normally 55 words long. You change this by pasting some lines of code into the functions.php file of your WordPress theme. Take the following code: Make the following changes: on line 2, … Read more →