Disabling link on post title

Community Forums Forums General Discussion Disabling link on post title

This topic is: resolved

This topic contains 18 replies, has 3 voices, and was last updated by  benjeeno 1 year ago.

Viewing 15 posts - 1 through 15 (of 19 total)
  • Author
    Posts
  • #32122

    benjeeno
    Participant
    Post count: 248

    Is it possible to disable the post title link so that it doesn’t link to anything. How would this be done if possible?

    I want to created a post but not have it link to its own post page.

    #32128

    Susan
    Moderator
    Post count: 7513

    I am assuming you are not talking about something in a featured post/page area (because I would offer another suggestion for that.)

     

    To disable a link clicking to the post – Put the post in edit mode, then scroll down to Custom Redirect URI and place the URL of another page on your site in that spot.


    Susan @ Graphically Designing I’d love to customize your website! I tweet!
    I’ve taken up the challenge! – help me answer some of the unanswered posts

    #32130

    benjeeno
    Participant
    Post count: 248

    I don’t follow what you are saying. I don’t even see a Custom Redirect URI area anywhere when I put a post in edit mode.

    Ok, so the Blog page where the post show up I want those Title links to NOT go to the individual blog post. I want to be able to add a new post and have it show up on the Blog page with full content showing, but have the Title of each blog post to not link to each post’s page.

    #32138

    Susan
    Moderator
    Post count: 7513

    Screenshot here showing Custom Redirect URI


    Susan @ Graphically Designing I’d love to customize your website! I tweet!
    I’ve taken up the challenge! – help me answer some of the unanswered posts

    #32141

    benjeeno
    Participant
    Post count: 248

    I’m using SEO by Yoast, is that the same as a 301 redirect?

    #32142

    Susan
    Moderator
    Post count: 7513

    I haven’t used SEO by Yoast myself, so I couldn’t address what that does, but the custom redirect URI is a 301 redirect.


    Susan @ Graphically Designing I’d love to customize your website! I tweet!
    I’ve taken up the challenge! – help me answer some of the unanswered posts

    #32143

    benjeeno
    Participant
    Post count: 248

    Ok cool, Yoast has it, it is just in a tabbed UI on each page. Maybe that will a solution for me.

    #32144

    Susan
    Moderator
    Post count: 7513

    Great!  Let me know if you have any other questions!


    Susan @ Graphically Designing I’d love to customize your website! I tweet!
    I’ve taken up the challenge! – help me answer some of the unanswered posts

    #32320

    benjeeno
    Participant
    Post count: 248

    Well I think you showed me something different than what I wanted. I want to disable the post title link. The is hoverable and links to the page for that individual post. I want to disable the link from going to the post’s individual page. In other words, I want to use posts to add new posts on the list of posts but I don’t want any of them to link to their individual pages—I want to disable their title text links.

    #32322

    Susan
    Moderator
    Post count: 7513

    I don’t know of a way to disable the links – the method I suggested was to redirect the link, and it works on my test site.

    Go to my >test site.See the first post; click on the first post and see where it takes you. Yes, it redirects you, but it doesn’t take you to the actual post. I thought that was what you were looking for.


    Susan @ Graphically Designing I’d love to customize your website! I tweet!
    I’ve taken up the challenge! – help me answer some of the unanswered posts

    #32323

    Susan
    Moderator
    Post count: 7513

    Otherwise, try this tutorial:

    http://tutzone.org/make-post-titles-non-clickable-inside/


    Susan @ Graphically Designing I’d love to customize your website! I tweet!
    I’ve taken up the challenge! – help me answer some of the unanswered posts

    #32326

    benjeeno
    Participant
    Post count: 248

    Ok, I get the redirect idea now. I just redirected it to the url it is already on, so the page just recycles to the same url—this does stop the title link from going to the post’s individual page. I’d like to just turn off the title link altogether. I’ll try that with CSS.

    #32334

    benjeeno
    Participant
    Post count: 248

    I should have known better that CSS wouldn’t do anything but change it’s styling.

    There is no single.php page in the Editor for the Child Theme. There is in Genesis but we aren’t supposed to alter the Genesis core, only the Child Theme. I understand that it requires removing the <a href=”"></a> tag and attribute, but I don’t know how to do that without finding it first. So, where would I find that in Agency’s theme?

    #32336

    Susan
    Moderator
    Post count: 7513

    You are right, you aren’t supposed to alter the Genesis core, but you could overwrite the Agency functions.php or home.php, or add something to functions.php to override the core. I’m not a PHP expert, so I’m not sure where to direct you, but let me do a little more research.


    Susan @ Graphically Designing I’d love to customize your website! I tweet!
    I’ve taken up the challenge! – help me answer some of the unanswered posts

    #32338

    benjeeno
    Participant
    Post count: 248

    Well thanks for looking around Susan.

    This post is still unresolved. Anyone know how to disable the <a href=”"></a> for the Post Title?

Viewing 15 posts - 1 through 15 (of 19 total)

The topic ‘Disabling link on post title’ is closed to new replies.