> <?php wp_title(); ?> __( 'Works great for quickly viewing how BluePrint-Q Tones affect individual HTML elements.', 'bpq' ), 'delimiter' => ' · ', 'headline' => __( 'BluePrint-Q Super Preview', 'bpq' ), 'is_dismissable' => false ); // Header. Note: This area is trimmed down quite a bit from the original header template. echo ''. '
'. tag_alarm( $alarm_args ). '
'; // The samples. echo '
'. '
'. '
'. '
'. sample_typography(). sample_text_adornments(). sample_tables(). '
'. '
'. sample_navigation(). sample_buttons(). sample_panels(). sample_overlays(). '
'. '
'. '
'. '
'. sample_form_controls(). sample_alerts(). '
'. '
'. sample_marquees(). '
'. '
'. '
'. '
'. sample_post_formats(). '
'. '
'. sample_progress_bars(). sample_lists(). sample_wells(). sample_images(). '
'. '
'. '
'. '
'. sample_banners(). '
'. '
'. '
'. '
'. sample_stripes(). sample_contact(). '
'. '
'. sample_team_members(). sample_benefits(). sample_testimonials(). '
'. '
'. '
'. '
'. sample_products(). '
'. '
'. '
'. '
'; // Footer. Note: This area is trimmed down a bit from the original footer template. wp_footer(); echo ''; ?> '. '
'. __( 'Alerts', 'bpq' ). '
'. '
'. '
'. '
'. '
'. ''.__( 'Success!', 'bpq' ).' '.__( 'Plain', 'bpq' ). '
'. '
'. '
'. '
'. ''. ''.__( 'Info!', 'bpq' ).' '.__( 'With close', 'bpq' ). '
'. '
'. '
'. '
'. '
'. '
'. ''.__( 'Warning!', 'bpq' ).' '.__( 'With ', 'bpq' ).''.__( 'link', 'bpq' ).''. '
'. '
'. '
'. '
'. ''. ''.__( 'Danger!', 'bpq' ).' '.__( 'With close/', 'bpq' ).''.__( 'link', 'bpq' ).''. '
'. '
'. '
'. '
'. ''; } /** * Generates a sample panel with a banner. * @return string */ function sample_banners() { $content = __( 'Please install/activate the "BluePrint-Q: Banners" plugin to display the preview', 'bpq' ); if ( is_plugin_active( 'bpq.banners/bpq.banners.php' ) ) { $content = '
'. '
'. '
'. do_shortcode( '[bpq_banner title="'.__( 'Left: heading #1', 'bpq' ).'" heading_size="h1" align="ml"]' ). do_shortcode( '[bpq_banner title="'.__( 'Left: heading #2', 'bpq' ).'" heading_size="h2" align="ml"]' ). '
'. '
'. do_shortcode( '[bpq_banner title="'.__( 'Center: heading #3', 'bpq' ).'" heading_size="h3" align="mc"]' ). do_shortcode( '[bpq_banner title="'.__( 'Center: heading #4', 'bpq' ).'" heading_size="h4" align="mc"]' ). '
'. '
'. do_shortcode( '[bpq_banner title="'.__( 'Right: heading #5', 'bpq' ).'" heading_size="h5" align="mr"]' ). do_shortcode( '[bpq_banner title="'.__( 'Right: heading #6', 'bpq' ).'" heading_size="h6" align="mr"]' ). '
'. '
'. '
'; } return '
'. '
'. __( 'Banners', 'bpq' ). '
'. '
'. $content. '
'. '
'; } /** * Generates a sample panel with a benefit. * @return string */ function sample_benefits() { $content = __( 'Please install/activate the "BluePrint-Q: Benefits" plugin to display the preview', 'bpq' ); if ( is_plugin_active( 'bpq.benefits/bpq.benefits.php' ) ) { $content = '
'. tag_benefit( array ( 'desc' => __( 'This is a benefit description.', 'bpq' ), 'icon' => '', 'title' => __( 'Benefit title', 'bpq' ), )). '
'; } return '
'. '
'. __( 'Benefits', 'bpq' ). '
'. '
'. $content. '
'. '
'; } /** * Generates a sample panel with various buttons. * @return string */ function sample_buttons() { return '
'. '
'. __( 'Buttons', 'bpq' ). '
'. '
'. '

