• 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

Styling Post Title

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 › Styling Post Title

This topic is: not resolved

Tagged: genesis_post_title

  • This topic has 3 replies, 2 voices, and was last updated 6 years, 6 months ago by Brad Dalton.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • March 19, 2017 at 1:39 pm #203418
    manavecplan
    Member

    Is there any way to add a span to specific words in a Genesis title?

    Basically, I'm looking for the ability to add HTML to a WP post title.

    Something like this? http://www.nextbigme.com/how-i-built-and-launched-side-project-in-3-days

    http://www.nextbigme.com/how-i-built-and-launched-side-project-in-3-days
    March 19, 2017 at 2:02 pm #203419
    Brad Dalton
    Participant

    Yes, you can filter the post title. There are 2 or 3 filters.

    Look in genesis > lib > structure > post.php

    And you then use the filter with another function which enables you to target any word in the title.


    Tutorials for StudioPress Themes & WooCommerce.

    March 20, 2017 at 3:26 am #203431
    manavecplan
    Member

    Thanks Brad!

    Quick followup question: would that mean that I need a separate function for each post I write?

    March 20, 2017 at 4:06 am #203432
    Brad Dalton
    Participant

    No. You can use 1 filter function

    1. The filter enables you to modify the post title.

    2. Then you need to use another function within the filter which enables you to target the 3rd & 5th words in the title.


    Tutorials for StudioPress Themes & WooCommerce.

  • 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

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