I have a custom dashboard plugin with one of the sections containing useful links. One of them should directly point to the documentation that comes with a template. This documentation is in the theme directory. Now I've tried different ways to get the path using for example:
<?php get_theme_root_uri(); ?>/mytheme/documentation/index.html
or
<?php get_template_directory_uri() ?>/documentation/index.html
but it outputs a URL to the homepage (http://127.0.0.1/documentation/index.html
) instead of full path to this file. Any advice?
echo
that? – tfrommen Jan 23 '14 at 9:42