'. ''. ' '. ''. ' '. ''. ' '. ''. ' '. ''. ' '. ''. ''. '

'. '
'. '
'. '
'. '

'. ''. ' '. ''. '

'. '

'. '

'. '

'. '
'. '
'. '

'. ' '.__( 'Icon', 'bpq' ).''. ' '. ''. ' '. ''. '

'. '

'. ''. ' '. ''. ' '. ''. '

'. '
'. '
'. '

'. ''. '

'. '
'. '
'; } /** * Generates a sample panel with contact-related elements, largely from the Contact Form 7 plugin. * @return string */ function sample_contact() { $content = __( 'Please install/activate the "Contact Form 7" plugin to display the preview', 'bpq' ); if ( is_plugin_active( 'contact-form-7/wp-contact-form-7.php' ) ) { $content = '
'. '
'. '
'. // Result messages. ''. ''. ''. // Tip messages. ''. ' '. __( 'Tip Message — typically appears next to invalid data.', 'bpq' ). ''. '
'. '
'. '
'; } return '
'. '
'. __( 'Contact', 'bpq' ). '
'. '
'. $content. '
'. '
'; } /** * Generates a sample panel with inputs, selects, etc. * @return string */ function sample_form_controls() { return '
'. '
'. __( 'Form elements', 'bpq' ). '
'. '
'. '
'. '
'. ''. '
'. ''. '
'. ''. '
'. '
'. ''. ''. '
'. '
'. ''. '
'. ''. '
'. ''. '
'. ''. '
'. '
'. '
'. ''. ''. ''. '
'. '
'. ''. ''. ''. '
'. '
'. ''. ''. ''. '
'. '
'. '
'. ''. '
'. '
'. ''. '
'. '
'. ''. '
'. '
'. ''. '
'. ''. '
'. '
'. '
'. '
'; } /** * Generates a sample panel with images. * @return string */ function sample_images() { return '
'. '
'. __( 'Images', 'bpq' ). '
'. '
'. '
'. '
'. ''. '
'.__( 'Regular', 'bpq' ).'
'. '
'. '
'. ''. '
'.__( 'As a link', 'bpq' ).'
'. '
'. '
'. '
'. '
'. '
'. '
    '. '
  • '. ''. ''. ''. '
    '. __( 'As a media object', 'bpq' ). '
    '. '
  • '. '
'. '
'. '
'. ''. '
'.__( 'Rounded border', 'bpq' ).'
'. '
'. '
'. '
'. '
'. '
'. ''. '
'.__( 'Circle border', 'bpq' ).'
'. '
'. '
'. ''. '
'.__( 'Thumbnail border', 'bpq' ).'
'. '
'. '
'. '
'. '
'; } /** * Generates a sample panel with a number of different listings. * @return string */ function sample_lists() { return '
'. '
'. __( 'Lists', 'bpq' ). '
'. '
'. '
'. '
'. '
    '. '
  • '.__( 'Unordered list', 'bpq' ).'
  • '. '
  • '.__( 'Item A', 'bpq' ).'
  • '. '
      '. '
    • '.__( 'Item A1', 'bpq' ).'
    • '. '
    • '.__( 'Item A2', 'bpq' ).'
    • '. '
    '. '
  • '.__( 'Item B', 'bpq' ).'
  • '. '
  • '.__( 'Item C', 'bpq' ).'
  • '. '
'. '
'. '
    '. '
  1. '.__( 'Ordered list', 'bpq' ).'
  2. '. '
  3. '.__( 'Item A', 'bpq' ).'
  4. '. '
      '. '
    • '.__( 'Item A1', 'bpq' ).'
    • '. '
    • '.__( 'Item A2', 'bpq' ).'
    • '. '
    '. '
  5. '.__( 'Item B', 'bpq' ).'
  6. '. '
  7. '.__( 'Item C', 'bpq' ).'
  8. '. '
'. '
'. ''. '
'. '
'. '
'; } /** * Generates a sample panel with various marquee-related components. * @return string */ function sample_marquees() { return '
'. '
'. __( 'Marquees', 'bpq' ). '
'. '
'. ''. ''. '
'. '

