Category Archives: Wordpress Tips

business strategy development denver

Quality WordPress Development Tips to Improve Your Business Website

WordPress is the perfect tool to expand your online identity. Whether you are trying to expand a business, attract more followers, or you’re just wanting to find an outlet to express yourself, WordPress has the potential to become more than what you thought possible. As a free and open source sytem, the myriad of options and tools available to truly customize your website can seem daunting, but with a few simple tips and strategies your website can become a true portal for your vision and goals. Themes and plugins are the two most fundamental and essential aspects of a WordPress design. Understanding the purpose and impact of themes and plugins is the difference between a website that will attract or detract visitors.

Themes are the facade of the website. They can either invite and entice a visitor to stay on a page and return on a regular basis or it can lead to a quick backout from the page and a reluctance to return. Think of the theme as the mood creator for your website. Colors and images need to reflect the type of experience you want to give a visitor. A simple and effective way to narrow what type of theme is perfect for your goals is to examine what the popular websites that share the type of visitors you want look like. These websites are not only popular because of the content, but also because of how the theme of the page creates a pleasurable mood. Some websites thrive on white, open themes that create little distraction for the content while other websites use busy backgrounds and colors to energize the content that they hold up. While looking for inspiration for a theme, do not forget that it also pays to have your own signature.

WordPress has more plugins than you will ever have the time to use them on a website, and it would be wise not to clutter a page with plugins and waste your valuable time with functions that no one will use. Think of plugins in the same way people edit papers, less is more. An extremely wordy sentence loses its meaning where a simple and shorter sentence would have been better. Plugins are there to make your website work more efficiently. Once you have a visitor and they are comfortable to stay and explore the site because of the theme, the plugins should allow for easy exploration and navigation. Plugins are not only named so because they are a plugged into your site, but also because it allows users to also get plugged in.

WebStyley.com is a leading Denver WordPress Expert providing exceptional design, development and consulting. 

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’);

?>

 

References:

http://wordpress.org/support/topic/excerpts-no-read-more-link

http://codex.wordpress.org/Excerpt

 

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.