Include Path from Theme Folder

If you can’t use an absolute url to an include file due to server configuration you can use the ABSPATH WordPress constant:

If ABSPATH is not defined you can use this:

Leave a Reply

Your email address will not be published. Required fields are marked *