an
groups-icon

PHP code for a listing's price

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

    What I am trying to do is make a shortcode I can use on various pages.

    This shortcode involves being able to call the price of a listing into the code behind my shortcode in order to be able to modify that price however I see fit.

    I tried using codes like

    $price = get_post_meta($postid = get_the_ID(), ‘price’, true);

    but I get errors for unexpected TVARIABLE (or something like that) .

    January 21, 2017 at 2:36 am
  • Chuck M
    0 points
    Beginner
    Members Only Content

    This reply is for PremiumPress customers only.

    Login Now
    January 21, 2017 at 5:49 am
  • James D
    0 points
    Beginner
    Members Only Content

    This reply is for PremiumPress customers only.

    Login Now
    January 22, 2017 at 1:46 am
  • Chuck M
    0 points
    Beginner
    Members Only Content

    This reply is for PremiumPress customers only.

    Login Now
    January 22, 2017 at 4:16 am
  • James D
    0 points
    Beginner
    Members Only Content

    This reply is for PremiumPress customers only.

    Login Now
    January 22, 2017 at 4:33 am
  • Chuck M
    0 points
    Beginner
    Members Only Content

    This reply is for PremiumPress customers only.

    Login Now
    January 22, 2017 at 4:38 am
  • Chuck M
    0 points
    Beginner
    Members Only Content

    This reply is for PremiumPress customers only.

    Login Now
    January 22, 2017 at 4:53 am
  • James D
    0 points
    Beginner
    Members Only Content

    This reply is for PremiumPress customers only.

    Login Now
    January 22, 2017 at 6:28 am
  • James D
    0 points
    Beginner
    Members Only Content

    This reply is for PremiumPress customers only.

    Login Now
    January 22, 2017 at 6:42 am
  • Chuck M
    0 points
    Beginner
    Members Only Content

    This reply is for PremiumPress customers only.

    Login Now
    January 22, 2017 at 7:53 am
  • Chuck M
    0 points
    Beginner
    Members Only Content

    This reply is for PremiumPress customers only.

    Login Now
    January 22, 2017 at 8:01 am
  • James D
    0 points
    Beginner
    Members Only Content

    This reply is for PremiumPress customers only.

    Login Now
    January 22, 2017 at 9:00 am
  • Chuck M
    0 points
    Beginner
    Members Only Content

    This reply is for PremiumPress customers only.

    Login Now
    January 22, 2017 at 11:02 am
  • Chuck M
    0 points
    Beginner
    Members Only Content

    This reply is for PremiumPress customers only.

    Login Now
    January 24, 2017 at 5:54 pm
  • James D
    0 points
    Beginner
    Members Only Content

    This reply is for PremiumPress customers only.

    Login Now
    January 24, 2017 at 6:48 pm

534

Views

15

Replies