Question
At present, my image files appear within the following URL structure: www.example.com/wp-content/uploads/year/month/image-file-name.jpg These image files, contain the following Body Tag <body style="margin: 0px; background: #88888;"> I would now like to modify this Body Tag, so that it becomes: <body <?php body_class();?> style="margin: 10px; background: #01010;"> Performing ...
0
, , , , 2 months 0 Answers 35 views

Question
I am trying to use useSelect. I want to test The string pass select is video-store I am actually calling getVideoCollection However I am getting following error. TypeError: useSelect.mockImplementation is not a function I am not sure what I am doing wrong here ? // ...
0
, , 2 months 0 Answers 31 views

Question
I am trying to remove the annoying WP Admin bar css. <style type="text/css" media="screen"> html { margin-top: 32px !important; } * html body { margin-top: 32px !important; } @media screen and ( max-width: 782px ) { html { margin-top: 46px !important; ...
0
, , 3 months 0 Answers 52 views

Question
I have a unique situation. Whenever I visit my site moments after it has crashed, I'm redirected to the install wordpress page. After about a minute, my homepage redirects me to my actual site and everything is fine. I'm worried that ...
0
, , 5 months 0 Answers 88 views

Question
I am looking for a way to create a custom PHP file, where WordPress core is loaded, but only with specific plugins activated. <?php require_once '../../wp-load.php'; // load specific plugins // do something How is this possible?
0
, 5 months 0 Answers 78 views

Question
I have a plugin which uses wp_remote_get() and it's not working on my nginx server so I decided to test this. I created a file called test.php and inserted: <?php $response = wp_remote_get( 'http://www.domain.com/mytest.php' ); print $response ['body']; ?> When I run this ...
0
, , 6 months 0 Answers 99 views