'.__( 'Jumbotron', 'bpq' ).'

'. '

'.__( 'Example paragraph text in jumbotron. ', 'bpq' ).\ski\string::truncate( \ski\string::lorem(), 19, '' ).'

'. '

'.__( 'Example button in jumbotron', 'bpq' ).'

'. '
'. '
'. '
'; } /** * Generates a sample panel with navigation-related controls. * @return string */ function sample_navigation() { // OPTION: Scheme $opt_scheme = get_theme_mod( 'bpq_opt_navigation_scheme', 'tone' ); return '
'. '
'. __( 'Navigation', 'bpq' ). '
'. '
'. ''. '
'. ''. '
'. ''. '
'. '
'; } /** * Generates a sample panel with a tooltips, overlays, etc. * @return string */ function sample_overlays() { // Note: The forced styling is to make tooltips take up space and display, // which is the opposite of their typical function, but good for // demonstrating in Super Preview. $style = 'display:inline-block;opacity:1.0;position:relative;margin:10px'; $content = '
'. '
'. '
'. '
    '. '
  • '. ''. '
  • '. '
  • '. ''. '
  • '. '
  • '. ''. '
  • '. '
  • '. ''. '
  • '. '
'. '
'. '
'. '
    '. ''. '
    '. '
    '. '

    '.__( 'Popover Left', 'bpq' ).'

    '. '
    '.__( 'Sample text', 'bpq' ).'
    '. '
    '. ''. '
  • '. '
    '. '
    '. '

    '.__( 'Popover Top', 'bpq' ).'

    '. '
    '.__( 'Sample text', 'bpq' ).'
    '. '
    '. '
  • '. ''. '
    '. '
    '. '

    '.__( 'Popover Bottom', 'bpq' ).'

    '. '
    '.__( 'Sample text', 'bpq' ).'
    '. '
    '. ''. ''. '
    '. '
    '. '

    '.__( 'Popover Right', 'bpq' ).'

    '. '
    '.__( 'Sample text', 'bpq' ).'
    '. '
    '. ''. '
'. '
'. '
'. '
'; return '
'. '
'. __( 'Overlays', 'bpq' ). '
'. '
'. $content. '
'. '
'; } /** * Generates a sample panel with sample panels! * @return string */ function sample_panels() { return '
'. '
'. __( 'Panels', 'bpq' ). '
'. '
'. '
'. '
'. '
'. '
'.__( 'Panel', 'bpq' ).'
'. '
'. __( 'With embedded table', 'bpq' ). '
'. tag_table( 'table table-condensed', __( 'Table', 'bpq' ), 3 ). ''. '
'. '
'. '
'. '
'. '
'.__( 'Primary', 'bpq' ).'
'. '
'. __( 'With embedded list group', 'bpq' ). '
'. ''. ''. '
'. '
'. '
'. '
'. '
'. '
'. '
'.__( 'Success', 'bpq' ).'
'. '
'.__( 'Body', 'bpq' ).'
'. ''. '
'. '
'. '
'. '
'. '
'.__( 'Info', 'bpq' ).'
'. '
'.__( 'Body', 'bpq' ).'
'. ''. '
'. '
'. '
'. '
'. '
'.__( 'Warning', 'bpq' ).'
'. '
'.__( 'Body', 'bpq' ).'
'. ''. '
'. '
'. '
'. '
'. '
'.__( 'Danger', 'bpq' ).'
'. '
'.__( 'Body', 'bpq' ).'
'. ''. '
'. '
'. '
'. '
'. '
'; } /** * Generates a sample panel that displays post formats * (e.g. status, link, aside, etc). * @return string */ function sample_post_formats() { global $post, $preview; ob_start(); echo '
'. '
'. __( 'Post formats', 'bpq' ). '
'. '
'; // Standard. $post->post_title = __( 'Standard post format example', 'bpq' ); $preview->post_content = '

'.\ski\string::lorem().'

'; $preview->image = 'http://lorempixel.com/150/150'; $preview->post_thumbnail = ''; get_template_part( 'content', '' ); // Aside. $preview->image = 'http://lorempixel.com/800/200'; $preview->post_content = '

