• Resolved slideaway

    (@modsuperstar)


    Maybe something is flying right over my head on this one, but I can’t figure out how to get the templates to apply. I currently am using the Autohook of the_content function to display my data by simply having [cft key=Options] [cft key=Prices] in the content area there.

    It outputs the items as list items, but I haven’t been able to figure out how or where I need to define which template to use. I tried adding [cft template=1] to the Autohook of the_content, but that didn’t work. I don’t know PHP, so I’m kind of at a loss for how to get the template to apply to my output. Little help please?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter slideaway

    (@modsuperstar)

    I realized I’m using the wrong vocabulary here. What I need is to get the format to apply to my values. I can’t seem to get the format template to apply to my stuff through the_content Autohook. I’m putting [cft key=Prices format=0] into the_content box in the settings and not getting any result.

    Thread Starter slideaway

    (@modsuperstar)

    Okay, figured it out. Just needed to put [cft format=0] in the_content autohook to get it to work. I had tried that previously, but for some reason the plugin stopped outputting any data, so I had to restore it back to default and try again. Don’t know what would have caused it to stop functioning though.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Custom Field Template] How to get templates working’ is closed to new replies.