Tuesday, May 22, 2012

How to remove 'Leave a Reply' from Twenty Eleven' pages when it WON'T go away


Sometimes, no matter how many times you use a Wordpress theme they way it wants to be used, it doesn't work the way you need it to. The obvious solution to remove the 'Leave a Comment' or 'Leave a Reply' section on posts and pages when using Twenty Eleven (or Twenty Ten, if you're stubborn) is to uncheck 'Allow people to leave new comments' on Settings>Discussions - but alas, that doesn't work. Or, I guess it does, but not the way any sane person would want it to (the 'Leave a Reply' window remains displayed, you just aren't allowed to use it). 
You can also try going to Pages>All Pages and clicking Quick Edit on the page that is making you crazy, and unchecking the 'Allow Comments' box, but chances are you will just start tearing out more of your hair - because that won't make the *%$@# form go away either. 
Never fear - I found the solution!
If you are comfortable editing theme files, go into page.php (where your theme uses the comment function) and remove or comment out the function. It may look something like this:
<?php comments_template(); ?>
To comment it out (make it not have any effect on your site) put two slashes in front of it, like this:
<?php // comments_template(); ?>
Make sure you backup your theme before making any changes!!

Thursday, May 10, 2012

WP-E-commerce - How to hide 'Add to Cart' button if your user is not logged in

I have been searching and searching for WEEKS on how to do this, and now that I figured it out, it seems so obvious! I thought I would post the answer here for all of you that are as stubborn as me and are still trying:

In both wp-content>plugins>wp-e-commerce>wpsc-theme>wpsc-products_page.php and wp-content>plugins>wp-e-commerce>wpsc-theme>wpsc-single_product.php, change this line:
<?php if((get_option('hide_addtocart_button') == 0) && (get_option('addtocart_or_buynow') !='1')) : ?>
to this:
<?php if((get_option('hide_addtocart_button') == 0) && (is_user_logged_in()) && (get_option('addtocart_or_buynow') !='1')) : ?>
Basically, saying if the user is logged in, show the 'add to cart' button, otherwise, don't.

Ah! Now don't we all feel better?

Monday, February 27, 2012

Featured Client: The Jude Group

Today's featured client is The Jude Group!

The Jude Group was founded by two friends; brothers in arms who shared a common purpose. Their goal was to change the current paradigm concerning the field of chemical dependency and the world of recovery. Managing partner and co-founder Don Mabry and partner and co-founder J.D. Darley made a vow to “give all of them for the sake of another” and in the process live out their childhood dreams.

Visit their site for more information and be sure to like them on Facebook.

You can always see more of our clients on our portfolio - contact us today to get yours!

Saturday, February 25, 2012

Featured Client: Straight Wheels

Today's featured client is Straight Wheels!

Straight Wheels is the Central Texas wheel re-manufacturing experts! Specializing in repairing, remanufacturing, and refinishing factory original aluminum alloy wheels for the automotive industry.

Read more about what Straight Wheels can do for you right here!

You can always see more of our clients on our portfolio - contact us today to get yours!

Thursday, February 23, 2012

Featured Client: Promised Land Learning Center

Today's featured client is Promised Land Learning Center!

Located right here in Hutto, children at Promised Land build social & cognitive skills, along with a focus on literacy, math and science.

Contact them today for more information about signing up your little ones!

You can always see more of our clients on our portfolio - contact us today to get yours!

Tuesday, February 21, 2012

Featured Client: Hub Cap Annie

Today's featured client is Hub Cap Annie!

Hub Cap Annie’s tale has been told so many times in Austin that it’s a part of Austin Folklore. Read more about their story here and don't forget to visit them on Facebook.

You can always see more of our clients on our portfolio - contact us today to get yours!

Monday, February 20, 2012

Why Support Locally Owned Businesses?

The following is reprinted here with permission from the Institute for Local Self-Reliance, a nonprofit organization that advocates for strong local economies.
Two proud HWS supporters at Hutto's Treat's on East Street.
1. Local Character and Prosperity
In an increasingly homogenized world, communities that preserve their one-of-a-kind businesses and distinctive character have an economic advantage.

2. Community Well-Being
Locally owned businesses build strong communities by sustaining vibrant town centers, linking neighbors in a web of economic and social relationships, and contributing to local causes.

3. Local Decision-Making
Local ownership ensures that important decisions are made locally by people who live in the community and who will feel the impacts of those decisions.

4. Keeping Dollars in the Local Economy
Compared to chain stores, locally owned businesses recycle a much larger share of their revenue back into the local economy, enriching the whole community.

5. Job and Wages
Locally owned businesses create more jobs locally and, in some sectors, provide better wages and benefits than chains do.

6. Entrepreneurship
Entrepreneurship fuels America's economic innovation and prosperity, and serves as a key means for families to move out of low-wage jobs and into the middle class.

7. Public Benefits and Costs
Local stores in town centers require comparatively little infrastructure and make more efficient use of public services relative to big box stores and strip shopping malls.

8. Environmental Sustainability
Local stores help to sustain vibrant, compact, walkable town centers-which in turn are essential to reducing sprawl, automobile use, habitat loss, and air and water pollution.

9. Competition
A marketplace of tens of thousands of small businesses is the best way to ensure innovation and low prices over the long-term.

10. Product Diversity
A multitude of small businesses, each selecting products based, not on a national sales plan, but on their own interests and the needs of their local customers, guarantees a much broader range of product choices.