This topic contains 3 replies, has 2 voices, and was last updated by  Hans (Support Admin) 1 week, 4 days ago.

Dynamic stat from database

  • How to change stats number with dynamic content using php code (load count number from databse)

    which file i must edit/add?

    Hello,

    Can you be more specific? I am not quite sure what you mean.

    If you are referring to the Stats section the file is stats.php located in the sections folder of the theme.

    Yes, i want “number” value, load from my php code (php echo $mynumber) , not static value. how to do that?

    Hello,

    Yes, in that case you will need to code that directly into the stats.php file.

    Currently the Stats section uses Widgets which accept static numbers.

    You will need to customize and code that into the stats.php file.

    You will need to have knowledge of PHP coding in order to do that.

    I hope that answers your question.

Tagged: 

You must be logged in to reply to this topic.