[ Tag Archive ]
A Few Things to Keep In Mind When Using the More Tag in WordPress
I just had someone ask me why everything on their front page became bolded when they placed <?php the_content('(more')); ?> in their code to use in conjunction with the more tag in their posts. It took me a while to figure it out but the solution is pretty simple.
Removing Images from a WordPress Post: Redux
I just discovered some issues with this code so I fiddled around and discovered a better way to code it.
Here is a better version to use.
<?php
$content = get_the_content();
$postOutput = preg_replace('/<img[^>]+./','', $content);
echo $postOutput;
?>
Searchable Links Plugin for WordPress
Quick on the heels of my first WordPress plugin, Add Logo to Admin, comes a way more complicated plugin that took me quite a while to figure out. Once I actually get some sleep and take a look over it again I will probably put up some tidbits on how to make something like this actually work.
Adding Social Bookmarking Links to WordPress
There are plugins that do this but once again, I’m a code junky and I love being able to go in and manipulate the code to get what I want. I just recently added some social bookmarking links at the top of this site, as you can see.
Getting Text in your WordPress Search Box
Have you ever wondered how some sites have text in their search box? This one is pretty easy. All you need to do is modify the searchform.php file, which can be found in your theme’s directory. Let’s use the default theme as an example to make it easier for everyone to see what to do.