'. __( 'Aside post format example. It has '. 'no title and no post metadata. ', 'bpq' ). \ski\string::lorem(). '

'; get_template_part( 'content', 'aside' ); // Chat. $post->post_title = __( 'Chat post format example', 'bpq' ); $preview->post_content = '

'.__( 'Abbott: Strange as it may seem, they give ball players nowadays very peculiar names.', 'bpq' ).'

'. '

'.__( 'Costello: Funny names?', 'bpq' ).'

'. '

'.__( 'Abbott: Nicknames, nicknames. Now, on the St. Louis team we have Who\'s on first, What\'s on second, I Don\'t Know is on third--', 'bpq' ).'

'. '

'.__( 'Costello: That\'s what I want to find out. I want you to tell me the names of the fellows on the St. Louis team.', 'bpq' ).'

'; get_template_part( 'content', 'chat' ); // Link. $post->post_title = '

'. __( 'Link post format example. Place the URL '. 'in the content area and the text to display in '. 'the title area', 'bpq' ). '

'; $preview->post_content = '#'; get_template_part( 'content', 'link' ); // Quote. $post->post_title = __( 'Place the author in the title area', 'bpq' ); $preview->post_content = '

'.__( 'Quote post format example.', 'bpq' ).'

'; get_template_part( 'content', 'quote' ); // Status. $post->post_title = __( 'Status post format example', 'bpq' ); $preview->post_content = '

'.__( 'The image to the left is the author\'s avatar.', 'bpq' ).'

'; get_template_part( 'content', 'status' ); echo '
'. '
'; return ob_get_clean(); } /** * Generates a sample panel with product-related elements. * Note: This function displays sample products, but does not emulate in the same manner as * the sample post content section. Thus, whenever a change is made to a product-related * template, that change must be manually reflected here too. * * @return string */ function sample_products() { $content = __( 'Please install/activate the "WooCommerce" plugin to display the preview', 'bpq' ); if ( is_plugin_active( 'woocommerce/woocommerce.php' ) ) { $content = '
'. '
'. // Catalog. '
'. do_shortcode( '[bpq_banner title="'.__( 'Catalog Row', 'bpq' ).'" heading_size="h6" align="ml"]' ). ''. '
'. // Single '
'. do_shortcode( '[bpq_banner title="'.__( 'Single Blurb', 'bpq' ).'" heading_size="h6" align="ml"]' ). // Simple. '
'. ''.__( 'Sale!', 'bpq' ).''. '
'. ''. ''. ''. '
'. ''. 'Image #1'. ''. ''. 'Image #1'. ''. ''. 'Image #1'. ''. '
'. '
'. '
'. '
'. '

'. __( 'This is a Simple Product. The description goes here and here is some filler text for layout accuracy. ', 'bpq' ).\ski\string::truncate( \ski\string::lorem(), 50 ). '

    '. '
  • '.__( 'Bulletpoint #1', 'bpq' ). '
  • '.__( 'Bulletpoint #2', 'bpq' ). '
  • '.__( 'Bulletpoint #3', 'bpq' ). '
'. __( 'More could go here. ', 'bpq' ).\ski\string::truncate( \ski\string::lorem(), 19, '' ). '

'. '
'. ''. '
'. '
'. '
'. '
'. ''. '
'. ''. '
'. '
'. '
'. '

$9.99

'. '
'. '
'. '
'. '
'. '
'. '
'. // Widget Pieces. '
'. do_shortcode( '[bpq_banner title="'.__( 'Widget Pieces', 'bpq' ).'" heading_size="h6" align="ml"]' ). // Variation Filter. '
'. '

'.__( 'Variation Filter', 'bpq' ).'

'. ''. '
'. // Price Filter Slider. '
'. '

'.__( 'Price Filter', 'bpq' ).'

