WordPress.org

Ready to get started?Download WordPress

Forums

make a link take the user to external page showing custom field contents (4 posts)

  1. dig_dug
    Member
    Posted 1 year ago #

    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.

  2. bcworkz
    Member
    Posted 1 year ago #

    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.

  3. dig_dug
    Member
    Posted 1 year ago #

    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.

  4. bcworkz
    Member
    Posted 1 year ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic