by axew3 » Thu Sep 10, 2020 10:31 pm
if i'm not wrong, it change only this into
page-forum-php:
Code: Select all
.w3_wrap_loader{
position:fixed;
top:0%;
bottom:0%;
left:0%;
right:0%;
background: rgba(0,0,0,1);
background-image: url('https://www.axew3.com/w3/wp-content/uploads/axew3text.gif');
background-position: 50% 40%;
background-repeat:no-repeat;
z-index: 99999;
opacity:90;
-webkit-transition: opacity 400ms ease-in;
-moz-transition: opacity 400ms ease-in;
transition: opacity 400ms ease-in;
width:100%;
display:flex;
align-items: center;
text-align:center;
pointer-events: none;
}
and this is the page.forum.php into the template folder twentysixteen here at axew3.com:
In this case you do not have worry about plugin update, because this file will not be updated when plugin update.
While it will be lost when your theme update, because it reside into the template directory.
To avoid this, you should place the page-forum(orWhatYouNamedIt).php, into the wp
child theme folder.
So when template update, it will not be deleted.
If your theme do not have a theme child folder, here is the guide to create your own:
https://developer.wordpress.org/themes/ ... ld-themes/
if i'm not wrong, it change only this into [i]page-forum-php[/i]:
[code].w3_wrap_loader{
position:fixed;
top:0%;
bottom:0%;
left:0%;
right:0%;
background: rgba(0,0,0,1);
background-image: url('https://www.axew3.com/w3/wp-content/uploads/axew3text.gif');
background-position: 50% 40%;
background-repeat:no-repeat;
z-index: 99999;
opacity:90;
-webkit-transition: opacity 400ms ease-in;
-moz-transition: opacity 400ms ease-in;
transition: opacity 400ms ease-in;
width:100%;
display:flex;
align-items: center;
text-align:center;
pointer-events: none;
}[/code]
and this is the page.forum.php into the template folder twentysixteen here at axew3.com:
[attachment=0]page-forum.zip[/attachment]
In this case you do not have worry about plugin update, because this file will not be updated when plugin update.
While it will be lost when your theme update, because it reside into the template directory.
To avoid this, you should place the page-forum(orWhatYouNamedIt).php, into the wp [b]child theme folder[/b].
So when template update, it will not be deleted.
If your theme do not have a theme child folder, here is the guide to create your own:
[url]https://developer.wordpress.org/themes/advanced-topics/child-themes/[/url]