Joshua David Nelson

Bullshit Free WordPress Development

  • Services
  • Code
  • About
  • Contact

Remove Genesis Entry Title Link

Customize the entry title - in this case, removing the links and changing the header type.

<?php
/**
*
* Remove Links from Post Titles in Genesis
*
* @author Joshua Nelson
* @link http://joshuadnelson.com
*
*/
add_filter( 'genesis_post_title_output', 'jdn_custom_post_title' );
function jdn_custom_post_title( $title ) {
if( get_post_type( get_the_ID() ) == 'post' ) {
$post_title = get_the_title( get_the_ID() );
$title = '<h3 class="entry-title" itemprop="headline">' . $post_title . '</h3>';
}
return $title;
}
view raw remove-genesis-entry-title-link.php hosted with ❤ by GitHub

Source: https://gist.github.com/joshuadavidnelson/7443705

Tags: Genesis, Post Title

Previous Code:
Force Genesis Post SEO Settings
Back to the Code Snippets
Next Code:
Remove Default WordPress Taxonomies
  • Twitter
  • RSS Feed URL

About Me

I'm a WordPress Engineer. I build sleek, custom websites with WordPress and Genesis.

See my services and my recent work.

Contact me to get your project started.

Gravity Forms Plugin for WordPress Fastest WordPress Hosting

Recent Posts

  • Using Font Awesome Icons for WooCommerce Grid / List Toggle
  • Disable Blog: WordPress Gone Blog-less
  • Category (Taxonomy) Dropdown Filtered By Post Type
  • Weather in WordPress with Dark Sky
  • Fixing Your Deprecated Widget Constructors in WordPress 4.3
  • Twitter
  • RSS Feed URL
  • Code Snippets
  • My Plugins
  • Make a Payment

© Joshua David Nelson | Hand-Forged | WordPress + Genesis | Terms of Service | Legal | Contact