Ready to get started?Download WordPress


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

  1. asmax111
    Posted 4 months ago #

    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


  2. Gabriel
    Plugin Author

    Posted 4 months ago #


    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.


You must log in to post.

About this Plugin

About this Topic