This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Schema.org Structure | |
WebPage | |
├── BreadCrumb | |
├── Product | |
│ ├── Brand | |
│ ├── AggregateRating | |
│ ├── Offer | |
│ │ └── Organization | |
│ ├── Review |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
if( function_exists('acf_add_local_field_group') ): | |
acf_add_local_field_group(array ( | |
'key' => 'acf_product_options', | |
'title' => 'Product Options', | |
'fields' => array ( | |
array ( | |
'key' => 'acf_product_options_tabbedcontent_label', | |
'label' => 'Tabbed Content', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//* Register Header Right Inner Primary sidebar | |
genesis_register_sidebar( array( | |
'id' => 'header-right-inner', | |
'name' => __( 'Header Right Inner', 'your-theme-slug' ), | |
'description' => __( 'This is the header right inner sidebar.', 'your-theme-slug' ), | |
) ); | |
//* Show Header Right Inner widget area in Header Right location on all pages other than homepage | |
add_action( 'genesis_before_header', 'sk_replace_header_right_sidebar' ); | |
function sk_replace_header_right_sidebar() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
Add back Schema.org/blogPosting microdata to post entries. | |
Replace all instances of "themedemo" with something unique to your site. | |
User input is required in the last function. Be sure to fill these fields in with your own information. | |
Instances where you need to fill in information will be marked with a comment that indicates so. | |
*/ |