WordPress.org

Support

Support » Plugins and Hacks » Hacks » make a link take the user to external page showing custom field contents

make a link take the user to external page showing custom field contents

  • I’ve been searching for a while now for a modification make a link “in the Single.php” page take the user to external page showing custom field contents which is a “paragraph” keeping the format of the text.

    If any body can help that will be appreciated.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator bcworkz

    @bcworkz

    Your link should include the post ID as an url parameter so the external page knows which field contents to display.

    The external page needs to require_once the wp-load.php file so it can access the database. As long as you output the same classes for text elements as the single.php does, the text will be styled the same way. Of course, the external page will need to output the css link meta for the proper stylesheet as part of the head elements.

    Thank you bcworkz for your help but it didn’t really help me much because I’m not a programmer, can you please point me to the right direction.

    Moderator bcworkz

    @bcworkz

    I’m truly sorry, but I don’t think I’m able to help you. This sort of thing does require some minimal programming. If you had a good tutorial or how-to, you might be able to figure things out. Unfortunately, I don’t know of one. Hopefully someone else can point you to one. Best of luck to you.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘make a link take the user to external page showing custom field contents’ is closed to new replies.
Skip to toolbar