• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Custom Widget Title Modification

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › Design Tips and Tricks › Custom Widget Title Modification

This topic is: not resolved

Tagged: widget_title

  • This topic has 3 replies, 3 voices, and was last updated 9 years, 7 months ago by peterlaz.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • November 8, 2016 at 11:07 am #195908
    peterlaz
    Participant

    Theme : Enterprise Pro
    URL= http://plan2040.com/

    I have created a custom widget area in the functions.php

    genesis_register_sidebar( array(
    'id' => 'custom-widget',
    'name' => __( 'Custom Widget', 'genesis' ),
    'description' => __( 'Custom Widget Area', 'childtheme' ),
    ) );

    add_action( 'genesis_before_content', 'add_genesis_widget_area' );
    function add_genesis_widget_area() {
    genesis_widget_area( 'custom-widget', array(
    'before' => '<div class="custom-widget widget-area">',
    'after' => '</div>',
    ) );

    }

    In the custom widget area, I have moved the recent posts widget into it. I would like to add some social icons (will be using font awesome icons) to the title of the custom widget area.
    How can I do modify my custom widget area title to include the social icons?

    I am modeling my site as how it is done on the site https://apexsecurityinc.com/

    Thanks

    http://plan2040.com/
    November 9, 2016 at 12:07 pm #195956
    William
    Member

    Unfortunately, you can not add HTML inside an a text widget title 🙁


    Genesis Customization Service | Quick fixes whenever you need them ! | Contact me at Fixmysite.com !

    November 9, 2016 at 11:20 pm #195971
    Brad Dalton
    Participant

    1. You can add icons before or after the widget title using CSS

    or

    2. You can filter the text widget title


    Tutorials for StudioPress Themes.

    November 14, 2016 at 4:36 pm #196161
    peterlaz
    Participant

    Thanks for the help.

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘Design Tips and Tricks’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2026 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble