Category Archives: Troubleshooting and Problem Solving

WordPress: How to change the length of blog post excerpts

Here is the line of code that I use to change the default length (55 words) of excerpts in WordPress. Copy and paste this snippet into your functions.php file: function new_excerpt_length($length) { return 20; } add_filter(‘excerpt_length’, ‘new_excerpt_length’); Simply change the … Continue reading

Tags: , , , ,

WordPress: Add an “Email this page” link to your website or blog posts

Here is the simple line of code that I use to add an “Email this page” link to a WordPress website or blog. Simply add this code snippet to the template file where you want the link to show up … Continue reading

Tags: , , ,

Interspire Shopping Carts: Add a Flyout or Dropdown Menu to Sidebar Panel

Here is the easiest way I have found to add flyout or drop down menus to a particular panel in an Interspire shopping cart’s template. First, sign ┬áinto the website’s admin panel. Go to Settings -> Store Settings -> Display. … Continue reading

Tags: , , , , , , ,

WordPress Content Slide plugin: How to stop all of the slideshow images from displaying on page load

I recently ran into an issue with the WP Content Slide plugin where, when you first went to the website it was installed on, all of the images in the slideshow displayed in a line down the page for a … Continue reading

Tags: , , , , , , , , ,

WordPress: How to show a different number of posts on different pages

Here is the line of code that I use to control the number of posts on particular pages in a WordPress site. Note: the website that this code was written for is set up to display different categories of posts … Continue reading

Tags: , , , , ,

WordPress: Manually control which blog pages show excerpts and which show full posts

Here is how to manually control which blog pages on your WordPress site display posts as excerpts and which show the entire posts. For the site that I developed this solution for, the pages are set up to display posts … Continue reading

Tags: , , , , , , , ,

WordPress: Display latest posts from a particular category in the sidebars of specific pages

After spending hours trying to figure out a way to display the latest posts from a certain category in WordPress on specific pages, I have finally found a solution! First of all, it is important to note that the site … Continue reading

Tags: , , , , , ,

WordPress Tricks: Disable the parent links in a navigation menu

Here is the line of code I use to disable the top, or parent, links in a navigation menu in a WordPress site. Insert this line of code into your header.php file, right before the closing <head> tag: <script type=”text/javascript”>jQuery(function($) … Continue reading

Tags: , , , , , ,