Forums

when click Title, would like to go directly into Edit mode (6 posts)

  1. blogmom
    Member
    Posted 4 years ago #

    Instead of having the word "Edit" after each title, or having an icon, I'd like the title itself to link directly into Edit mode. I've tried the following with no success:

    <?php edit_post_link('<?php the_title(); ?>', '', ''); ?>

    I can't get it to work. Can anyone offer some advice?

  2. whooami
    Member
    Posted 4 years ago #

    why would you do that? the title is the link to each post's permalink. Its that way for a reason.

    permalink == permanent link

    its there for other people to be able to find posts they might want to link to.

    Thats got to be one of the oddest suggestions Ive read on here in a while.

    No_ONE sees the edit link but you, do you know that?

  3. DianeV
    Member
    Posted 4 years ago #

    That was my thought. If you turn the title into the Edit link, then anyone not registered and logged in will not see it, and that would include search engines.

  4. whooami
    Member
    Posted 4 years ago #

    well that wasnt exactly my point :) -- it was to let her know that the current edit link isnt visible..

    I just dont see the point in what she wants to do..since the current setup isnt publicly viewable, and changing it breaks something that is like "blog gospel"

    But yeah.. odd.

  5. blogmom
    Member
    Posted 4 years ago #

    Ouch! All these flames hurt!

    alright, I give up, I'll explain. Especially since it seems like whooami's brain is hurting just from the suggestion of this. This is not a public blog. It runs on my local PC only off a USB stick (portable apache, check it out: hxxp://www.apachefriends.org/en/xampp.html). In this case, I'm using WordPress as my personal knowledgebase, to track my work activities. My entries are more like problem tickets, keeping track of the work I do. I couldn't care less about multiple users or search engines, etc. Now, it's entirely possible that after a few days I'll want to go back into an entry and add info to it. Comments are cumbersome for this, and plus they don't seem to be checked during searches. And even if they were, I'd much rather just Edit the original "description". I guess I could "live" in the Admin console for this but I like the format and themes and capabilities of the main site, so was wondering if this was possible.

    So now that I've explained my crazy idea does anyone know a clever way to do this?

  6. DianeV
    Member
    Posted 4 years ago #

    Aw, those aren't flames; flames are truly rude and malicious.

    It seems like the code you posted should work — or something quite like it. I'd just play around with it more.

Topic Closed

This topic has been closed to new replies.

About this Topic