WordPress.org

Ready to get started?Download WordPress

Forums

How To Put Quicktags in the Bookmarklet (8 posts)

  1. Anonymous
    Unregistered
    Posted 10 years ago #

    Hey all,
    I want to have the quicktags in the Press It popup bookmarklet page. Is there an
    easy way to pull this off for a codeless newbie?
    Metalious

  2. Anonymous
    Unregistered
    Posted 10 years ago #

    Nevermind. I figured out a way to do it.

  3. Anonymous
    Unregistered
    Posted 10 years ago #

    Oops.
    Actually, I didn't figure it out.
    I tried changing this in bookmarklet.php:
    <?php require('edit-form.php'); ?>
    to this:
    <?php require('edit-form-advanced.php'); ?>
    It gave me the correct popup window but upon posting I got a screen full of errors.
    Any ideas?

  4. Kevin
    Member
    Posted 9 years ago #

    I'm also interested in having quick tags in the bookmarklet popup.
    Any ideas on how to accomplish this? Or even create a bookmarklet that takes one straight to the new entry page with all the other admin tabs available also?

  5. Anonymous
    Unregistered
    Posted 9 years ago #

    I just got this to work.
    Go to wp-admin/edit-form.php
    Change this (at line 69 in the current version):
    <?php
    if ('bookmarklet' != $mode) {
    echo '' . __('Quicktags') . ': ';
    include('quicktags.php');
    }
    ?>

    To this:
    <?php
    {
    echo '' . __('Quicktags') . ': ';
    include('quicktags.php');
    }
    ?>

  6. CarLBanks
    Member
    Posted 9 years ago #

    Thanks for this modification! It works wonderfully.

  7. notsewmit
    Member
    Posted 9 years ago #

    I tried making the modification and it didn't work for me. Is the only change the removal of the if() {} around the echo and include, or is there something more I need to do?
    Thanks!

  8. canbebesi
    Member
    Posted 9 years ago #

    I found the easiest method is to change the link that points to edit-form into edit-form-advanced
    it also displays all the other stuff but hey it was easy..
    open bookmarklet.php
    find:
    <?php require('edit-form.php'); ?>

    replace with
    <?php require('edit-form-advanced.php'); ?>

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.