Tag Archives: wordpress tips

Expert Denver WordPress Developer

Beginning WordPress Development Tips

Expert Denver WordPress DeveloperWordPress is a web developing tool that many developers use because of its simplicity, ease of extending and user friendliness. For those starting off and new to WordPress, it is recommended that they stay in contact with WordPress’ massive community. Following along with the community can mean going to legitimate blogs and snooping around, sharing ideas on forums, and following the WordPress Core. The Core is a place where one can track all of the changes made to WordPress through a timeline of sorts. The Core also helps developers understand and utilize core files and their structures without the headache, this is because the Core team updates almost instantly on every change that occurs and thus allows developers to plan for the future.

When coding with WordPress it should become habit to follow structured coding standards- at least as a beginner. This means that one’s code should be organized, well documented, and thoroughly searched through. If for example, the goal is to get a theme recognized by WordPress, then it needs to pass certain tests and qualifications. Having a neat and readable coding structure can aid greatly in this type of goal. If at a loss as to where to start, the best option is to look at other developer’s coding and ask around in the community. The next tip a WordPress developer should have under their belt is knowing how to use the WordPress Codex. The codex is akin to Google. If you have a question, ask the codex. Like a Wiki page, you can edit and read developer entries for just about any issue.

The WordPress community is huge and that is because it is a community built on sharing knowledge. When using WordPress, be sure to post on forums, blogs, the Codex, etc to share your ideas and concerns because that is the only way for the community and developers to keep making changes. Lastly, when it comes to themes, make sure to understand the inner workings of the twenty ten and twenty eleven themes as these are the most recent and up to date. One will be able to see how simple code can create an innovative website instantly and best of all, both themes are secure and tested.

How to Add Search Form to WordPress Theme

A client recently requested a search form be added to their WordPress website.  Prior to contact us, they were using the standard search widget in the their themes sidebar.  They wanted to move the search from to the menu of the theme and take it out of the sidebar completely.  Well, taking the widget out is easy enough but how can you add a new form to your theme.  It is actually pretty easy.  Just use the code below in your theme within the correct <div> tags and you will have a new search from on your site.  Let us know if you need any help or have any questions!



How to add a search form to WordPress Theme

Denver Wordpress Design

Sub-Categories Same Category Template as Parent Category WordPress

Here is another WordPress Tip for anyone who is looking to have sub-categories use the same category template as its parent category, rather than having to create separate templates for each category. Continue reading Sub-Categories Same Category Template as Parent Category WordPress

Denver Wordpress Design

How to Add Read More to WordPress Excerpts

So anytime we are asked to provide an enhancement to a WordPress Theme or WordPress install, we have decided to post our code up on our site to help out our fellow web developers and anyone who is trying to learn or maximize the functionality of WordPress.

A recent client purchased a Premium theme and contacted us to make some customizations and add functionality to the WordPress theme.  This particular client wanted the packaged widgets to display excerpts and not the pre-coded pulled content from posts.

The original code looked like this:

<?php the_content_limit(240, ‘read more &raquo;’); ?>

Great easy enough, all we had to do was take that out and add the following:

<?php the_excerpt(); ?>

Worked like a charm, but something was missing.  The client liked the automatic read more text and wanted that to remain as a built in function of the widget.  Well if this is the case you have a few options, here are two options below:

First you could add the following code:

<?php the_excerpt(); ?>

and add the following code directly below:

<a href=”<?php echo get_permalink(); ?>”> [ Read More → ]</a>

Or the other option is to add the following code to your functions.php file and it will automatically update all excerpts used in the WordPress install: (we chose this option)

<?php function excerpt_ellipse($text) {

return str_replace(‘[…]’, ‘ <a href=”‘.get_permalink().'”>Read more…</a>’, $text); }

add_filter(‘the_excerpt’, ‘excerpt_ellipse’);







Leave a comment if you have any questions!  Thanks for reading!

How to Add Shortcodes in Text Widgets WordPress

Recently we were working on a project and our client needed the ability to add WordPress shortcodes in their sidebar through the use of Text Widgets.

Shortcodes have the brackets around them and resemble this [shortcode]

A number of WordPress themes, plugins, and premium Wordrpess themes come with built in shortcodes.  Shortcodes are great for adding robust functionality to your website easily and quickly.  But how do you do it?  It is actually very easy and only takes about two minutes of your time.

To enable shortcodes in your WordPress text widgets, all you have to do is sign into your WordPress dashboard.  Once you have signed in to your WordPress install, simply navigate to Appearance –> Editor –> and find your functions.php file.  Most likely the file will be labeled Theme Functions.

Once you find the functions.php file, go to the bottom of the file and add the following code before the ?>

// Add the Shortcodes in text widgets
add_filter('widget_text', 'do_shortcode');

That is all there is to it!  Hope it works out, if you have any questions feel free to leave a comment.