• Skip to main content
  • Skip to primary sidebar
BlueOrchidLogoFull2022
  • Contact Us

Site just needs a refresh? Check out the One Day Website!

One Day Website

Blog Page

How To Bend WordPress To Your Will: Add A Widget

March 23, 2018 by Sally Gradle

Have you chosen a theme? No? Is it because you have not found one that is just how you want it? There may be something we can do about that. Changes to colors, fonts, widgets, even custom menus are all possible in WordPress. You can bend WordPress to your will. Word of warning: with great power comes great opportunity to really mess things up. Please, please, please never work on a live site. By all means, try stuff, test stuff, throw out the box entirely, just do it in a testing environment. Otherwise, there is enormous risk bringing down a live site, and that could be disastrous.

One more thing: Work in a child theme. Really. It would be a shame to do all of this beautiful work lose it with the next update of the theme.

Now, let’s do something fun.

The Benefits of Open Source

The reason the WordPress CMS is available free is that thousands of folks are contributing to it every day, and sharing that code freely. Yes, there are premium plugins and themes, and there are times that those really are the best solution. But we can get a lot done and can get many things we want with just a few changes to the code. Many of those have already been figured out for us and are widely available. The best source is the Codex on wordpress.org, “ the online manual for WordPress and a living repository for WordPress information and documentation.” Yep, it’s right there on the internet, for everyone to see. Additionally, there is a wealth of repositories, blog posts, and little code snippets in countless posts on stackoverflow.com and codepen.io, and many other sites, all intended to be shared and used. For this example, we will use code from the WordPress Codex.

Add a Widget to a Sidebar

Let’s say we want to add a widget to the sidebar section of our website. First, we have to add some code to the functions.php file of our theme. Although you can work in the editor on the admin side, it’s a best practice to open the file in a code editor, make the changes, and then save/FTP to the site. That way, if there is a mistake, we can correct it and re-upload right away. We will add the code right at the bottom.

/**
 * Register our sidebars and widgetized areas.
 *
 */
function arphabet_widgets_init() {

	register_sidebar( array(
		'name'          => 'Home right sidebar',
		'id'            => 'home_right_1',
		'before_widget' => '
<div>',
		'after_widget'  => '</div>

',
		'before_title'  => '
<h2 class="rounded">',
		'after_title'   => '</h2>

',
	) );

}
add_action( 'widgets_init', 'arphabet_widgets_init' );

(Note: this is why we use a child theme. The next time the parent theme gets updated, the functions.php file will be replaced, and all of our hard work will be lost. But if we work in a child theme the functions.php file of the child theme will not be affected.)

Now in the Appearance section, we will see a widget called Home Right Sidebar, but will not see it in the Widget portion of the Admin screen. We have to tell WordPress to show it. So we will open up the sidebar.php file an put the following code where we want the widget to be:

<?php if ( is_active_sidebar( 'home_right_1' ) ) : ?>
	
<div id="primary-sidebar" class="primary-sidebar widget-area" role="complementary">
		<?php dynamic_sidebar( 'home_right_1' ); ?>
	</div>

<!-- #primary-sidebar -->
<?php endif; ?>

 

This code will add the widget Home Right Sidebar to the list of available widgets in the Admin screen, and we can now start adding content. Neat, huh?

Of course, not everyone is interested in doing this much work with code, even if the motivation for having another widget area is substantial. That’s okay. Blue Orchid Web Development exists to do these kinds of modifications. Contact us today to talk about how we can bend WordPress to your will.

Filed Under: How To Tagged With: code, DIY, widget

Why Your Nephew Shouldn’t Build Your Website

November 2, 2017 by Sally Gradle

Why Your Nephew Shouldn't Build Your Website, Blue Orchid Web DevelopmentSo, you’ve decided that you do need a website for your business (if you’re still not convinced, please read here). There are many ways to go about getting it built, but not all of those lead to a place that will serve your business. Those ways are why your nephew shouldn’t build your website.

My Host Has Free Tools

Most web hosting companies now have tools that promise to have your website up and running in minutes. That is accurate; you will have a website. And it will look the same as every other website built with that tool. Those tools, by design, have a limited number of options in the look and functionality of your site. They are meant to be used by anyone and to minimize the amount of support the hosting company needs to provide.

Your website is the face your business presents to the world. If it looks just like everything else, how do you stand out? A custom or semi-custom website, with the look, feel, and experience you want to show to your customer base, is the way your business says, “Here is what makes us special.” You get to decide what the content is, how the visitor interacts with it, and the ways it ties in with all of your other marketing materials. Do you want an advanced functionality, like users getting special access depending on their registration or subscription status? Do you need to have a library of instructional videos? How about a specialized gallery or portfolio? These are generally not included out-of-the-box with free website tools.

I Bought A Theme That Does Everything

There are several everything-for-everyone themes available, and many are quite beautiful with more functionality than you can shake a stick at. The demo sites have stunning photos and exciting videos that precisely convey what you want. Then you download and install the theme and all that content is gone. Wait, what happened to the photos? Where did the clever captions go? That demo you saw was exactly that: a demonstration of what is possible when you have a designer or developer doing the build for you. The back end has lots of blank pages, some with page building tools that you can stumble through, dragging and dropping your way along a steep learning curve. Meanwhile, you are taking time away from running your business.

