How about just echoing out the needed syntax like that:
echo '<div class="custom-field">' . genesis_get_custom_field('instrument') . '</div>';
You can also just use CSS and style the
header.entry-header {
//your sexy styles goes here
}
Since other elements inside are wrapped in their own elements and styled separately (I mean the actual H1 and meta data) the only altered item will be the bare custom field value.
Related Posts:
- Reference multiple style sheets, clearing styles for permalink page, custom fields for css
- How to display custom field in woocommerce orders in admin panel?
- How to load scripts/styles specific for a page
- Programatically add options to “add new” custom field dropdown
- Get a list of all available fields in the User Profile
- Enabling shortcodes for custom fields
- Get user id from email?
- Add options to featured image
- TinyMCE custom stylesheets for different post types
- Remove “says” from comments
- How to add CSS style sheet dynamically in wordpress
- Assign category using custom field?
- Child Theme Not Overriding Parent Theme
- Function to Download External Images to My Site
- CSS stylesheet not loading
- Editing or filtering the output of the Genesis navigation
- Checked() showing up twice in custom fields
- How to use max and min values of custom fields
- Register and enqueue style.css custom theme
- Multiple CSS body classes to specific page I.D.’s – is this possible?
- Child Theme files – what is needed?
- How do I add Bootstrap and LESS to my migrated WordPress site?
- How to Display Frontend CSS for Administrator only
- Getting the ID of any image for use in functions.php
- How to display custom option field in woocommerce orders in admin panel?
- How to add a slide toggle to the Woocommerce-Layout__Activity-Panel area in the orders admin page
- WordPress Menuing Question :focus
- How to create an input field, and base the output on spreadsheet data? [closed]
- What WordPress function to use to get meta value by using meta keys?
- Change label for registration Fields
- Please Explain the Importing Process of Multiple Stylesheets for Child Themes
- Default Custom Field Value Automatically Update
- WordPress function saves a post twice and updates all posts
- Change CSS for logged in users
- How to stop wordpress from injecting hard-coded style into image attachments with captions
- different style sheet for just one page template
- if statement for wordpress default featured image on single post
- How to get correct value from checked()?
- header_image() with CSS
- Some questions about how proper add 2 CSS file in a WordPress theme?
- problem loading stylesheets to wp_head dynamically
- How to Extend login session times to a Month
- Programmatically add Yoast meta description after post save
- I can’t add CSS with functions.php
- Insert Address fields into function
- Default Nav Highlight
- Problem with adding custom CSS class to image in ACF Photo Gallery plugin [closed]
- Custom styles in Tiny MCE with an external CSS file
- why can’t i add front.css to my frontpage.php
- How to make custom comment fields required
- How add body_class from wp_termmeta
- Using two loops in one WordPress template
- Getting out side of wp root folder from function.php using absolute path
- How do I display a date correctly that is stored in the database as a backwards 8 digit number from Advanced Custom Fields? [closed]
- Sort and display pages with specific custom field (not tag)
- shorthand syntax for custom fields
- Page Template Won’t Load Correct CSS File
- current_page_item is missing inside wp_nav_menu
- define css class in functions.php
- How to Display WooCommerce Product Price in WooCommerce Archive
- Completely Disable WordPress RSS Feeds
- wp_set_object_term via js btn frontend
- Advanced method to control cache of enqueued style/script
- Combine page types and Custom Taxonomy in a functions.php command
- Populate Product Regular Price with a calculated ACF Field Value
- Can we have conditional CSS styling?
- Post content overflows on my mobile phone
- Stylesheet does not load despite functions.php
- Remove clickable Link of WordPress Site Logo from Woocommerce Single Product page
- How do I make a custom “Read More Blogs” button for my blog page
- Help using ShortCodes to style whole chunks of the post
- How Can I Concatenate A String With One Of My Custom Field Value Before Saving The Post?
- CSS disabled after getting rid of emoji
- Create New User Custom Field not Saving
- Woocommerce – Switching Price for Category
- Creating a “Related Meta” type field?
- Hide empty custom field
- Adding a class to the body of an inactive site using multisite
- Conditionally apply css for a specific template part
- How do I dequeue a Stylesheet, stored in an ‘Assets’ folder?
- Author Page User id in functions.php for non login user
- How to automatically add custom classes to headings in content area
- How to echo the translated custom field?
- How to add function to custom fields when page/post has a password?
- How to exclude posts with empty and non-existent relational custom field with meta_query?
- How to add meta fields to custom taxonomy add/edit page?
- Define an extra field for all pages (with no plugin?)
- update_post_meta not working in function
- Adding custom field in menu options [duplicate]
- Changing the color of post title [closed]
- Preventing PHP Execution in Parent Theme
- Random text changing to weird icons in both admin & front end
- Using array page name together with page id to deregister script
- get USER ID in functions.php using user_register action
- How can I append and prepend something to all post hyperlinks without using ::before or ::after? PHP hook solution?
- Image width issue in IE [closed]
- How do I make my child theme’s CSS update when I save it?
- Why don’t ‘wp_nav_menu’ CSS classes work until a menu is created?
- wp_head not injecting css
- Change Post status based on custom field date +1 day