Product Variations – WordPress Plugins
So this is a nice little plugin – an add-on to Woocommerce called Smart Variation Images. The extension allows you to set different images to each product variation. This is handy to display different style types to the user as they browse through your product variation choices. Each time they select a new variation, the primary image […]
Responsive Design and Why it is important for your Small Business Website
Responsive design provides users with quick seamless access to the same content regardless if they are using a smartphone, a tablet, or a laptop/desktop. “Web Design is responsive design, Responsive Wed Design is web design, done right.” – Andy Clarke A responsive design website responds to the device it’s being viewed on by fluidly changing […]
Geolocate Address from Custom Post Type Meta Value: WordPress Experts
This was an interesting project for our Gainesville Web Design Team. The puzzle: Create a custom post type within WordPress, no trouble there Allow users to input an address on a CRED front-end form that loads into the CPT, still no trouble there Next, create a script that loops through each CPT, extracts the elements […]
WordPress: Capturing Post Author Meta
An easy one here from your local Gainesville Web Designer: How to retreive the author information from a post in the WordPress loop. This assumes you’re in the loop, of course. $meta_field= get_the_author_meta( ‘your_meta’ ); Badda-bing badda-boom. You’re done. It really is that simple. Just use get_the_author_meta, the name of the meta source from […]
WP: Adding a HTML5 Search Form
A simple script from your local Gainesville Web Designer. [code scroll=”false” language=”htmml”] <form role=”search” method=”get” class=”search-form” action=”<?php echo home_url( ‘/’ ); ?>”> <label> <span class=”screen-reader-text”><?php echo _x( ‘Search for:’, ‘label’ ) ?></span> <input type=”search” class=”search-field” placeholder=”<?php echo esc_attr_x( ‘Search …’, ‘placeholder’ ) ?>” value=”<?php echo get_search_query() ?>” name=”s” title=”<?php echo esc_attr_x( ‘Search for:’, ‘label’ ) ?>” /> </label> <input type=”submit” […]