Additionally, all those functionalities come at a cost. Often, they are several different tools bundled together. You have them whether or not you will use them, and they must be maintained and updated regardless of the use to prevent security vulnerabilities. In every system or process, the more complications that exist, the more opportunity there is for something to go wrong. A web professional can create that beautiful site with just the functionalities you want without the additional overhead of unnecessary programming.

I Know A Guy

Everyone knows a kid/friend-of-a-friend/family member who can build your website “cheaper than one of those developers.” Your nephew may, in fact, be an excellent coder or have an eye for design. But he also has a chemistry test on Wednesday, a trumpet lesson on Thursday, and just bought the newest release of his favorite video game franchise. In short, his focus is not your business.

Ask yourself this: do you want the face of your business to be someone else’s side gig? A web professional’s only interest is in helping you present your business in the best way possible to the broadest audience to get the most significant engagement. He or she spends time getting to know you and your business, what you want to accomplish, what your resources are, and knows what additional pieces to suggest to get you there.

This Is Business

A business website is not something that is built, set in motion, and then watched from afar. There are updates and maintenance to the programming, SEO improvements to implement, blog posts to schedule, social media tie-ins to make, changes to content, and integration with other marketing. It’s a communication conduit between you and your customers, and you will have many things to say over time. Someone building websites on the side will have to shoehorn your needs into his or her schedule. A web professional’s business exists to support your business. The urgency is evident, because he or she has a business, too.

Filed Under: Business

Do You Even Need A Website?

October 26, 2017 by Sally Gradle

Do You Need A Website, Blue Orchid Web DevelopmentI was talking with a small business owner recently and he told me that he did not have a website because he didn’t need one. He felt that he got plenty of traffic through social media, and it was much easier to put up posts that way than to maintain a website. As a web developer, I took this to heart. Do you even need a website?

Your Face to the World

Almost everyone has at hand a device that produces information about your business: the products or services you provide, your location and hours, and a way to contact you are just the basics. This is not much different from an advertisement in a paper publication. People want to see who you are, what your products, services, or organization are like, and what you say about yourself. What is your personality? Social media pages do not have very much latitude. While they are good for quick bits of information, they do not provide flexibility for you to tell your story.

By their very nature, social media posts are highly structured, and that structure is set by the forum. Your ability to educate your customer or create a relationship with your community is limited by post length and the number and size of graphics and photos you can use. Your very logo must be made to fit in predetermined dimensions; you cannot change that. And they are not easy to navigate. It is more cumbersome for a visitor to move through all the information in social media postings. A well designed website affords the opportunity for a conversation, a chance to build trust. None of this means that social media do not have a place, but that they should be a supplement, a signpost to your main web presence.

How To Find You

When someone speaks into a smartphone a phrase like “Where is the nearest ice cream shop?” a search of the internet is launched. It is how new customers find you, and every business or organization depends on new folks coming alongside the existing ones. The problem with depending on social media for this exposure is that it just doesn’t happen. For example, the average organic reach for branded Facebook pages is 2% for pages with more than 1 million likes, according to this study . That is an average, so there are many that are below that number. Additionally, brands that get more reach engagement post an average of eight times per day, which is a lot for a small business to manage.

Oh, and one more thing: despite the perception, not everyone is on social media. According to Facebook’s own statistics, 85% of daily active users are outside the United States and Canada. Depending on your audience, this may be a hindrance. A website affords many more opportunities to raise the search engine rankings and put your business in front of more potential customers. Every page, post, and photo on your site can be put into the search engine path. The social media posts will help that rank, but search engines are looking for websites.

Yeah, But Technology is Hard

There is no doubt that the bar to entry on social media is low; it should be. The whole point of social media is to engage many people, and to make it easy for them to do it. While not as easy as social media, website frameworks like WordPress bring the creation of websites much closer to many more people. Pre-made themes, walk-through tutorials, and a wealth of online resources mean that a business owner can build a website without knowing one bit of code. Changes to posts, pages, colors, and graphics are all easily done. Even maintaining an online shop is well within reach.

For folks who don’t want to touch it at all, or want to do more than time or inclination allow, web developers like Blue Orchid Web Development exist to help you launch, maintain, and link your website to all of your social media outlets as well as the rest of your marketing efforts, so you can concentrate on building the relationships that grow your business or organization.

Do you even need a website?

Your business website can be the center of your marketing, giving a foundation to the branding and message you want to present.  It is your face to the world.

Filed Under: Business Tagged With: Small Business

Primary Sidebar

Get In Touch!

331.888.2583

info@blueorchidwebsite.com

Additional Resources

Privacy policy
Terms and conditions
Privacy Settings

Join Our Mailing List

Our newsletter comes out monthly. Very, very rarely we may send a special announcement. We won't spam you. We don't have time for that either.

* indicates required

© 2023 Blue Orchid Web Development. All Rights Reserved.