Forum Replies Created
-
AuthorPosts
-
Thank you … this solved my issue.
But I wonder why it includes all inline JS including Admin files …
And regarding minifying the JS/CSS files I would recommend having an option for a plugin called Autoptimize which in my optinion is the safest and the best plugin which is made for wordpress optimization and if you include an option to support this plugin as an integration you would not be worry about minification and instead you can focus on other parts.
Anyways .. your plugin is great and keep on the great work.
Good luck
This reply has been marked as private.Dear Hassan,
Really appreciate your help.
I believe this is either WHMCS’s issue -OR- having a separate hosting account for my subdomain.
This is really sad that it is not possible for me to use HMWP on my billing system.
Please keep me updated if you found some way to solve it.
Good luck.
خدانگهدار
This reply has been marked as private.This reply has been marked as private.This reply has been marked as private.This reply has been marked as private.This reply has been marked as private.You mean this code?
define('WP_USE_THEMES', FALSE); require('wp-load.php'); echo 'http://127.0.0.1/wp39/wp-content/uploads/2016/02/CY5iXfzUAAA0Ucj-70x70.jpg';
I tested it and it does not work.
(I replaced my WP details with yours of course)
What I need is to have header and footer of my WP in all WHMCS pages.
I searched a lot and I believe this is the only way to have this in regard of WHMCS.
And actually this is the article which I used to do this :
https://squidix.com/library/how-to-include-wordpress-header-footer-in-whmcs/- This reply was modified 7 years, 11 months ago by alichakery.
Thank you for your reply dear Hassan,
First please note that This is not a simple HTML page, this is WHMCS and I should write codes based on smarty directives in their templates.
Regarding your suggestions :
– It is already Full Page replacement.
– Using : require(‘wp-blog-header.php’); –> It just did not work. It returns with blankpage..
– As I mentioned this .tpl files of WHMCS which are based on smarty. And below is the code which actually I am using :
{php} define('WP_USE_THEMES', FALSE); require('/var/www/vhosts/domain.com/webspace/wp-load.php'); {/php} {php} get_header(); {/php}
– And finally I do not use any caching plugins.
I would really appreciate your help.
Its now 7 days … and still no answer !!!!
Any solutions ? !!!!
Any updates ?
This reply has been marked as private.This reply has been marked as private. -
AuthorPosts