widgets.php 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. <?php
  2. /**
  3. * This file adds all the widget spaces to the Captivating theme.
  4. *
  5. * @package Captivating
  6. * @link http://restored316designs.com/themes
  7. * @author Lauren Gaige // Restored 316 LLC
  8. * @copyright Copyright (c) 2015, Restored 316 LLC, Released 08/09/2017
  9. * @license GPL-2.0+
  10. */
  11. //* Register widget areas
  12. //* Home Page Widgets
  13. genesis_register_sidebar( array(
  14. 'id' => 'home-featured',
  15. 'name' => __( 'Home Featured', 'captivating' ),
  16. 'description' => __( 'This is the featured section on the home page that extends across the page.', 'captivating' ),
  17. ) );
  18. genesis_register_sidebar( array(
  19. 'id' => 'home-above-content',
  20. 'name' => __( 'Home Above Content', 'captivating' ),
  21. 'description' => __( 'This is the space that appears immediately above the blog content on the home page.', 'captivating' ),
  22. ) );
  23. genesis_register_sidebar( array(
  24. 'id' => 'home-below-content',
  25. 'name' => __( 'Home Below Content', 'captivating' ),
  26. 'description' => __( 'This is the space that appears immediately below the blog content on the home page.', 'captivating' ),
  27. ) );
  28. //* Navigation Widgets
  29. genesis_register_sidebar( array(
  30. 'id' => 'announcement-widget',
  31. 'name' => __( 'Announcements', 'captivating' ),
  32. 'description' => __( 'This is the section at the very top of your site for special announcements.', 'captivating' ),
  33. ) );
  34. genesis_register_sidebar( array(
  35. 'id' => 'nav-social-menu',
  36. 'name' => __( 'Nav Social Menu', 'captivating' ),
  37. 'description' => __( 'This is the social media section that appears in the menu above the header.', 'captivating' ),
  38. ) );
  39. //* Other Widgets
  40. genesis_register_sidebar( array(
  41. 'id' => 'site-wide-cta',
  42. 'name' => __( 'Site Wide CTA', 'captivating' ),
  43. 'description' => __( 'This widget space appears on the home page under the Home Featured section as well as above the footer on all other pages.', 'captivating' ),
  44. ) );
  45. genesis_register_sidebar( array(
  46. 'id' => 'category-index',
  47. 'name' => __( 'Category Index', 'captivating' ),
  48. 'description' => __( 'This widget area that appears on the Category Index page when using the Category Index page template.', 'captivating' ),
  49. ) );
  50. genesis_register_sidebar( array(
  51. 'id' => 'above-blog-content',
  52. 'name' => __( 'Above Blog Content', 'captivating' ),
  53. 'description' => __( 'This is the above blog content section of the custom blog page template.', 'captivating' ),
  54. ) );
  55. //* Footer Widgets
  56. genesis_register_sidebar( array(
  57. 'id' => 'widget-below-footer',
  58. 'name' => __( 'Footer Instagram Widget', 'captivating' ),
  59. 'description' => __( 'This widget area appears below the footer.', 'captivating' ),
  60. ) );