• 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

Executive Pro: Change Featured Page Widget Title Tags

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 › Executive Pro: Change Featured Page Widget Title Tags

This topic is: not resolved

Tagged: change title tags on featured page widget

  • This topic has 2 replies, 3 voices, and was last updated 2 years, 4 months ago by Anita.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • March 17, 2020 at 10:56 am #497384
    ccarere
    Participant

    Hello,

    I'm using the featured page widget to get a service page to appear on the home page. The title shows up with an h4 tag and I would like to change it to an h2.

    Any ideas?

    Thank you,

    Christian

    https://acsdentrepair.ca
    March 17, 2020 at 11:47 am #497386
    Victor Font
    Moderator

    The only way to change the featured post widget title to a h2 is to remove accessibility support for headings. With handicapped accessibility enabled, the heading is h4. Disabling handicapped accessibility for headings renders the tags as h2.

    Accessibility is enabled at line 43 in Executive Pro's functions.php file. You may want to look at using WordPress conditionals to selectively remove accessibility support for headings. This way you won't deactivate accessibility for the entire site, just the home page. I suggest is_widget_active() in combination with is_front_page() and is_home(). https://codex.wordpress.org/Conditional_Tags#Is_Widget_Active


    Regards,

    Victor
    https://victorfont.com/
    Call us toll free: 844-VIC-FONT (842-3668)
    Have you requested your free website audit yet?

    March 18, 2020 at 9:39 am #497405
    Anita
    Keymaster

    @braddalton has a tutorial on this.


    Love coffee, chocolate and my Bella!

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 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

© 2022 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