Community Forums › Forums › Archived Forums › General Discussion › How to enable links on post titles in posts?
Tagged: Eleven40-Pro, post title
- This topic has 5 replies, 3 voices, and was last updated 10 years, 10 months ago by Gary Jones.
-
AuthorPosts
-
January 15, 2014 at 1:59 pm #85388outsidetheboxMember
Hello,
I'm using eleven40 Pro, but it seems like other Genesis themes display titles in posts as regular text. I'd like post titles in posts work as permalinks, exactly like they do, for example, on the home page,
I've found one thread referring to genesis_link_post_title, but it's about removing links. I've done quite a few mods thanks to the solutions posted in this forum, but I don't have enough skills to pull this one off. Can anybody give me a hand? 🙂
Thanks!
January 15, 2014 at 11:05 pm #85450nutsandboltsMemberAm I understanding correctly that you want the post title on single posts to be a link? So if I'm on domain.com/post-title/, you want the title of that post to link to itself? I'm not sure I'm following the logic on that one.
Andrea Whitmer, Owner/Developer, Nuts and Bolts Media
I provide development and training services for designers • Find me on Twitter and Google+January 19, 2014 at 11:31 am #85899outsidetheboxMemberHi Andrea,
E-mail notification didn't work, so I missed you post. Yes, I want it to link to iteslf. One reason is that it enables you to copy the link text as HTML or BBCode, if you have a browser extension installed.
I have a technical blog, and there's a number of people (myself included) who frequently share links to articles in forums. Say, I'm reading this page and want to post a nice link to your site rather than just an URL. I simply copied the link from your signature using the extension menu and here it is (opens in new tab): Nuts and Bolts Media.
Thanks!
January 19, 2014 at 5:31 pm #85997Gary JonesMemberThat's very reliant on users having that browser extension installed. Why not add something to the top or bottom of a post which shows a URL on HTML or BBCode format? You'll then be avoiding the accessibility (clicking and apparently not going anywhere) and potential SEO issue (link juice wasted by linking back to itself) by doing your suggestion.
If you do want to proceed anyway, then look in genesis_do_post_title(), as that has a genesis_post_title_output filter that you can use to build the wrapping markup.
WordPress Engineer, and key contributor the Genesis Framework | @GaryJ
January 20, 2014 at 6:50 am #86076outsidetheboxMemberHi Gary,
Sometimes you have to do something for a handful of people if they take time to promote your blog. I was thinking of adding HTML/BBCode links separately, but didn't want to expose an additional element the majority of users have no use for.
I didn't take SEO into account, but my old non-Genesis theme had this 'feature', and I don't think it caused any issues, although it's hard to tell for sure.
Thanks for all suggestions. I'll play with the code, but in the end I may abandon the original idea. Sometimes I just get stuck with the 'migrate old features' mindset, and changing the theme helps evaluate their value.
January 20, 2014 at 7:37 am #86087Gary JonesMemberSometimes you have to do something for a handful of people if they take time to promote your blog.
So use something like the Floating Social Bar plugin, or other means to share.
If you consider that a lot of forums now can automatically link URLs, and that WordPress and other CMSs can autolink URLs in post content, then providing specific code for BBcode or HTML seems a little redundant. Anyone else who runs a website will already be familiar with how to copy the URL and turn it into a link.
WordPress Engineer, and key contributor the Genesis Framework | @GaryJ
-
AuthorPosts
- The forum ‘General Discussion’ is closed to new topics and replies.