Jump to content
Sign in to follow this  
david_hartman

Disable Post Title Links?

Recommended Posts

david_hartman

Hi, I would like to set the blog feed on our site so that the post title does not click through to full post page - and just keep the blog feed as it is on this page without clicking through.. http://wpdev.sontagfilm.org/category/news/ Is there a simple way to do this? Thank You, David

Share this post


Link to post
Share on other sites
ricardo

Hi David! I think a filter might do the trick (search the forum for add_filter). You have to add a conditional statement to check if it's in the right category page? otherwise you'll loose links on titles all over the site. Ricardo

Share this post


Link to post
Share on other sites
david_hartman

Thanks Ricardo, On another thread I picked up the following code and used it in the functions.php of the base theme.. but its not having any effect..

add_filter ('pagelines_post_title_output','no_link_title');
	
	function no_link_title($title){
	get_the_title();
	return $title;
	}

Suggestions? Thank You, David

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×