Viewing 4 replies - 1 through 4 (of 4 total)
  • Do you need a plugin for this? How about a custom field with the URL, and a little tweaking with the following:

    <h2 id="post-<?php the_ID(); ?>"><a href="<?php // PUT CODE HERE TO GET CUSTOM META DATA ?>" rel="bookmark" title="Permanent lenke til <?php the_title();?>"><?php the_title(); ?></a></h2>

    The text in caps should be replaced, but I don’t know the_meta() well enough. Anyone?

    This article may help flesh out dnusim’s idea: Using_Custom_Fields

    When you get down to the nitty-gritty part of that article, the sub-section under Advanced called “Getting Custom Fields”…

    that part can be done more easily (IMO) by a plugin called Get Custom Fields.
    https://www.coffee2code.com/wp-plugins/#getcustom
    With this, you just put the plugin code (tailored to the particular field you want to call, maybe something you’d call the “External Link” field with the value being a URL) where dnusim put the ALL CAPS.

    Thread Starter artfiend

    (@artfiend)

    This looks fantastic! Thanks everyone.

    I will have such happy clients. I sold them on something that I knew could be done, but was not 100% on how to do it.

    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘post title to an external url/blog’ is closed to new replies.