'. '
'. '
'. '
'. '
'. ''. ''. '
'. '
'. '
'. '
'. // Products. ''. // Search Form. ''. '
'. '
'. '
'. // Notice. '
'. '
'. '
'. ''. '
'. '
'. __( 'These product-specific examples do not necessarily reflect changes you may have made to the corresponding product-related templates and/or hooks.', 'bpq' ). '
'. '
'. ''. '
'. '
'. '
'. '
'; } return '
'. '
'. __( 'Products', 'bpq' ). '
'. '
'. $content. '
'. '
'; } /** * Generates a sample panel with progress bars. * @return string */ function sample_progress_bars() { return '
'. '
'. __( 'Progress bars', 'bpq' ). '
'. '
'. '
'. '
'. '
'. '
'. __( 'Basic', 'bpq' ). '
'. '
'. '
'. '
'. '
'. '
'. __( 'Basic w/ stripes', 'bpq' ). '
'. '
'. '
'. '
'. '
'. '
'. '
'. '
'. '
'. __( 'Success', 'bpq' ). '
'. '
'. '
'. '
'. __( 'Info', 'bpq' ). '
'. '
'. '
'. '
'. __( 'Warning', 'bpq' ). '
'. '
'. '
'. '
'. __( 'Danger', 'bpq' ). '
'. '
'. '
'. '
'. '
'. '
'. __( 'Success w/ stripes', 'bpq' ). '
'. '
'. '
'. '
'. __( 'Info w/ stripes', 'bpq' ). '
'. '
'. '
'. '
'. __( 'Warning w/ stripes', 'bpq' ). '
'. '
'. '
'. '
'. __( 'Danger w/ stripes', 'bpq' ). '
'. '
'. '
'. '
'. '
'. '
'. '
'. '
'. '
'. __( 'Active', 'bpq' ). '
'. '
'. '
'. '
'. '
'. '
'. __( 'Stacked', 'bpq' ). '
'. '
'. '
'. '
'. '
'. '
'. '
'. '
'. '
'. '
'; } /** * Generates a sample panel with Visual Composer rows - a.k.a. stripes. * @return string */ function sample_stripes() { $content = __( 'Please install/activate the "BluePrint-Q: Stripes" plugin to display the preview', 'bpq' ); if ( is_plugin_active( 'bpq.stripes/bpq.stripes.php' ) ) { $content = '
'. '
'. tag_stripe( __( 'No Stripe', 'bpq' ), '' ). tag_stripe( __( 'Stripe - No Variant', 'bpq' ), 'stripe stripe-0' ). tag_stripe( __( 'Stripe - Variant #1', 'bpq' ), 'stripe stripe-1' ). tag_stripe( __( 'Stripe - Variant #2 w/ link', 'bpq' ), 'stripe stripe-2' ). tag_stripe( __( 'Stripe - Variant #3 w/ button', 'bpq' ), 'stripe stripe-3' ). tag_stripe( __( 'Stripe - Variant #4 w/ icon ', 'bpq' ), 'stripe stripe-4' ). tag_stripe( __( 'Stripe - Variant #5', 'bpq' ), 'stripe stripe-5' ). '
'. '
'; } return '
'. '
'. __( 'Stripes', 'bpq' ). '
'. '
'. $content. '
'. '
'; } /** * Generates a sample panel various layout components. * @return string */ function sample_tables() { return '
'. '
'. __( 'Tables', 'bpq' ). '
'. '
'. '
'. '
'. tag_table( 'table table-striped', __( 'Table/stripes', 'bpq' ), 4 ). '
'. '
'. tag_table( 'table table-bordered table-hover', __( 'Borders/hover', 'bpq' ), 4 ). '
'. '
'. tag_table( 'table table-condensed', __( 'Thin/context', 'bpq' ), 5, array( 'active', 'success', 'info', 'warning', 'danger' ), array( __( 'Active', 'bpq' ), __( 'Success', 'bpq' ), __( 'Info', 'bpq' ), __( 'Warning', 'bpq' ), __( 'Danger', 'bpq' ) ) ). '
'. '
'. '
'. '
'; } /** * Generates a sample panel with a team member. * @return string */ function sample_team_members() { $content = __( 'Please install/activate the "BluePrint-Q: Team" plugin to display the preview', 'bpq' ); if ( is_plugin_active( 'bpq.team/bpq.team.php' ) ) { $content = '
'. '
'. '
'. '
'. tag_team( array ( 'align' => 'right', 'avatar' => 'http://lorempixel.com/150/150/people', 'desc' => __( 'This team member is right-aligned with a divider and filler text. ', 'bpq' ).\ski\string::lorem(), 'divider' => true, 'name' => __( 'Jill Smith', 'bpq' ), 'title' => __( 'Executive Account Manager', 'bpq' ), )). '
'. '
'. '
'. '
'. '
'. '
'. tag_team( array ( 'align' => 'left', 'avatar' => 'http://lorempixel.com/150/150/people', 'desc' => __( 'This team member is left-aligned without a divider.', 'bpq' ), 'divider' => false, 'name' => __( 'Snappy McPhee', 'bpq' ), 'title' => __( 'Crooked Copper', 'bpq' ), )). '
'. '
'. '
'. '
'; } return '
'. '
'. __( 'Team members', 'bpq' ). '
'. '
'. $content. '
'. '
'; } /** * Generates a sample panel with a testimonial. * @return string */ function sample_testimonials() { $content = __( 'Please install/activate the "BluePrint-Q: Testimonials" plugin to display the preview', 'bpq' ); if ( is_plugin_active( 'bpq.testimonials/bpq.testimonials.php' ) ) { $content = '
'. '
'. '
'. '
'. tag_testimonial( array ( 'align' => 'left', 'author' => __( 'Bob Joe Smith, CEO of company ABC', 'bpq' ), 'image' => 'http://lorempixel.com/100/100/people', 'quote' => __( 'This testimonial is left-aligned with an image and a lot of filler-text for the quote. ', 'bpq' ).\ski\string::lorem(), )). '
'. '
'. '
'. '
'. '
'. '
'. tag_testimonial( array ( 'align' => 'right', 'author' => __( 'Sharpy Sharpstein, Manager at Pickles & Dill', 'bpq' ), 'image' => 'http://lorempixel.com/100/100/people', 'quote' => __( 'This testimonial is right-aligned with an image.', 'bpq' ), )). '
'. '
'. '
'. '
'. '
'. '
'. tag_testimonial( array ( 'align' => 'left', 'author' => __( 'Mandy Ming, CFO of company ABC', 'bpq' ), 'image' => '', 'quote' => __( 'This testimonial is left-aligned without an image.', 'bpq' ), )). '
'. '
'. '
'. '
'. tag_testimonial( array ( 'align' => 'right', 'author' => __( 'Soda Popinski, Boxer Extraordinaire', 'bpq' ), 'image' => '', 'quote' => __( 'This testimonial is right-aligned without an image.', 'bpq' ), )). '
'. '
'. '
'. '
'; } return '
'. '
'. __( 'Testimonials', 'bpq' ). '
'. '
'. $content. '
'. '
'; } /** * Generates a sample panel with text adornments. * @return string */ function sample_text_adornments() { return '
'. '
'. __( 'Text adornments', 'bpq' ). '
'. '
'. '
'. '
'. '
    '. '
  • '.__( 'Small', 'bpq' ).'

  • '. '
  • '.__( 'Bold', 'bpq' ).'

  • '. '
  • '.__( 'Italics', 'bpq' ).'

  • '. '
  • '.__( 'Abbr', 'bpq' ).'

  • '. '
  • '.__( 'Init', 'bpq' ).'

  • '. '
  • '.__( 'Code', 'bpq' ).'

  • '. '
  • '.__( 'Keys', 'bpq' ).'

  • '. '
  • '.__( 'Badge', 'bpq' ).'

  • '. '
