Styling Default Select DropDown Fields
…select2.js So the above select field was transformed by using select2 which has a number of features manipulating the HTML select element. Download the latest version from Github and unzip,…
Read MoreAdd Extra Tabs on WooCommerce Products
…$tabs ) { // Adds the new tab if(get_field(‘ska_ingredients’)) $tabs[‘ingredient_tab’] = array( ‘title’ => __( ‘Ingredients’, ‘woocommerce’ ), ‘priority’ => 15, ‘callback’ => ‘ska_ingredients_callback’ ); if(get_field(‘ska_works’)) $tabs[‘work_tab’] = array( ‘title’…
Read MoreMinimum System Requirements for macOS Monterey 12, can your Mac run it?
Find out if your Apple computer meets the minimum system requirements of the latest operating system, macOS Monterey 12, can your Mac run it. Apple have announced their latest operating…
Read MoreCreating a Social Media Menu from Icon Fonts with FontAwesome
…media page: <ul> <li><a href=”https://facebook.com/”><i></i></a></li> <li><a href=”https://linkedin.com/”><i></i></a></li> <li><a href=”https://twitter.com/”><i></i></a></li> <li><a href=”https://linkedin.com/”><i></i></a></li> <li><a href=”https://twitter.com/”><i></i></a></li> </ul> By default we get something like this which inherits any styles we have in our website…….
Read MoreCreate CSS Conditional Stylesheets for Internet Explorer in WordPress
…by the css path is preferred as the better way to declare the theme location rather than use the absolute URL like: http://mydomain.com/wp-content/mytheme/css/all-ie.css The get_stylesheet_directory_uri(); function is used to point…
Read MoreImage Carousel Thumbnail Slider with SwiperJS and ACF in WordPress
…latest version of SwiperJS and file the following in your WordPress Child Theme… css/swiper-bundle.min.css js/swiper-bundle.min.js Then set up the scripts and styles in functions.php https://gist.github.com/neilgee/4bdaad5361a89b0818ae79f6de8c2c9c#file-scripts-ahoy-php Initialise SwiperJS Then add a…
Read MoreAdding Classes and Attributes to HTML elements in Genesis
…archive-pagination genesis_attr_archive-pagination entry-pagination genesis_attr_entry-pagination adjacent-entry-pagination genesis_attr_adjacent-entry-pagination comments-pagination genesis_attr_comments-pagination entry-comments genesis_attr_entry-comments comment genesis_attr_comment comment-author genesis_attr_comment-author comment-author-link genesis_attr_comment-author-link comment-time genesis_attr_comment-time comment-time-link genesis_attr_comment-time-link comment-content genesis_attr_comment-content author-box genesis_attr_author-box sidebar-primary genesis_attr_sidebar-primary sidebar-secondary genesis_attr_sidebar-secondary site-footer genesis_attr_site-footer…
Read MoreAdd an Extended Store Schema Type to ‘Business Profile’ WordPress Plugin
…add in the new schema child which is ‘Florist’ and add the sub-level ‘__Florist’ Now you can add this via the plugin. The new schema is output in the markup….
Read MoreAdd a Custom Header Image in Genesis Sample Theme
…request. Or if not using the custom header functionality simply put your header/logo in the images directory and name it logo.png. CSS The final thing to do is adjust any…
Read MoreConditional Check if Custom Post Type Posts Are Published
…doesn’t overwrite anything $loop = new WP_Query( $args ); if ( $loop->have_posts() ) : // Test if any CPT posts exist // If CPT posts exist do this $items .=…
Read More