version 2.0.9 Custom Fields http link don't work

Discussion in 'GeoCraft WordPress Theme' started by roysv, Dec 19, 2017.

  1. roysv

    roysv New Member

    Joined:
    Dec 19, 2017
    Messages:
    3
    Likes Received:
    0
  2. roysv

    roysv New Member

    Joined:
    Dec 19, 2017
    Messages:
    3
    Likes Received:
    0
    When a customer add a new listing I manage to make it work by change line 201 in
    library/listing-submit/template/preview.php

    PHP:
    if ( isset( $meta['name'] ) && preg_match('/geocraft_website/'$meta['name'])) {  
    // if ( isset( $meta['name'] ) && $meta['name'] == 'geocraft_website' ) {
    By doing this I can add geocraft_website in front of all custom fields HTML variable name
    example:
    geocraft_website_another_link

    I'll add the same changes to email and phone ++


    Roy
    Keep hunting for the other places to change ;)
     
  3. roysv

    roysv New Member

    Joined:
    Dec 19, 2017
    Messages:
    3
    Likes Received:
    0
    Then I think I found the files needed to be edited.

    This two files can be changed with the originals, remember to remove .txt from the end of the filename

    preview.php copies to folder library/listing-submit/template/

    single-listing.php to root folder of the theme /
     

    Attached Files:

  4. akbar92

    akbar92 Support Staff Staff Member

    Joined:
    Jun 3, 2017
    Messages:
    2,318
    Likes Received:
    49
    Sounds pleasant to us.

    I appreciate your work, Keep going.

    Have a nice day :)

    Regards,
    Akbar
    InkThemes.com
     

Share This Page