Pagelines post title output

[edit] Please Note

These docs are now deprecated, we have a new Support area located here

Filter

pagelines_post_title_output can be used to over-write or add to the default post title.

Usage


NB: my_pagelines_post_title_output is only meant as an example, a more appropriately named function should be used in actual code.

Example

Let's say you want to display a share bar immediately underneath your post title; and the share bar is written to the screen by the function sharing_display(). This will get it done:

add_filter( 'pagelines_post_title_output', 'custom_sharebar_under_title' );

function custom_sharebar_under_title( $title ) {
	
	if ( function_exists( 'sharing_display' ) )
		return $title . sharing_display();
	
	return $title;
}

Source File

pagelines_post_title_output is defined in pagelines_get_post_title() which is located in includes/class.posts.php