WordPress.org

Ready to get started?Download WordPress

Forums

myCRED
use category id from a custom file template (2 posts)

  1. asmax111
    Member
    Posted 4 months ago #

    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/

  2. Gabriel
    Member
    Plugin Author

    Posted 4 months ago #

    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.

Reply

You must log in to post.

About this Plugin

About this Topic