• I’m not sure if this is the best way to do this, but it seems pretty straightforward.

    Basically, what I want to do is to add some html and text to the bottom of the Create New Post page so that I can easily copy it into my post for certain kinds of posts
    (it would look like this <font size="+1"><a href="/songs/filename.mp3">Artist - Title</a> </font>from <em>Album (1900)</em> <font size="-1">/genre/</font> )
    or something like that.
    I was thinking of trying to put it above the ‘wordpress bookmarklet’ thingie.

    But I don’t know where to look for this exactly, and then I need to know how to display the code rather than use the code (if you know what I mean).
    Or if anyone has an idea of a better way to do this…

Viewing 1 replies (of 1 total)
  • Thread Starter Skeary

    (@skeary)

    actually.. i just thought it would probably be straightforward to steal the bookmarklet code itself, and just add a link to my bookmarks to start a new post that contains that text..
    but i don’t really know javascript at all, so how would i edit
    javascript:if(navigator.userAgent.indexOf('Safari') >= 0){Q=getSelection();}else{Q=document.selection?document.selection.createRange().text:document.getSelection();}void(window.open('http://slipstream.brokenuniverse.com/wp/wp-admin/bookmarklet.php?text='+encodeURIComponent(Q)+'&popupurl='+encodeURIComponent(location.href)+'&popuptitle='+encodeURIComponent(document.title),'WordPress bookmarklet','scrollbars=yes,width=600,height=460,left=100,top=150,status=yes'));
    so that it would contain the text above instead of a link to the current url, as well as not popping up in a new window (this isn’t really necessary, i just don’t like new windows and prefer tabs immensely)

    can anyone help?

Viewing 1 replies (of 1 total)
  • The topic ‘Editing the ‘Create New Post’?’ is closed to new replies.