WordPress.org

Ready to get started?Download WordPress

Ideas

Internal links to post and using a list of existing posts and pages

  1. Sarit
    Member

    Website Baker has a neat little feature that would make internal linking (inside one's blog) 10 times easier!
    They have a special Link button in their post editing window that opens a list of existing pages. In order to link to one of them you just need to pick it's name.
    Here's a screenshot: http://i136.photobucket.com/albums/q198/paradox_bucket/wsb.jpg.

    This can save the time of searching for your previous posts WHILE writing a post (opening a second tab for it, looking for it, finding, copying it's URL) and can also prevent the automatic pingback between posts.

    Posted: 7 years ago #
  2. loeffe
    Member

    12345

    I've been scouring the plugins database for EXACTLY this kind of feature, but without luck - so 5 starts from me...

    Posted: 7 years ago #
  3. cezuk
    Member

    12345

    Brilliant idea. I'm sat here trying to work out a way to stop the pingbacks when linking internally, so unless Ive missed something obvious then this sounds like the ideal solution. :)

    Posted: 7 years ago #
  4. tsguitar
    Member

    You can avoid pinging yourself when linking internally by just leaving off the root of your site in the link. Instead of linking to yahoo.com/blog/07/06/this-is-great, just link to /blog/07/06/this-is-great.

    Posted: 7 years ago #
  5. Chris_K
    Member

    Keep in mind that tsguitar's suggestion will "bork" those links in your feed.

    Posted: 7 years ago #
  6. johanronstrom
    Member

    12345

    I've also looked for this exakt thing! Including stopping pingbacks to my own posts. 5 stars!

    Posted: 7 years ago #
  7. harriscampbell
    Member

    12345

    Absolutely a must have! Particularly stopping the pingbacks. But being able to link to your own posts and pages easily will make this much easier to use for my clients (and me!).

    Posted: 7 years ago #
  8. 3stripe
    Member

    12345

    I would love to have this functionality also

    I've actually started work on a plugin called 'AutomagicalPageLinks' that lists all of your static pages in a dropdown menu within the Edit Page area...

    I just need some help with the programming so that when you click a page, a link to it is inserted into the page. Also, it should give you the option to set the text for the link I guess!

    <?php
    /*
    Plugin Name: AutomagicalPageLinks
    Plugin URI: http://www.wp-plugins.net/
    Description: Adds a dropdown below the post area to automagically insert links to any static page on your blog
    Version: 0.2
    Author: 3stripe
    Author URI:  http://www.3stripe.net
    
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation; either version 2 of the License, or
    (at your option) any later version.
    
    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.
    
    You should have received a copy of the GNU General Public License
    along with this program; if not, write to the Free Software
    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
    
    <li id="pages">
     <h2><?php _e('pages:'); ?></h2>
       <form action="<?php bloginfo('url'); ?>" method="get">
       <?php wp_dropdown_pages(); ?>
       <input type="submit" name="submit" value="view" />
       </form>
    </li>
    */
    
    add_action('activate_doculink.php','doculink_activate');
    add_action('deactivate_doculink.php','doculink_deactivate');
    
    function doculink_activate() {
    	//Put in your activation functions
    }
    
    function doculink_deactivate() {
    	//Put in deactivation functions
    }
    
    add_action('edit_form_advanced', 'doculink_add2admin');
    
    //Function that draws the menu
    function doculink_add2admin() {
    	wp_dropdown_pages();
    ?>
    	<script language="JavaScript" type="text/javascript"><!--
    	var placement = document.getElementById("quicktags");
    	var includediv = document.getElementById("doculink");
    	var mozilla = document.getElementById&&!document.all;
    	if(mozilla)
    		 placement.parentNode.appendChild(includediv);
    	else placement.parentElement.appendChild(includediv);
    	//--></script>
    <?php
    }
    ?>
    Posted: 6 years ago #
  9. rb-cohen
    Member

    I've developed a plugin I hope will combat this issue. See more information here: http://wordpress.org/extend/ideas/topic.php?id=379&replies=7#post-3986

    Feedback is most welcome.

    Posted: 6 years ago #
  10. IonicStorm
    Member

    12345

    I would like to have this in the next release. The links could be handled by the db. So even if i change my permalink - all links in my contents are adapted and where still working.

    Posted: 5 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.

  • Rating

    12345
    69 Votes
  • Status

    Duplicate of another idea