View delete-genesis-category-title
add_action( 'loop_start', 'remove_titles_all_categories' );
function remove_titles_all_single_posts() {
if ( is_category() ) {
remove_action( 'genesis_entry_header', 'genesis_do_post_title' );
}
}
View delete-genesis-front-page-title
add_action( 'get_header', 'remove_titles_front_page' );
function remove_titles_front_page() {
if ( is_front_page() ) {
remove_action( 'genesis_entry_header', 'genesis_do_post_title' );
}
}
View delete-genesis-home-page-title
add_action( 'get_header', 'remove_titles_home_page' );
function remove_titles_home_page() {
if ( is_home() ) {
remove_action( 'genesis_entry_header', 'genesis_do_post_title' );
}
}
View delete-genesis-specific-post-title
add_action( 'get_header', 'remove_titles_single_posts' );
function remove_titles_single_posts() {
if ( is_single(array('XX', 'XX') ) ) {
remove_action( 'genesis_entry_header', 'genesis_do_post_title' );
}
}
View delete-genesis-specific-page-title
add_action( 'get_header', 'remove_titles_from_pages' );
function remove_titles_from_pages() {
if ( is_page(array('XX', 'XX') ) ) {
remove_action( 'genesis_entry_header', 'genesis_do_post_title' );
}
}
View delete-genesis-post-title
add_action( 'loop_start', 'remove_titles_all_single_posts' );
function remove_titles_all_single_posts() {
if ( is_singular('post') ) {
remove_action( 'genesis_entry_header', 'genesis_do_post_title' );
}
}
View delete-genesis-page-title
add_action( 'get_header', 'remove_titles_all_single_pages' );
function remove_titles_all_single_pages() {
if ( is_singular('page') ) {
remove_action( 'genesis_entry_header', 'genesis_do_post_title' );
}
}
View custom-post-type-as-a-plugin
<?php
/*
Plugin Name: Portfolio Custom Post Type
Plugin URI: https://jordi.info
Version: 1.0
Author: Jordi Garcia Codina
Author URI: https://jordi.info
Description: Add a Portfolio CPT to jordi.info
View custom-post-type
//* Add Portfolio CPT
if ( ! function_exists('Portfolio') ) {
// Register Custom Post Type
function Portfolio() {
$labels = array(
'name' => _x( 'Portfolio', 'Post Type General Name', 'Portfolio' ),
'singular_name' => _x( 'Portfolio', 'Post Type Singular Name', 'Portfolio' ),
'menu_name' => __( 'Portfolio', 'Portfolio' ),
View pricing-table.css
/* Enter Your Custom CSS Here *//* Pricing Table
--------------------------------------------- */
.amount {
font-size: 38px;
text-align: center;
}
.pricing-table {
line-height: 1;
}