an
groups-icon

Add booking button and display a custom field (BTN shortcode?)

Wait a minute... This content is very very old. We no longer sell or support this theme version. New Topics
  • Version 9
    Dan Anderson
    1 points
    Beginner

    Hi there,

    I just purchased the Directory theme. So far, I like it very much and I would like to customize it now. I have very limited coding knowledge and hope someone can help me out. Here’s what I would like to do:

    1) I want to add a “Book Now” button to the listing page that takes the user to an affiliate website. I want the button to look like the other buttons used in the theme. I saw that there is a BTN shortcode but could not find any documentation regarding syntax whatsoever. I need the link of that button to be dynamic, and I was thinking of doing this by adding the required link to the individual listings as a custom field and then somehow referring to that in the BTN shortcode. But I have no idea how to do this…

    2) I want the address of the listing stored in the custom field “map-address1” to be displayed underneath the title on the listings page. I’m not sure how to do this – using the FIELDS shortcode gives me a table-like output with both the key and the value, but I want to only display the value as regular text.

    Many thanks for your help!

    Dan

    December 11, 2014 at 5:00 am
  • Josh njenga
    -13 points
    Beginner
    Members Only Content

    This reply is for PremiumPress customers only.

    Login Now
    December 11, 2014 at 6:22 am
  • Dan Anderson
    1 points
    Beginner
    Members Only Content

    This reply is for PremiumPress customers only.

    Login Now
    December 11, 2014 at 6:27 am
  • Mr Jake
    0 points
    Beginner
    Members Only Content

    This reply is for PremiumPress customers only.

    Login Now
    December 11, 2014 at 4:22 pm
  • Dan Anderson
    1 points
    Beginner
    Members Only Content

    This reply is for PremiumPress customers only.

    Login Now
    December 17, 2014 at 4:10 am
  • Dan Anderson
    1 points
    Beginner
    Members Only Content

    This reply is for PremiumPress customers only.

    Login Now
    January 6, 2015 at 6:45 am
  • Dan Anderson
    1 points
    Beginner
    Members Only Content

    This reply is for PremiumPress customers only.

    Login Now
    January 6, 2015 at 6:54 am

516

Views

6

Replies