ezeewp
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Malicious Code in a Theme?OK start with the real basics access your admin panel and go to appearence, You should see a link for Editor. This will allow you to edit the pages on your site. You need to open header.php see if the code is there – in your source code it is on this page – if it is you can delete it.
delete this `<div id=”wraps”>pharmacy</div>
<script language=”javascript”>
var wt = ‘get’+’Element’
var stl = ‘st’+’yle’;
var _0xd22c=[“function seeThat(elem) { eval(x22elem.x22+stl+x22.display=x27blockx27;x22); }”];
_0xd22c[0x0] = _0xd22c[0x0].replace(/block/i,”none”);
eval(_0xd22c[0x0]);
</script>
<script>
var str = ‘seeThat(document.getElementById(“link”));’;
eval(str.replace(/link/i,’wraps’));
</script>
`
That should at least get rid of it even in the short time – that might allow you/give you a bit more time to look at the other files – don’t forget it may not be something that is a direct result of your site it could be something to do with your hosts, but look at your site first.Hope helps
Forum: Fixing WordPress
In reply to: View last edited instead of published date in dashboard for postsHi Sophia
Sorry, just came across this anyhow this code will tell you the last time a post was modified – sorry not category – but it is a standard WP function – no need to change the published date i.e. the_time()
<?php the_modified_time('jS F Y') ?>With this it would not be too difficult to write a small back end function that lists the categories & posts that need updating. If you need any help with this just shout.