Support » Plugin: myCRED » use category id from a custom file template

  • Hello
    First, thank you for your incredible and very helpfull plugin.
    My question is: Can i use the variable %cat_id% from a custom file template?
    I’ve already added this sentence to my “models.php”:
    ‘cat_id’ => __(‘The category ID’, WPFB),
    ==> the result is that i have the variable in the list of variables to use, but it is always null!!
    can you help me? ^^
    Thank you

    https://wordpress.org/plugins/mycred/

Viewing 1 replies (of 1 total)
  • Plugin Author Gabriel

    (@designbymerovingi)

    Hi.

    You can add custom template tags in myCRED for log entries but in order to do so, you would need to know which log entires will contain this tag along with where in the log entry you can find the information that this tag replaces.

    If you can give me some information on where you use this tag, i.e. what hook log entry this is used in, I can be of better assistance.

Viewing 1 replies (of 1 total)
  • The topic ‘use category id from a custom file template’ is closed to new replies.