How to Add A Background Video to Your WordPress Site

Background Video

A website with a background video is the cool new thing these days. I'm noticing more and more sites (like Paypal for example) using videos as site backgrounds. Today I decided I'd play around with this new design concept by adding a video background to my own site. I kept it simple by utilizing a WordPress plugin called mb.YTPlayer for background videos. Simple enter a youtube video URL of your choice and the plugin converts the video to a background on your site's homepage. … [Read more...]

StudioPress Releases Genesis 2.1

Genesis 2.1

Today StudioPress released Genesis 2.1 for WordPress. This update for the popular WordPress framework includes: Some theme settings can be adjusted in the Customizer. New Support for Feedblitz as a feed redirection option. Fix preventing unnecessary calls to update server. Fix for a breadcrumb compatibility issue with WordPress SEO. Fix for an IE11 bug in layout selector. New support for RTL in the dashboard for Genesis elements. Many other improvements and bug fixes. Click … [Read more...]

AgentPress Pro WordPress Theme

AgentPress Pro Theme for Genesis by Studiopress

The AgentPress Pro Theme helps real estate agents earn the trust of new clients by providing a professional website solution that showcases both the Realtor as a sales professional and properties currently listed for sale. As a REALTOR you can utilize the power of AgentPress Pro to share your thoughts and professional advice on your local real estate market and direct clients / potential buyers and sellers to the resources they need for both buying an selling a home. This latest release of … [Read more...]

How to Include Subcategory Children in the WordPress is_category() Tag

WordPress Conditional Tags

The WordPress conditional tag is_category does not take into consideration subcategories, so if you need to create a conditional statement that includes both a category and all its child categories, then you'll have to create your own function. Here's an example of a function that will create the conditional WordPress tag  is_cat_or_subcat(). // If is category or subcategory of $cat_id if (!function_exists('is_cat_or_subcat')) { function is_cat_or_subcat($cat_id = 0) { foreach … [Read more...]

How To Conditionally Modify WordPress CSS

WordPress Conditional Tags

Recently someone asked me how to conditionally modify WordPress CSS for specific posts, pages and archives pages.  The following example demonstrates how to accomplish this for WordPress sites using the Genesis Theme Framework. In this example, the following CSS rules will be added to the archive page for category ID 4430. // Conditionally Modify WordPress CSS add_action( 'genesis_before', 'wg_cond_css'); function wg_cond_css() { if (is_category('4430')) { ?> <style … [Read more...]