'. '
'. '
'. '
'. '
'. ''.__( 'Label', 'bpq' ).''. ' '. ''.__( 'Primary', 'bpq' ).''. ' '. ''.__( 'Success', 'bpq' ).''. ' '. ''.__( 'Info', 'bpq' ).''. ' '. ''.__( 'Warning', 'bpq' ).''. ' '. ''.__( 'Danger', 'bpq' ).''. '
'. '
'. '
'. '
'. '
'. '
    '. '
  • '.__( 'Text', 'bpq' ).'

  • '. '
  • '.__( 'Muted', 'bpq' ).'

  • '. '
  • '.__( 'Success', 'bpq' ).'

  • '. '
  • '.__( 'Info', 'bpq' ).'

  • '. '
  • '.__( 'Warning', 'bpq' ).'

  • '. '
  • '.__( 'Danger', 'bpq' ).'

  • '. '
'. '
'. '
'. '
'. '
'. '
    '. '
  • '.__( 'Background', 'bpq' ).'

  • '. '
  • '.__( 'Success', 'bpq' ).'

  • '. '
  • '.__( 'Info', 'bpq' ).'

  • '. '
  • '.__( 'Warning', 'bpq' ).'

  • '. '
  • '.__( 'Danger', 'bpq' ).'

  • '. '
