• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Display XF version on external page

LPH

Well-known member
#1
I'm trying to figure out the best way to display the currently installed XenForo installed on a website. The php page is for diagnostics / troubleshooting a WordPress plugin.

I tried the following but nothing is returned for XF.

Code:
  echo "The installed version of XenForo is" ;
   global $XF;
   echo $version ;

   echo "<br />The installed version of WordPress: ";
   echo bloginfo('version');
Thank you for any guidance.