Home Forums Plugin Support WP User Frontend Pro Open Custom Fields URL in New Window

This topic is: resolved

This topic contains 4 replies, has 2 voices, and was last updated by  Sekander Badsha 4 years, 8 months ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #26011

    Gustavo
    Member
    Post count: 3

    I created a form that the user can put your URL, but when the URL appears on the site, clicking it opens the same page. How do I get the URL (custom fields) open in a new window?

    #26078

    Sekander Badsha
    Member
    Post count: 2067

    Hello Gustavo,
    You have to modify your theme files a bit for that.
    The easiest way would be using JavaScript. Or you can echo the data by using the meta_key in your page template.

    #26090

    Gustavo
    Member
    Post count: 3

    I managed to get in a different way than I was trying.

    “>

    #26834

    Gustavo
    Member
    Post count: 3

    Sekander Badsha , Which file do I change? I've searched and not found.

    #26877

    Sekander Badsha
    Member
    Post count: 2067

    Hello Gustavo,
    If you want to change the link behavior, you have to turn off “show custom fields” from “User Frontend > Settings > General” and echo the get_post_meta in your themes single.php

Viewing 5 posts - 1 through 5 (of 5 total)

The topic ‘Open Custom Fields URL in New Window’ is closed to new replies.