'. '
'. '
'. '
'. '
'. '
'. '

'.__( 'Blockquote with source', 'bpq' ).'

'. '
'.__( 'Source', 'bpq' ).'
'. '
'. '
'. '
'. '
'. '

'.__( 'Blockquote reversed', 'bpq' ).'

'. '
'. '
'. '
'. '
'.__( 'Basic, pre-formatted block', 'bpq' ).'
'. '
'. '
'; } /** * Generates a sample panel with headings/body text. * @return string */ function sample_typography() { return '
'. '
'. __( 'Headings and body copy', 'bpq' ). '
'. '
'. sprintf( '

%s %s

', __( 'Header #1', 'bpq' ), __( '/ small version', 'bpq' ) ). sprintf( '

%s %s

', __( 'Header #2', 'bpq' ), __( '/ small version', 'bpq' ) ). sprintf( '

%s %s

', __( 'Header #3', 'bpq' ), __( '/ small version', 'bpq' ) ). sprintf( '

%s %s

', __( 'Header #4', 'bpq' ), __( '/ small version', 'bpq' ) ). sprintf( '
%s %s
', __( 'Header #5', 'bpq' ), __( '/ small version', 'bpq' ) ). sprintf( '
%s %s
', __( 'Header #6', 'bpq' ), __( '/ small version', 'bpq' ) ). sprintf( '

%s %s %s

', __( 'Body copy with some filler text:', 'bpq' ), \ski\string::lorem(), __( '/ small version', 'bpq' ) ). sprintf( '

%s

', __( 'Link example', 'bpq' ) ). '
'. sprintf( '

  %s

', __( 'Skip link example', 'bpq' ), __( '* Normally, skip links appear when focused with the tab key.', 'bpq' ) ). '
'. '
'; } /** * Generates a sample panel with wells. * @return string */ function sample_wells() { return '
'. '
'. __( 'Wells', 'bpq' ). '
'. '
'. '
'. '
'. '
'.__( 'Large well', 'bpq' ).'
'. '
'. '
'. '
'.__( 'Well', 'bpq' ).'
'. '
'. '
'. '
'.__( 'Small well', 'bpq' ).'
'. '
'. '
'. '
'. '
'; } /** * Since there are many different kinds of tables and the * markup is complex, this function acts as a shortcut. * * @param string $class * @param string $title * @param integer $rows * @param array $row_classes * @param array $row_titles * @return string */ function tag_table( $class, $title, $rows = 7, $row_classes = array(), $row_titles = array() ) { // Prepare the table. $markup = ''. ''. ''. ''. ''. ''. ''. ''. ''; for( $i = 0; $i < $rows; $i++ ) { $row_class = isset( $row_classes[$i] ) ? $row_classes[$i] : ''; $row_title = isset( $row_titles[$i] ) ? $row_titles[$i] : ( __( 'Row #', 'bpq' ).$i ); $markup .= ''. ''. ''. ''. ''; } $markup .= ''. ''. ''. ''. ''. ''. ''. ''. '
'.$title.''.__( 'C0', 'bpq' ).''.__( 'C1', 'bpq' ).'
'.$row_title.''.__( 'C0R', 'bpq' ).$i.''.__( 'C1R', 'bpq' ).$i.'
'.__( 'Footer', 'bpq' ).''.__( 'T0', 'bpq' ).''.__( 'T1', 'bpq' ).'
'; // Return the table. return $markup; } /** * The markup for a Visual Composer row is a bit involved - * so this function acts as a shortcut. * * @param string $content * @param string $class * @return string */ function tag_stripe( $content, $class = '' ) { return '
'. '
'. '
'. '
'. '
'. '
'. '
'. '

'. $content. '

'. '
'. '
'. '
'. '
'. '
'. '
'; } ?>