• Hello,

    I’ve had success in setting up my posts page to look how I want it, using the “full content” option, but I would like to disable to title link. Each post is fully displayed using the show posts plugin so I don’t want the user to be able to click through to a single post page.

    (I tried searching the help for this topic, but no luck)

    Hope you can help,
    Clinton

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support Elvin

    (@ejcabquina)

    Thread Starter cisfor

    (@cisfor)

    Hi,

    Thank you so much – that worked like a treat. I’m a newbie, so I had to use a plugin to add php code snippet – I guess there’s a better way to do this?

    Thread Starter cisfor

    (@cisfor)

    Hi again,

    I actually realised that I also want to disable the category link (in my example “OUR NEWS” is a link). I would like it to display, but not be clickable. Would you be able to help me out with that as well?

    (thank you so much for helping me)

    Plugin Support Elvin

    (@ejcabquina)

    Code Snippet plugin is great. It’s fine if that’s what you want to use.

    As for removing the category links, try this snippet:

    add_filter( 'wpsp_terms_output',function($settings){
    	global $post;
    		$opties = wp_get_post_terms($post->ID, 'category', array("fields" => "names"));
    		if (count($opties) > 0)
    		{
    			echo implode(', ', $opties);
    		}
    },15, 1);
    Thread Starter cisfor

    (@cisfor)

    You’re the best! thank you so much for your help. Everything working perfectly now. Have a great weekend!

    Plugin Support Elvin

    (@ejcabquina)

    No problem. Glad you got it sorted. 🙂

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Disable Title Link’ is closed to new replies.